Function at 0x43c530
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4942c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x80]
xor ebp, ebp
cmp dword [ebx + 0x18], 8
mov esi, vtable.ScopedLMKey.0
lea eax, [ebx + 4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], eax
jb 0x43c57c
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0xf013f
push ebp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
je 0x43c59f
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x43c5a3
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [esp + 0x78], ebp
je 0x43c5e4
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x3c]
push ecx
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebp
je 0x43c5fa
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov dword [esp + 0x24], esi
je 0x43c5e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov edi, dword [esp + 0x1c]
add edi, 1
xor esi, esi
cmp edi, ebp
mov dword [esp + 0x2c], vtable.dxtl::MemoryBuffer_unsigned_short_int_.0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
je 0x43c659
cmp edi, ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jbe 0x43c659
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046fb9a
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x30], esi
je 0x43c657
lea eax, [edi + edi]
push eax
push 0
push esi
call fcn.00471300
add esp, 0xc
xor ebp, ebp
mov edi, dword [esp + 0x84]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x20], 0
jbe 0x43c733
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
push esi
push ebp
push eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43c726
push 0x4a2d84
lea ecx, [esp + 0x58]
push ebx
push ecx
call fcn.00412a73
add esp, 0xc
push esi
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x84], 2
call fcn.00412a73
add esp, 0xc
push edi
push eax
mov byte [esp + 0x80], 3
call fcn.0043c530
add esp, 8
test al, al
sete bl
cmp dword [esp + 0x50], 8
jb 0x43c6ef
mov eax, dword [esp + 0x3c]
push eax
call fcn.004708c5
add esp, 4
xor eax, eax
mov byte [esp + 0x78], 1
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
jb 0x43c71b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004708c5
add esp, 4
test bl, bl
jne 0x43c751
mov ebx, dword [esp + 0x80]
add ebp, 1
cmp ebp, dword [esp + 0x20]
jb 0x43c670
test edi, edi
jne 0x43c7a8
cmp dword [ebx + 0x18], 8
jb 0x43c796
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x43c7c3
cmp dword [esp + 0x34], 0
je 0x43c765
test esi, esi
je 0x43c765
push esi
call fcn.00470b5f
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x24], vtable.ScopedLMKey.0
je 0x43c5e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [esp + 0x18]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x43c7c3
cmp dword [ebx + 0x18], 8
mov eax, dword [esp + 0x18]
jb 0x43c7b4
mov eax, dword [eax]
push 0
push 0x100
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
sete bl
cmp dword [esp + 0x34], 0
je 0x43c7dc
test esi, esi
je 0x43c7dc
push esi
call fcn.00470b5f
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x24], vtable.ScopedLMKey.0
je 0x43c7f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret