Function at 0x556a00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x62b878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x70]
push edi
mov edi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.f_tfc
push ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], 4
call ebx
test eax, eax
jne 0x556a55
mov edx, dword [esp + 0x14]
mov dword [edi + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.f_uf
push ebp
call ebx
test eax, eax
jne 0x556a7b
mov eax, dword [esp + 0x14]
test eax, eax
setne dl
mov byte [edi + 0xc], dl
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.f_uu
push ebp
call ebx
test eax, eax
jne 0x556aa7
mov ecx, dword [esp + 0x14]
test ecx, ecx
setne dl
and edx, 0xff
mov dword [edi + 0x3c], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push str.f_td
push ebp
mov dword [esp + 0x28], 8
call ebx
test eax, eax
jne 0x556ad7
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
mov dword [esp + 0x48], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x556b2f
mov eax, dword [esp + 0x18]
lea ecx, [edi + 8]
mov dword [esp + 0x10], eax
inc eax
push eax
call fcn.00603e09
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push 0
push str.f_templ
push ebp
mov byte [eax + edx], 0
call ebx
mov eax, dword [edi + 0x10]
mov esi, 1
cmp eax, esi
jl 0x556cb0
push esi
lea edx, [esp + 0x40]
push 0x6c00bc
push edx
call fcn.005e7bd3
add esp, 0xc
lea eax, [esp + 0x74]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x3c]
push eax
push ecx
push 0
push 0
push edx
push ebp
mov dword [esp + 0x8c], 0x18
call ebx
test eax, eax
jne 0x556ca4
mov eax, dword [0x6cd768]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor edi, edi
mov dword [esp + 0x6c], 0
cmp dword [ecx + 0x3c], eax
je 0x556bdd
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], eax
inc eax
push eax
call fcn.00603e09
mov edx, dword [esp + 0x74]
mov edi, eax
push esi
lea eax, [esp + 0x40]
push str.fn_d
push eax
mov byte [edi + edx], 0
call fcn.005e7bd3
add esp, 0xc
lea ecx, [esp + 0x74]
lea edx, [esp + 0x3c]
push ecx
push edi
push 0
push 0
push edx
push ebp
call ebx
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push esi
lea eax, [esp + 0x40]
push str.fl_d
push eax
mov dword [esp + 0x80], 0x10
call fcn.005e7bd3
add esp, 0xc
lea ecx, [esp + 0x74]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
push ecx
push edx
push 0
push 0
push eax
push ebp
call ebx
test eax, eax
je 0x556c3d
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jmp 0x556c49
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
push ebx
mov ebx, ecx
push edx
add ebx, edx
mov edx, eax
push eax
adc edx, dword [esp + 0x44]
push ecx
push edx
push ebx
push eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
test eax, eax
setne cl
push ecx
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push esi
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push edx
push edi
call fcn.005566a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00603a3c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x10]
inc esi
cmp esi, eax
jle 0x556b3f
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4