Function at 0x43c3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b210
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 edi, ecx
push str.IsWow64Process
xor ebx, ebx
push str.kernel32
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x43c41d
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [ebp - 0x20]
mov eax, dword [edi]
neg esi
sbb esi, esi
sub eax, 0x10
and esi, 0xffffff00
push eax
add esi, 0x200
call fcn.004052f0
add eax, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], ebx
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004052f0
lea edi, [eax + 0x10]
add esp, 8
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], SysReAllocStringLen
cmp dword [edi - 0xc], ebx
jl 0x43c503
push str.HKEY_LOCAL_MACHINE
push edi
call fcn.005500f6
add esp, 8
cmp eax, ebx
je 0x43c48e
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jle 0x43c48e
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
cmp dword [edi - 0xc], ebx
jl 0x43c503
push str.HKEY_USERS
push edi
call fcn.005500f6
add esp, 8
cmp eax, ebx
je 0x43c4b5
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x43c4b5
mov dword [ebp - 0x18], SysReAllocStringLen
cmp dword [edi - 0xc], ebx
jl 0x43c503
push str.HKEY_CURRENT_CONFIG
push edi
call fcn.005500f6
add esp, 8
cmp eax, ebx
je 0x43c4dc
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x43c4dc
mov dword [ebp - 0x18], VariantCopyInd
cmp dword [edi - 0xc], ebx
jl 0x43c503
push str.HKEY_CLASSES_ROOT
push edi
call fcn.005500f6
add esp, 8
cmp eax, ebx
je 0x43c503
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x43c503
mov dword [ebp - 0x18], SysReAllocStringLen
push 0x5af97c
push 0x5b3d28
lea ecx, [ebp - 0x14]
call fcn.00404a70
push 0x5af97c
push 0x5b28c8
lea ecx, [ebp - 0x14]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_CURRENT_USER_
lea ecx, [ebp - 0x14]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x14]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_USERS_
lea ecx, [ebp - 0x14]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_CURRENT_CONFIG_
lea ecx, [ebp - 0x14]
call fcn.00404a70
push 0x5afbc8
push str.HKEY_CLASSES_ROOT_
lea ecx, [ebp - 0x14]
call fcn.00404a70
mov ebx, dword [ebp - 0x14]
push 0x5c
push ebx
call fcn.005506bc
add esp, 8
test eax, eax
jne 0x43c598
or edi, 0xffffffff
jmp 0x43c59e
sub eax, ebx
sar eax, 1
mov edi, eax
mov eax, dword [ebx - 0xc]
sub eax, edi
dec eax
push eax
lea ecx, [edi + 1]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.00404fa0
push edi
xor edi, edi
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404fa0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx - 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
push ecx
call edi
test eax, eax
jne 0x43c5ef
call fcn.00402290
mov ecx, dword [ebp - 0x18]
or esi, 0x20019
push esi
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], esi
call fcn.0041cb00
test eax, eax
jne 0x43c789
call fcn.00469967
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43c628
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call edi
test eax, eax
jne 0x43c64e
call fcn.00402290
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d50
lea ecx, [ebp - 0x1c]
push ecx
xor edi, edi
push edi
lea edx, [ebp - 0x34]
push edx
mov bl, 6
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
push edi
push eax
push ecx
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x43c72c
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
test edx, edx
jns 0x43c69c
push 0x80070057
call fcn.00401090
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x43c6b9
push edx
lea ecx, [ebp - 0x24]
call fcn.00402230
mov esi, dword [ebp - 0x24]
push edi
lea edx, [ebp - 0x48]
push edx
lea edi, [ebp - 0x1c]
call fcn.0041cbb0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0054fe3a
add esp, 8
test eax, eax
js 0x43c692
cmp eax, dword [esi - 8]
jg 0x43c692
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [esi - 0x10]
push eax
call fcn.004052f0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 7
call fcn.00405080
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0xd], 1
xor edi, edi
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x43c73d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 0x44], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx - 0xc]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x43c79d
call fcn.00402290
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push ecx
push esi
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c7b7
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x43c7c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
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 0x43c7e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
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 0x43c80b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c82b
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 - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4