Function at 0x43c9f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ca60
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5e9db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00434070
xor edi, edi
push str.IsWow64Process
mov dword [ebp - 4], edi
push str.kernel32
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x43ca55
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
neg esi
sbb esi, esi
sub eax, 0x10
and esi, 0xffffff00
push eax
add esi, 0x200
call fcn.004052f0
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
lea eax, [edi - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.004052f0
add eax, 0x10
add esp, 8
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x14], SysReAllocStringLen
test eax, eax
js 0x43cac6
push str.HKEY_LOCAL_MACHINE
push edi
call fcn.005500f6
add esp, 8
test eax, eax
je 0x43cac6
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jle 0x43cac6
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
push 0x5af97c
push 0x5b3d28
lea ecx, [ebp + 8]
call fcn.00404a70
push 0x5af97c
push 0x5b28c8
lea ecx, [ebp + 8]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_CURRENT_USER_
lea ecx, [ebp + 8]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp + 8]
call fcn.00404a70
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
mov eax, dword [edi - 0xc]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x43cb34
call fcn.00402290
mov edx, dword [ebp - 0x14]
mov ecx, esi
or ecx, 0x2001f
push ecx
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cb00
test eax, eax
je 0x43cdc6
mov eax, dword [edi - 0xc]
push eax
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
call edi
test eax, eax
jne 0x43cb68
call fcn.00402290
push 0
push 0
or esi, 0xf003f
push esi
push 0
push 0
push eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043c280
test eax, eax
je 0x43cdcc
push str._value:
lea ecx, [ebp - 0x34]
call fcn.00401d50
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00401d50
mov edi, eax
push str.Error_adding_registry_entry._the_location_does_not_exist._Location:
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00401d50
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 6
call fcn.0041ba90
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 7
call fcn.0041ba90
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 8
call fcn.0041ba90
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.0041ba90
push ebx
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 0xa
call fcn.0041ba90
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.00434750
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43cc41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cc64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cc87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ccaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cccd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ccf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43cd44
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cdb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call edi
mov esi, eax
test esi, esi
jne 0x43cde0
call fcn.00402290
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call edi
mov edi, eax
test edi, edi
jne 0x43cdf7
call fcn.00402290
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x40]
push edx
push esi
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str._value:
lea ecx, [ebp - 0x14]
test eax, eax
je 0x43cfcc
call fcn.00401d50
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00401d50
mov edi, eax
push str.Error_adding_registry_entry._Location:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00401d50
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0xe
call fcn.0041ba90
push edi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xf
call fcn.0041ba90
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x10
call fcn.0041ba90
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x11
call fcn.0041ba90
push ebx
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0x12
call fcn.0041ba90
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.00434750
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ced0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cef3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cfa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cfc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor bl, bl
jmp 0x43d170
call fcn.00401d50
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x14
call fcn.00401d50
mov edi, eax
push str.____Added_registry_entry._Location:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00401d50
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0x16
call fcn.0041ba90
push edi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x17
call fcn.0041ba90
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x18
call fcn.0041ba90
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x19
call fcn.0041ba90
push ebx
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0x1a
call fcn.0041ba90
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0x1b
call fcn.00434750
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43d079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d09c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d0bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d0e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d105
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d128
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d14b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d16e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43d17e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d1a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d1c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d1ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8