Function at 0x43f1f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4929d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.0043a063
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov esi, dword [ebp + 8]
call fcn.0043ee30
test al, al
je 0x43f412
mov eax, dword [esi + 0x40]
add eax, 0xffffffff
cmp eax, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
ja case.default.0x43f26d
movzx edx, byte [eax + 0x43f554]
jmp dword [edx*4 + 0x43f54c]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x18], eax
jmp 0x43f28a
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x18], ecx
jmp 0x43f28a
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x43f412
mov esi, dword [esp + 0x10]
add esi, 1
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x20], vtable.dxtl::MemoryBuffer_unsigned_short_int_.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
je 0x43f30c
cmp esi, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
jbe 0x43f30c
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046fb9a
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], edi
je 0x43f30c
lea eax, [esi + esi]
push eax
push ebx
push edi
call fcn.00471300
add esp, 0xc
xor eax, eax
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
jbe 0x43f3aa
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
push edi
push eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x43f395
push edi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.0047137a
add esp, 4
mov ecx, edi
lea esi, [esp + 0x38]
call fcn.00404a96
mov eax, dword [ebp + 0xc]
mov ecx, esi
push ecx
lea edx, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x6c], 1
call fcn.0043fae0
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], 8
jb 0x43f395
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004708c5
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jb 0x43f320
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
add eax, 0xffffffff
cmp eax, 8
ja case.0x43f3c3.0
movzx edx, byte [eax + 0x43f568]
jmp dword [edx*4 + 0x43f560]
mov eax, dword [ecx + 0x4c]
cmp eax, ebx
mov dword [esp + 0x18], eax
je case.0x43f3c3.0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x43f429
cmp dword [esp + 0x28], ebx
je 0x43f412
cmp edi, ebx
je 0x43f412
push edi
call fcn.00470b5f
add esp, 4
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x10]
add esi, 1
cmp dword [esp + 0x28], esi
je 0x43f472
cmp edi, ebx
je 0x43f443
push edi
call fcn.00470b5f
add esp, 4
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
jbe 0x43f488
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046fb9a
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp edi, ebx
je 0x43f488
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax]
push ecx
push ebx
push edi
call fcn.00471300
add esp, 0xc
xor eax, eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
jbe case.0x43f3c3.0
mov edx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x30]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x43f50d
push edi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.0047137a
add esp, 4
mov ecx, edi
lea esi, [esp + 0x38]
call fcn.00404a96
mov edx, dword [ebp + 0xc]
mov eax, esi
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x6c], 2
call fcn.0043fae0
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], 8
jb 0x43f50d
mov eax, dword [esp + 0x3c]
push eax
call fcn.004708c5
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jb 0x43f498
cmp dword [esp + 0x28], ebx
je 0x43f535
cmp edi, ebx
je 0x43f535
push edi
call fcn.00470b5f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8