Function at 0x10484a9
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x48
mov eax, 0x106e998
call fcn.0105bcbb
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add ebx, 0xdd31c000
adc eax, 0xffffe7a3
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 8
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1048511
test byte [eax + 0x1c], 4
je 0x1048511
cmp byte [eax + 0x19], 5
jb 0x1048511
push 0x1003160
push 0xa3
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x20019
push esi
mov edi, 0x1003248
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.010600a9
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x1048571
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1048565
test byte [eax + 0x1c], 4
je 0x1048565
cmp byte [eax + 0x19], 3
jb 0x1048565
push edi
push esi
push 0x1003160
push 0xa4
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
lea ecx, [ebp - 0x54]
call fcn.01046c33
mov eax, esi
jmp 0x10485dd
push esi
push esi
lea ecx, [ebp - 0x30]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x10485e5
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x10485c1
test byte [eax + 0x1c], 4
je 0x10485c1
cmp byte [eax + 0x19], 2
jb 0x10485c1
push edi
push dword [ebp - 0x18]
push 0x1003160
push 0xa5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
push dword [ebp + 0xc]
call fcn.0105c5dc
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x54]
call fcn.01046c33
mov eax, dword [ebp - 0x18]
call fcn.0105bd6f
ret 8
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
push 2
pop ecx
mul ecx
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
call fcn.010119aa
test eax, eax
jge 0x1048608
mov dword [ebp - 0x18], 0x216
jmp 0x10485c1
push dword [ebp - 0x24]
call fcn.0105c544
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x1048650
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1048644
test byte [eax + 0x1c], 4
je 0x1048644
cmp byte [eax + 0x19], 2
jb 0x1048644
push 0x1003160
push 0xa6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov dword [ebp - 0x18], 8
jmp 0x10485c1
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10487c7
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.010600a9
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x10486c6
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1048653
test byte [eax + 0x1c], 4
je 0x1048653
cmp byte [eax + 0x19], 3
jb 0x1048653
push dword [ebp + 0xc]
push 0x1003160
push 0xa7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
jmp 0x1048653
lea ecx, [ebp - 0x34]
push ecx
push 0x100322c
push eax
call fcn.0106021e
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, esi
je 0x10486f6
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x40]
ja 0x10487b3
jb 0x10486f6
mov eax, dword [edi]
cmp eax, ebx
jae 0x10487b3
lea eax, [ebp - 0x2c]
push eax
push 0x1003224
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
cmp eax, 1
jne 0x1048786
mov byte [ebp - 4], al
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
call fcn.01048464
mov dword [ebp - 4], esi
jmp 0x10487b3
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x10487b3
test byte [eax + 0x1c], 4
je 0x10487b3
cmp byte [eax + 0x19], 3
jb 0x10487b3
push 0x1003160
push 0xa9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push edi
call fcn.0105c5dc
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1048653
mov edi, dword [ebp - 0x4c]
sub edi, dword [ebp - 0x50]
cmp dword [ebp - 0x50], esi
je 0x10485c1
mov ebx, edi
sar ebx, 2
cmp ebx, esi
je 0x10485c1
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + edi - 4]
push eax
mov dword [ebp - 0x2c], eax
call fcn.01060dd8
cmp ebx, esi
je 0x10487cd
sub dword [ebp - 0x4c], 4
sub edi, 4
jmp 0x10487cd