Function at 0x43c996
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov word [eax*2 + 0x402408], 0x5c
inc eax
lea eax, [eax*2 + 0x402408]
mov edi, 0x104
push edi
push eax
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
mov dword [0x4021e4], eax
je 0x43cc35
push esi
mov esi, 0x4021f0
cmp eax, ebx
jne 0x43cc21
push 0x439600
push 0x402408
call fcn.0043d4af
test eax, eax
pop ecx
pop ecx
jne 0x43cbfc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x28]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
mov dword [0x4021e4], eax
jne 0x43cbdf
lea eax, [ebp - 0x2c]
push 0x43ef95
push eax
call fcn.004442f1
push ebx
push 0x402408
mov dword [ebp - 4], ebx
mov dword [ebp + 0xc], 0x1000
mov dword [ebp - 0x24], edi
call fcn.0043c258
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
push eax
mov edi, 0x4011e0
push edi
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x14], ebx
push ebx
jmp 0x43cb25
mov eax, dword [ebp + 0xc]
cmp eax, 2
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
jb 0x43ca8d
cmp byte [eax + 0x4011df], bl
jne 0x43ca8d
cmp byte [eax + 0x4011de], bl
jne 0x43ca8d
dec eax
dec eax
mov byte [eax + 0x4011e0], bl
mov byte [eax + 0x4011e1], bl
inc eax
inc eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0043c6ec
push esi
mov dword [ebp - 0x20], eax
call fcn.004475da
add esp, 0xc
test eax, eax
je 0x43cae2
push dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x20]
call fcn.0043cecd
pop ecx
pop ecx
push eax
push 0xffffffffffffffff
push esi
call fcn.00444baf
pop ecx
pop ecx
push eax
call fcn.0043c203
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x43caf3
push ebx
push dword [ebp - 0x20]
call fcn.0043cecd
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
cmp dword [ebp - 0x10], ebx
je 0x43cb10
push ebx
push dword [ebp - 0x10]
call fcn.0043cecd
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
call fcn.004460f4
add esp, 0x10
inc dword [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43ca69
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], ebx
jne 0x43cb46
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 4], ebx
je 0x43cbae
xor ecx, ecx
cmp dword [0x4021e8], ebx
sete cl
inc ecx
push ecx
push eax
call fcn.0043c302
cmp dword [0x4021e8], ebx
pop ecx
pop ecx
mov dword [ebp - 8], eax
je 0x43cba7
lea eax, [ebp - 8]
push eax
call fcn.00445029
push dword [ebp - 8]
call fcn.004475da
push ebx
push 2
push 2
mov edi, eax
push 0x4395f8
push edi
lea eax, [ebp - 8]
push edi
push eax
call fcn.00444a1c
lea edi, [edi + edi + 4]
push edi
push edi
push dword [ebp - 8]
push dword [0x4021e8]
call fcn.00446570
add esp, 0x34
jmp 0x43cbae
push eax
call fcn.00447815
pop ecx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
call fcn.00444351
push 0x402408
call fcn.004475da
push eax
push dword [ebp - 0xc]
call fcn.0043c996
add esp, 0x18
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x104
jmp 0x43cbfc
cmp eax, 2
je 0x43cbfc
push eax
push 0x402408
push 0x4395d0
push 0x408b20
call fcn.004475f0
add esp, 0x10
inc dword [ebp - 0x1c]
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
mov dword [0x4021e4], eax
jne 0x43c9e2
jmp 0x43cc34
push eax
push 0x4395a8
push 0x408b20
call fcn.004475f0
add esp, 0xc
pop esi
pop edi
pop ebx
leave
ret