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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc34
mov eax, dword [ebp + 0x20]
push ebx
push esi
push edi
mov dword [esp + 0x28], eax
mov edi, ecx
mov eax, dword [ebp + 0x24]
push 0x3ff
push dword [ebp + 0x28]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x83c], 0
mov byte [esp + 0x43c], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x43b], 0
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cbd7
sub ecx, edx
je 0x43cbed
cmp byte [esp + ecx + 0x2f], 0x5c
jne 0x43cbed
mov byte [esp + ecx + 0x2f], al
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x4c8024]
mov eax, dword [eax + 0xb0]
or eax, 9
push eax
push 0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43cffc
push eax
push eax
push eax
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x43cff2
mov eax, dword [esp + 0x1c]
mov ebx, dword [0x4c8024]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
test eax, eax
je 0x43cdd0
cmp ecx, 2
je 0x43cdd0
mov dword [esp + 0x834], 0
mov dword [esp + 0x838], 0
push 0
push 0
lea ecx, [esp + 0x838]
mov dword [esp + 0x20], 0x400
push ecx
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x440], 0
push ecx
lea ecx, [esp + 0x444]
dec eax
push ecx
push eax
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x43cdc1
lea eax, [esp + 0x28]
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x77
je 0x43cd13
lea eax, [esp + 0x10]
push eax
push esi
push 3
call fcn.004345d0
mov edx, dword [esp + 0x10]
mov esi, eax
test edx, edx
je 0x43cd32
cmp esi, 6
jne 0x43ce71
cmp edx, edi
je 0x43cd3c
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov esi, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x10]
push eax
push esi
push 2
call fcn.004345d0
mov ecx, dword [edi + 0x14]
mov esi, eax
mov edx, dword [esp + 0x10]
cmp edx, ecx
je 0x43cd10
jmp 0x43cce0
cmp esi, 1
je 0x43cd3c
cmp esi, 6
jne 0x43ccf6
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43cdb6
mov eax, dword [0x4c8024]
mov dword [0x4ccbd4], esi
cmp byte [eax + 0xd9], 0
je 0x43cd88
mov eax, dword [0x4cb244]
mov dword [eax*4 + 0x4cb888], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4cb244]
mov dword [ecx*4 + 0x4cb248], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4cb244], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00474fa0
mov esi, eax
cmp esi, 1
jne 0x43ccf6
mov ecx, dword [0x4cbf20]
lea esi, [eax + 4]
call fcn.00468360
test eax, eax
jne 0x43ccf6
add dword [ebx + 8], 1
mov esi, dword [ebp + 8]
adc dword [ebx + 0xc], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43cc7b
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43cff2
cmp ecx, 1
jne 0x43cdeb
cmp byte [ebp + 0x1c], 0
je 0x43cff2
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x830], 0xfffffffe
lea ecx, [esp + 0x834]
mov dword [esp + 0x18], 0x400
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x28]
dec eax
push ecx
lea ecx, [esp + 0x444]
mov dword [esp + 0x28], eax
push ecx
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43cfe6
cmp dword [ebp + 0x18], 1
je 0x43cf67
lea eax, [esp + 0x28]
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x77
jne 0x43ce94
nop dword [eax]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [ebp + 8]
push 2
call fcn.004345d0
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ecx
je 0x43ce50
jmp 0x43cea9
cmp edx, edi
jne 0x43ccf1
mov eax, dword [ebp + 0xc]
push dword [esp + 0xc]
mov byte [eax], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea eax, [esp + 0x10]
push eax
push dword [ebp + 8]
push 3
call fcn.004345d0
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ced4
cmp esi, 6
jne 0x43d00a
cmp eax, edi
je 0x43cee2
mov ecx, dword [ebp + 0x10]
push dword [esp + 0xc]
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp esi, 1
je 0x43cee2
cmp esi, 6
jne 0x43ccf6
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43cf5c
mov eax, dword [0x4c8024]
mov dword [0x4ccbd4], esi
cmp byte [eax + 0xd9], 0
je 0x43cf2e
mov eax, dword [0x4cb244]
mov dword [eax*4 + 0x4cb888], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4cb244]
mov dword [ecx*4 + 0x4cb248], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4cb244], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00474fa0
mov esi, eax
cmp esi, 1
jne 0x43ccf6
mov ecx, dword [0x4cbf20]
lea esi, [eax + 4]
call fcn.00468360
test eax, eax
jne 0x43ccf6
add dword [ebx + 8], 1
mov esi, dword [ebp + 0x14]
adc dword [ebx + 0xc], 0
cmp byte [ebp + 0x1c], 0
je 0x43cfe6
cmp byte [esp + 0x30], 0
lea eax, [esp + 0x430]
push eax
mov ecx, 0x4b6ba9
mov eax, 0x4bbd1c
cmove eax, ecx
push eax
lea eax, [esp + 0x38]
push eax
push str._s_s_s
lea eax, [esp + 0x850]
push 0x400
push eax
call fcn.0049e760
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x858]
add esp, 0x18
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push ecx
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.0043cb80
mov dword [esp + 0x24], eax
cmp eax, 1
jne 0x43d02d
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x43cff2
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x43cff2
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43cdf9
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp eax, edi
jne 0x43ceba
mov eax, dword [ebp + 0xc]
push dword [esp + 0xc]
mov byte [eax], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24