Function at 0x1003023
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x1007050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x4e
mov word [ebp - 0x54], ax
xor esi, esi
lea eax, [ebp - 0x52]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x354]
push eax
push 0x20019
push esi
push 0x1001538
push 0x80000001
mov dword [ebp - 0x354], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x348], 0x10071e0
mov dword [ebp - 0x358], 8
mov ebx, 0x200
mov edi, 0xa0
push dword [ebp - 0x350]
lea eax, [ebp - 0x344]
push 0x100161c
push ebx
push eax
call fcn.01001fae
xor eax, eax
add esp, 0x10
mov word [ebp - 0xf4], ax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x354]
mov dword [ebp - 0x34c], edi
call esi
cmp word [ebp - 0xf4], 0x20
lea eax, [ebp - 0xf4]
jne 0x1003106
inc eax
inc eax
cmp word [eax], 0x20
je 0x10030fe
xor ecx, ecx
cmp cx, word [eax]
je 0x10031c4
push eax
push edi
push dword [ebp - 0x348]
call fcn.01001e86
push dword [ebp - 0x350]
lea eax, [ebp - 0x344]
push 0x100160c
push ebx
push eax
call fcn.01001fae
add esp, 0x10
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x354]
mov dword [ebp - 0x34c], 0x50
call esi
xor eax, eax
cmp ax, word [ebp - 0x54]
jne 0x100317a
push dword [ebp - 0x348]
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.01001e86
mov eax, dword [ebp - 0x350]
lea ecx, [ebp - 0x54]
push ecx
add eax, 0xd5
push eax
push dword [0x1007f3c]
call fcn.0100290b
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.01001e45
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x350]
add eax, 0xd5
push eax
push dword [0x1007f3c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
inc dword [ebp - 0x350]
add dword [ebp - 0x348], edi
dec dword [ebp - 0x358]
jne 0x10030a3
mov dword [ebp - 0x348], 1
mov dword [ebp - 0x358], 0x14
push dword [ebp - 0x348]
lea eax, [ebp - 0x344]
push 0x10014e8
push ebx
push eax
call fcn.01001fae
xor eax, eax
add esp, 0x10
mov word [ebp - 0xf4], ax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x354]
mov dword [ebp - 0x34c], edi
call esi
xor eax, eax
cmp ax, word [ebp - 0xf4]
je 0x1003265
lea eax, [ebp - 0xf4]
push eax
push 0
push 0x143
push 0xc9
push dword [0x1007f3c]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc dword [ebp - 0x348]
dec dword [ebp - 0x358]
jne 0x10031f0
push 0x64
pop edi
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x360]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1001508
push dword [ebp - 0x354]
mov dword [ebp - 0x360], edi
mov dword [ebp - 0x35c], edi
mov dword [ebp - 0x34c], 8
call esi
cmp dword [ebp - 0x360], ebx
jl 0x10032e6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
mov ecx, dword [ebp - 0x360]
add ecx, 0x32
cmp ecx, eax
jge 0x10032e6
cmp dword [ebp - 0x35c], ebx
jl 0x10032e6
push 1
call esi
mov ecx, dword [ebp - 0x35c]
add ecx, 0x32
cmp ecx, eax
jl 0x10032f2
mov dword [ebp - 0x360], edi
mov dword [ebp - 0x35c], edi
push 0x1d
push ebx
push ebx
push dword [ebp - 0x35c]
push dword [ebp - 0x360]
push ebx
push dword [0x1007f3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x354]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100599f
leave
ret