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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6381b6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push str.f_tfc
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], 4
call esi
test eax, eax
jne 0x555d39
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x10], edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push str.f_uf
push edi
call esi
test eax, eax
jne 0x555d5d
cmp dword [esp + 0x20], eax
setne dl
mov byte [ebx + 0xc], dl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push str.f_uu
push edi
call esi
test eax, eax
jne 0x555d83
xor edx, edx
cmp dword [esp + 0x20], edx
setne dl
mov dword [ebx + 0x3c], edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push str.f_td
push edi
mov dword [esp + 0x30], 8
call esi
test eax, eax
jne 0x555dac
fld qword [esp + 0x4c]
fstp qword [ebx + 0x18]
push 0
push 0
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
mov dword [esp + 0x60], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x555e04
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
inc eax
push eax
lea ecx, [ebx + 8]
call fcn.00402830
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.f_templ
push edi
mov byte [eax + ecx], 0
call esi
mov eax, dword [esp + 0x28]
mov ebx, 1
cmp dword [eax + 0x10], ebx
jl 0x556003
push ebx
lea ecx, [esp + 0x74]
push 0x6833f0
push ecx
call fcn.005fb4cb
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push eax
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push edi
mov dword [esp + 0x34], 0x18
call esi
test eax, eax
jne 0x555ff5
lea ecx, [esp + 0x24]
call fcn.004024e0
xor eax, eax
mov dword [esp + 0xc0], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
cmp dword [edx + 0x3c], eax
je 0x555f07
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
lea esi, [eax + 1]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x555ea3
push esi
lea ecx, [esp + 0x28]
call fcn.004020a0
mov edi, dword [esp + 0x24]
test esi, esi
jl 0x556026
cmp esi, dword [edi - 8]
jg 0x556026
mov dword [edi - 0xc], esi
mov eax, dword [esp + 0x24]
push ebx
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x74]
push str.fn_d
push edx
mov dword [esp + 0x54], edi
mov byte [edi + ecx], 0
call fcn.005fb4cb
mov edx, dword [esp + 0x38]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push edi
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor eax, eax
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x74]
push str.fl_d
push eax
mov dword [esp + 0x28], 0x10
call fcn.005fb4cb
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0
push 0
lea eax, [esp + 0x80]
push eax
push edi
call esi
test eax, eax
je 0x555f69
xor esi, esi
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
jmp 0x555f79
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
fld qword [esp + 0x58]
push esi
push eax
push ecx
mov edi, ecx
add edi, esi
mov esi, eax
adc esi, edx
push esi
push edi
push eax
mov eax, dword [esp + 0x80]
push ecx
test eax, eax
setne cl
movzx edx, cl
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x88]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x5c]
sub esp, 8
fstp qword [esp]
push edx
call fcn.00555bd0
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x555feb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc ebx
cmp ebx, dword [ecx + 0x10]
jle 0x555e16
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401090
int3