Function at 0x104800e
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x48
mov eax, 0x106e770
call fcn.0105b8fb
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 0x1048076
test byte [eax + 0x1c], 4
je 0x1048076
cmp byte [eax + 0x19], 5
jb 0x1048076
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 0x80000002
call fcn.0105fce9
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x10480d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x10480ca
test byte [eax + 0x1c], 4
je 0x10480ca
cmp byte [eax + 0x19], 3
jb 0x10480ca
push edi
push esi
push 0x1003160
push 0xa4
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
lea ecx, [ebp - 0x54]
call fcn.01046798
mov eax, esi
jmp 0x1048142
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 0x104814a
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1048126
test byte [eax + 0x1c], 4
je 0x1048126
cmp byte [eax + 0x19], 2
jb 0x1048126
push edi
push dword [ebp - 0x18]
push 0x1003160
push 0xa5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
push dword [ebp + 0xc]
call fcn.0105c21c
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x54]
call fcn.01046798
mov eax, dword [ebp - 0x18]
call fcn.0105b9af
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.010657d7
test eax, eax
jge 0x104816d
mov dword [ebp - 0x18], 0x216
jmp 0x1048126
push dword [ebp - 0x24]
call fcn.0105c184
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x10481b5
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x10481a9
test byte [eax + 0x1c], 4
je 0x10481a9
cmp byte [eax + 0x19], 2
jb 0x10481a9
push 0x1003160
push 0xa6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov dword [ebp - 0x18], 8
jmp 0x1048126
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 0x104832c
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.0105fce9
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x104822b
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x10481b8
test byte [eax + 0x1c], 4
je 0x10481b8
cmp byte [eax + 0x19], 3
jb 0x10481b8
push dword [ebp + 0xc]
push 0x1003160
push 0xa7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100915e
jmp 0x10481b8
lea ecx, [ebp - 0x34]
push ecx
push 0x100322c
push eax
call fcn.0105fe5e
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, esi
je 0x104825b
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x40]
ja 0x1048318
jb 0x104825b
mov eax, dword [edi]
cmp eax, ebx
jae 0x1048318
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 0x10482eb
mov byte [ebp - 4], al
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
call fcn.01047fc9
mov dword [ebp - 4], esi
jmp 0x1048318
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x1048318
test byte [eax + 0x1c], 4
je 0x1048318
cmp byte [eax + 0x19], 3
jb 0x1048318
push 0x1003160
push 0xa9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push edi
call fcn.0105c21c
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10481b8
mov edi, dword [ebp - 0x4c]
sub edi, dword [ebp - 0x50]
cmp dword [ebp - 0x50], esi
je 0x1048126
mov ebx, edi
sar ebx, 2
cmp ebx, esi
je 0x1048126
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + edi - 4]
push eax
mov dword [ebp - 0x2c], eax
call fcn.01060a18
cmp ebx, esi
je 0x1048332
sub dword [ebp - 0x4c], 4
sub edi, 4
jmp 0x1048332