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

Disassembly:
push 0xffffffffffffffff
push 0x6617b0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x98]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
xor esi, esi
push esi
push esi
push str.f_tfc
push ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x2c], 4
call ebp
test eax, eax
jne 0x56c5f5
mov edx, dword [esp + 0x20]
mov dword [edi + 0x10], edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push str.f_uf
push ebx
call ebp
test eax, eax
jne 0x56c617
cmp dword [esp + 0x20], esi
setne dl
mov byte [edi + 0xc], dl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push str.f_uu
push ebx
call ebp
test eax, eax
jne 0x56c63b
xor edx, edx
cmp dword [esp + 0x20], esi
setne dl
mov dword [edi + 0x54], edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
push esi
push str.f_td
push ebx
mov dword [esp + 0x2c], 8
call ebp
test eax, eax
jne 0x56c662
fld qword [esp + 0x54]
fstp qword [edi + 0x18]
push esi
push esi
lea edx, [esp + 0x30]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
mov dword [esp + 0x58], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x56c6aa
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [edi + 8]
call fcn.00402840
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push esi
push esi
push str.f_templ
push ebx
mov byte [eax + ecx], 0
call ebp
mov eax, dword [esp + 0x24]
mov edi, 1
cmp dword [eax + 0x10], edi
jl 0x56c90a
lea esp, [esp]
push edi
lea ecx, [esp + 0x78]
push 0x6aebf0
push ecx
call fcn.00623a6b
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x60]
push eax
push esi
push esi
lea ecx, [esp + 0x84]
push ecx
push ebx
mov dword [esp + 0x30], 0x18
call ebp
cmp eax, esi
jne 0x56c8fc
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov dword [esp + 0x90], esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], esi
cmp dword [edx + 0x54], esi
je 0x56c7a3
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov eax, dword [ebp - 8]
inc esi
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, esi
or eax, ecx
jge 0x56c747
push esi
lea ecx, [esp + 0x20]
call fcn.004020b0
mov ebp, dword [esp + 0x1c]
test esi, esi
jl 0x56c93e
cmp esi, dword [ebp - 8]
jg 0x56c93e
mov dword [ebp - 0xc], esi
mov eax, dword [esp + 0x1c]
push edi
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x78]
push str.fn_d
push edx
mov dword [esp + 0x58], ebp
mov byte [ecx + ebp], 0
call fcn.00623a6b
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ebp
push 0
push 0
lea ecx, [esp + 0x84]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
push edi
lea edx, [esp + 0x78]
push str.fl_d
push edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], 0x10
call fcn.00623a6b
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push esi
lea edx, [esp + 0x84]
push edx
push ebx
call ebp
test eax, eax
je 0x56c7f9
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
push edi
lea eax, [esp + 0x78]
push str.fse_d
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x24], 0x10
call fcn.00623a6b
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push esi
lea eax, [esp + 0x84]
push eax
push ebx
call ebp
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
test eax, eax
je 0x56c85d
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
jmp 0x56c86f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov esi, eax
or esi, ecx
jne 0x56c931
mov eax, edx
add eax, dword [esp + 0x34]
mov ecx, ebp
adc ecx, ebx
mov esi, ebp
push ebx
fld qword [esp + 0x60]
mov ebx, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push ebx
push ecx
push eax
mov eax, dword [esp + 0x84]
push esi
push edx
test eax, eax
setne cl
movzx edx, cl
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x90]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x58]
sub esp, 8
fstp qword [esp]
push edx
call fcn.0056c490
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x56c8f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [esp + 0x50]
xor esi, esi
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, dword [ecx + 0x10]
jle 0x56c6c0
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00620b8d
add esp, 0x80
ret 4
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
jmp 0x56c87b
push 0x80070057
call fcn.00401090
int3