Function at 0x1005586f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10055a84
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x100558c7
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x10055a82
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
cmp dword [eax], 0
je 0x10055954
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
cmp dword [eax], 4
jne 0x1005593e
mov dword [ebp - 0x10], 1
jmp 0x10055942
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x5b6478c3
je 0x10055954
mov dword [ebp - 0x14], 1
jmp 0x10055958
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10055985
mov dword [ebp - 0x18], 1
jmp 0x10055989
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xfffffff6
jg 0x10055998
mov dword [ebp - 0x1c], 1
jmp 0x1005599c
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 1
ja 0x100559ab
mov dword [ebp - 0x20], 1
jmp 0x100559af
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x2978
jl 0x100559c1
mov dword [ebp - 0x24], 1
jmp 0x100559c5
and dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jg 0x100559df
mov dword [ebp - 0x28], 1
jmp 0x100559e3
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jle 0x100559fd
mov dword [ebp - 0x2c], 1
jmp 0x10055a01
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x76a47cde
jl 0x10055a13
mov dword [ebp - 8], 1
jmp 0x10055a17
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov esi, dword [ebp - 8]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
cmp esi, dword [eax]
jge 0x10055a46
mov dword [ebp - 0xc], 1
jmp 0x10055a4a
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax]
cmp ecx, 1
jle 0x10055a6f
mov dword [ebp - 0x30], 1
jmp 0x10055a73
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x10055a9c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
push 1
push 0xb2d
push dword [ebp - 0x70]
call fcn.1004ae3c
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret