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

Disassembly:
push 0xffffffffffffffff
push 0x658b10
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
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 0x565885
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 0x5658a7
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 0x5658cb
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 0x5658f2
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 0x56593a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [edi + 8]
call fcn.00402850
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 0x565b9a
lea esp, [esp]
push edi
lea ecx, [esp + 0x78]
push 0x6a54d0
push ecx
call fcn.0061af5b
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 0x565b8c
lea ecx, [esp + 0x1c]
call fcn.00402500
mov dword [esp + 0x90], esi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], esi
cmp dword [edx + 0x54], esi
je 0x565a33
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 0x5659d7
push esi
lea ecx, [esp + 0x20]
call fcn.004020c0
mov ebp, dword [esp + 0x1c]
test esi, esi
jl 0x565bce
cmp esi, dword [ebp - 8]
jg 0x565bce
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.0061af5b
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.0061af5b
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 0x565a89
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.0061af5b
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 0x565aed
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
jmp 0x565aff
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov esi, eax
or esi, ecx
jne 0x565bc1
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.00565720
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 0x565b80
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 0x565950
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.0061807e
add esp, 0x80
ret 4
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
jmp 0x565b0b
push 0x80070057
call fcn.00401090
int3