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

Disassembly:
push 0xffffffffffffffff
push 0x62af48
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 0x5548a5
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 0x5548cb
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 0x5548f7
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 0x554927
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 0x55497f
mov eax, dword [esp + 0x18]
lea ecx, [edi + 8]
mov dword [esp + 0x10], eax
inc eax
push eax
call fcn.00601c99
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 0x554b00
push esi
lea edx, [esp + 0x40]
push 0x6e4080
push edx
call fcn.005e5bb8
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 0x554af4
mov eax, dword [0x6f175c]
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 0x554a2d
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], eax
inc eax
push eax
call fcn.00601c99
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.005e5bb8
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.005e5bb8
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 0x554a8d
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 0x554a99
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.005544f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0xffffffff
call fcn.006018cc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x10]
inc esi
cmp esi, eax
jle 0x55498f
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4