Function at 0x1011bda
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x102171c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x210], ebx
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x1011c28
test byte [eax + 0x1c], 0x10
je 0x1011c28
push 0x1002260
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
lea eax, [ebp - 0x210]
push eax
push 0x20019
push ebx
push 0x1002270
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1011fd3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push 2
push 0x10022fc
push ebx
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x200
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, ebx
jle 0x1011c88
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
jl 0x1011db1
and dword [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0100bcf1
mov dword [ebp - 0x218], eax
test eax, eax
je 0x1011d90
mov eax, dword [ebp - 0x20c]
push 0xa
add eax, 2
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
add esp, 0xc
test eax, eax
je 0x1011d6f
lea ecx, [esi + 0x34]
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x1011cdf
sub ecx, esi
sar ecx, 1
mov edx, 0x100
sub edx, ecx
cmp edx, 1
jbe 0x1011d4e
push edx
mov edx, dword [ebp - 0x208]
lea ecx, [edx + ecx*2 + 0x34]
push ecx
push eax
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1011dd2
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011fc5
test byte [eax + 0x1c], 4
je 0x1011dd7
push ebx
push 0x1002260
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010086a5
jmp 0x1011dd2
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011fc5
test byte [eax + 0x1c], 4
je 0x1011dd7
push 0x1002260
push 0x13
jmp 0x1011dc7
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011fc5
test byte [eax + 0x1c], 4
je 0x1011dd7
push 0x1002260
push 0x14
jmp 0x1011dc7
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011fc5
test byte [eax + 0x1c], 4
je 0x1011dd7
push 0x1002260
push 0x15
jmp 0x1011dc7
mov eax, dword [section..data]
cmp eax, edi
je 0x1011df8
test byte [eax + 0x1c], 4
je 0x1011dd7
push 0x1002260
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
mov eax, dword [section..data]
cmp eax, edi
je 0x1011df8
test byte [eax + 0x1c], 0x10
je 0x1011df8
push 0x1002260
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
mov eax, dword [section..data]
test ebx, ebx
jl 0x1011fc5
cmp eax, edi
je 0x1011e1f
test byte [eax + 0x1c], 0x10
je 0x1011e1f
mov esi, 0x1002260
push esi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
jmp 0x1011e24
mov esi, 0x1002260
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 2
push 0x10022e8
push 0
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x200
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jle 0x1011e65
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x1011f9c
and dword [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0100bcf1
mov ebx, eax
test ebx, ebx
je 0x1011f82
mov eax, dword [ebp - 0x20c]
push 0xa
add eax, 2
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
add esp, 0xc
test eax, eax
je 0x1011f5d
mov esi, dword [ebp - 0x208]
add esi, 0x30
push esi
movzx eax, ax
push 1
push eax
push ebx
call fcn.01012a1e
mov ebx, eax
test ebx, ebx
jl 0x1011f34
lea eax, [ebp - 0x230]
push eax
push 0x18
push dword [esi]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x10
call fcn.01008a42
push 0x10
mov esi, eax
call fcn.01008e1a
cmp eax, dword [ebp - 0x228]
jl 0x1011f01
cmp esi, dword [ebp - 0x22c]
jge 0x1011fa3
mov ebx, 0x80004005
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011fc5
test byte [ecx + 0x1c], 4
je 0x1011fa9
push eax
push esi
push 0x1002260
push 0x19
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101174a
jmp 0x1011fa3
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011fc5
test byte [ecx + 0x1c], 4
je 0x1011fa9
push ebx
push 0x1002260
push 0x1a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010086a5
jmp 0x1011fa3
mov ebx, 0x80004005
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011fc5
test byte [ecx + 0x1c], 4
je 0x1011fa9
push esi
push 0x1b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100935e
jmp 0x1011fa3
mov ebx, 0x80004005
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011fc5
test byte [ecx + 0x1c], 4
je 0x1011fa9
push esi
push 0x1c
jmp 0x1011f75
cmp eax, 2
jne 0x1011fa3
xor ebx, ebx
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011fc5
test byte [ecx + 0x1c], 0x10
je 0x1011fc5
push 0x1002260
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100935e
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1012001
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x10120e0
test byte [eax + 0x1c], 4
je 0x10120e0
push 0x1002260
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100935e
test ebx, ebx
jl 0x10120e0
mov eax, dword [ebp - 0x208]
mov esi, 0xce
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x10120cb
push eax
push dword [0x10218f8]
mov eax, dword [ebp - 0x208]
push esi
push dword [eax + 4]
push 0x14
call fcn.01008e1a
push eax
push 0x14
call fcn.01008a42
push eax
push 7
call fcn.010091a0
push eax
push 7
call fcn.0100905b
push eax
mov eax, dword [ebp - 0x208]
push 0x5000000d
add eax, 0x34
push eax
push 0x1001d94
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x1012093
call fcn.010088bb
push 1
push eax
mov eax, dword [ebp - 0x208]
push 0x30
push esi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x10120cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10120a7
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [section..data]
cmp eax, edi
je 0x10120cb
test byte [eax + 0x1c], 4
je 0x10120cb
push ebx
push 0x1002260
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010086a5
test ebx, ebx
jl 0x10120e0
mov ecx, dword [ebp - 0x208]
add ecx, 0x234
call fcn.0100e4c3
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0101a14f
leave
ret