Function at 0x43cdc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46056b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043d0a0
add esp, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x234]
push ecx
push 9
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x43ce42
xor eax, eax
jmp 0x43d07f
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x24c], 4
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 4
push 0
push 0
lea ecx, [ebp - 0x244]
push ecx
push 0
lea edx, [ebp - 0x248]
push edx
push 0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x240]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x43ced7
cmp dword [ebp - 0x234], 0
je 0x43ced0
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
xor eax, eax
jmp 0x43d07f
mov dword [ebp - 0x23c], 0
jmp 0x43cef2
mov ecx, dword [ebp - 0x23c]
add ecx, 1
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x240]
add edx, 5
cmp dword [ebp - 0x23c], edx
jae 0x43d05a
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x250], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x43cf98
cmp dword [ebp - 0x238], 0x103
jne 0x43cf71
jmp 0x43d05a
cmp dword [ebp - 0x234], 0
je 0x43cf91
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
xor eax, eax
jmp 0x43d07f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405bb0
mov dword [ebp - 4], 0
push 0x46838c
lea ecx, [ebp - 0x230]
call fcn.0040a120
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040a120
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405b40
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043cdc0
add esp, 0x10
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x43d043
cmp dword [ebp - 0x234], 0
je 0x43d01f
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00405b50
mov eax, dword [ebp - 0x258]
jmp 0x43d07f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00405b50
jmp 0x43cee3
cmp dword [ebp - 0x234], 0
je 0x43d07a
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret