Function at 0x10548ca
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov eax, dword [0x1075004]
mov ebx, 0x1075004
cmp eax, ebx
je 0x105490c
test byte [eax + 0x1c], 4
je 0x105490c
cmp byte [eax + 0x19], 5
jb 0x105490c
push 0x1004c60
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0x1004c70
push edi
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x105495e
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1054b02
test byte [eax + 0x1c], 4
je 0x1054b02
cmp byte [eax + 0x19], 2
jb 0x1054b02
push dword [ebp - 4]
push 0x1004c60
push 0xb
jmp 0x1054a95
cmp dword [ebp - 0x14], 3
je 0x1054997
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x105498b
test byte [eax + 0x1c], 4
je 0x105498b
cmp byte [eax + 0x19], 2
jb 0x105498b
push 0x1004c60
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov dword [ebp - 4], 0x3f1
jmp 0x1054b02
cmp dword [ebp - 8], 0
je 0x1054b02
push dword [ebp - 8]
call fcn.0105c544
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10549ef
mov dword [ebp - 4], 8
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1054b02
test byte [eax + 0x1c], 4
je 0x1054b02
cmp byte [eax + 0x19], 2
jb 0x1054b02
push 0x1004c60
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
jmp 0x1054b02
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x1054a34
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1054b02
test byte [eax + 0x1c], 4
je 0x1054b02
cmp byte [eax + 0x19], 2
jb 0x1054b02
push dword [ebp - 4]
push 0x1004c60
push 0xe
jmp 0x1054a95
mov esi, dword [ebp - 8]
and dword [ebp - 0xc], 0
shr esi, 2
mov dword [ebp - 0x18], 1
test esi, esi
jbe 0x1054b02
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edi, [eax + ecx*4]
push dword [edi]
call fcn.01052e21
test eax, eax
je 0x1054aa2
push dword [edi]
mov ecx, dword [ebp - 0x1c]
call fcn.01054215
mov dword [ebp - 4], eax
test eax, eax
je 0x1054aa6
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1054b02
test byte [eax + 0x1c], 4
je 0x1054b02
cmp byte [eax + 0x19], 2
jb 0x1054b02
push dword [ebp - 4]
push 0x1004c60
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1054b02
and dword [ebp - 0x18], 0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jb 0x1054a4d
cmp dword [ebp - 0x18], 0
jne 0x1054b02
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.010532f3
test eax, eax
je 0x1054aec
mov ecx, dword [0x1075004]
cmp ecx, ebx
je 0x1054aec
test byte [ecx + 0x1c], 4
je 0x1054aec
cmp byte [ecx + 0x19], 2
jb 0x1054aec
push eax
push 0x1004c60
push 0x10
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
push dword [ebp + 0xc]
push 0x80007d42
push 1
push 2
push 1
call fcn.0105dbc9
add esp, 0x14
push dword [ebp - 0x10]
call fcn.0105c5dc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8