Function at 0x1009a53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.0100b070
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [esi + 0x90], edi
mov dword [ebp - 8], edi
jne 0x1009c9a
mov eax, dword [esi + 0x80]
push ebx
mov ebx, dword [eax + 8]
cmp ebx, edi
je 0x1009c99
lea eax, [ebp - 8]
push eax
push ebx
call fcn.01006ce6
test eax, eax
jl 0x1009c99
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x1009c99
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 0x1009ab8
mov dword [ebp - 0x14], edi
xor eax, eax
cmp word [ebp - 0x14], 0xffff
sete al
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x1009b22
push edi
push ebx
lea ecx, [ebp - 0x24]
call fcn.0100b580
lea eax, [ebp - 0x10]
push eax
push 1
push edi
push 0x1002514
lea ecx, [ebp - 0x24]
call fcn.0100b388
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009b1a
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.0100b330
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 0x1009bd8
push 1
call fcn.01007184
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x834]
push ebx
push eax
je 0x1009baf
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.0100913d
mov ecx, dword [esi + 0x7c]
push 1
call fcn.0100714a
jmp 0x1009bdf
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.0100913d
jmp 0x1009bdf
push 0xfffffffffffffffd
call fcn.01007184
xor eax, eax
cmp dword [ebp - 0xc], eax
jne 0x1009bef
cmp dword [ebp + 8], eax
je 0x1009c90
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 0x1009c0f
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1009c12
mov eax, dword [ebp - 0x2c]
test eax, eax
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 0x78]
mov dword [ebp + 8], eax
je 0x1009c89
push 1
call fcn.01007184
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.0100913d
mov ecx, dword [esi + 0x78]
push 1
call fcn.0100714a
jmp 0x1009c90
push 0xfffffffffffffffd
call fcn.01007184
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
pop edi
pop esi
leave
ret 4