Function at 0x1009b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.0100b0a0
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [esi + 0x90], edi
mov dword [ebp - 8], edi
jne 0x1009d67
mov eax, dword [esi + 0x80]
push ebx
mov ebx, dword [eax + 8]
cmp ebx, edi
je 0x1009d66
lea eax, [ebp - 8]
push eax
push ebx
call fcn.01006ce6
test eax, eax
jl 0x1009d66
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x1009d66
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 4], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jge 0x1009b85
mov dword [ebp - 0x14], edi
xor eax, eax
cmp word [ebp - 0x14], 0xffff
sete al
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x1009bef
push edi
push ebx
lea ecx, [ebp - 0x24]
call fcn.0100b5b0
lea eax, [ebp - 0x10]
push eax
push 1
push edi
push 0x1002514
lea ecx, [ebp - 0x24]
call fcn.0100b3b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009be7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x10024f8
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
call fcn.0100b360
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0x7c]
mov ebx, 0x400
je 0x1009ca5
push 1
call fcn.01007166
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x834]
push ebx
push eax
je 0x1009c7c
xor eax, eax
cmp dword [ebp - 4], 1
setne al
add eax, 0x1d
push eax
mov eax, dword [0x102bc08]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x43c]
push dword [eax]
call edi
push dword [ebp - 4]
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x1034]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x1034]
push eax
push 1
mov ecx, esi
call fcn.01009210
mov ecx, dword [esi + 0x7c]
push 1
call fcn.0100712c
jmp 0x1009cac
mov eax, dword [0x102bc08]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x43c]
push 0xf
push dword [eax]
call edi
lea eax, [ebp - 0x834]
push eax
push 1
mov ecx, esi
call fcn.01009210
jmp 0x1009cac
push 0xfffffffffffffffd
call fcn.01007166
xor eax, eax
cmp dword [ebp - 0xc], eax
jne 0x1009cbc
cmp dword [ebp + 8], eax
je 0x1009d5d
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0x1001ebc
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x1009cdc
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1009cdf
mov eax, dword [ebp - 0x2c]
test eax, eax
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 0x78]
mov dword [ebp + 8], eax
je 0x1009d56
push 1
call fcn.01007166
push ebx
lea eax, [ebp - 0x834]
push eax
xor eax, eax
cmp dword [ebp + 8], 1
setne al
add eax, 0x1b
push eax
mov eax, dword [0x102bc08]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x43c]
push dword [eax]
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x1034]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x1034]
push eax
push 0
mov ecx, esi
call fcn.01009210
mov ecx, dword [esi + 0x78]
push 1
call fcn.0100712c
jmp 0x1009d5d
push 0xfffffffffffffffd
call fcn.01007166
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
pop edi
pop esi
leave
ret 4