Function at 0x1011c0f
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 0x1011c5d
test byte [eax + 0x1c], 0x10
je 0x1011c5d
push 0x1002260
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009390
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 0x1012008
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 0x1011cbd
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
jl 0x1011de6
and dword [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0100bd24
mov dword [ebp - 0x218], eax
test eax, eax
je 0x1011dc5
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 0x1011da4
lea ecx, [esi + 0x34]
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x1011d14
sub ecx, esi
sar ecx, 1
mov edx, 0x100
sub edx, ecx
cmp edx, 1
jbe 0x1011d83
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 0x1011e07
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011ffa
test byte [eax + 0x1c], 4
je 0x1011e0c
push ebx
push 0x1002260
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010086d5
jmp 0x1011e07
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011ffa
test byte [eax + 0x1c], 4
je 0x1011e0c
push 0x1002260
push 0x13
jmp 0x1011dfc
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011ffa
test byte [eax + 0x1c], 4
je 0x1011e0c
push 0x1002260
push 0x14
jmp 0x1011dfc
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1011ffa
test byte [eax + 0x1c], 4
je 0x1011e0c
push 0x1002260
push 0x15
jmp 0x1011dfc
mov eax, dword [section..data]
cmp eax, edi
je 0x1011e2d
test byte [eax + 0x1c], 4
je 0x1011e0c
push 0x1002260
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009390
mov eax, dword [section..data]
cmp eax, edi
je 0x1011e2d
test byte [eax + 0x1c], 0x10
je 0x1011e2d
push 0x1002260
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009390
mov eax, dword [section..data]
test ebx, ebx
jl 0x1011ffa
cmp eax, edi
je 0x1011e54
test byte [eax + 0x1c], 0x10
je 0x1011e54
mov esi, 0x1002260
push esi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009390
jmp 0x1011e59
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 0x1011e9a
and ebx, 0xffff
or ebx, 0x80070000
test ebx, ebx
jl 0x1011fd1
and dword [ebp - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0100bd24
mov ebx, eax
test ebx, ebx
je 0x1011fb7
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 0x1011f92
mov esi, dword [ebp - 0x208]
add esi, 0x30
push esi
movzx eax, ax
push 1
push eax
push ebx
call fcn.01012a53
mov ebx, eax
test ebx, ebx
jl 0x1011f69
lea eax, [ebp - 0x230]
push eax
push 0x18
push dword [esi]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x10
call fcn.01008a72
push 0x10
mov esi, eax
call fcn.01008e4c
cmp eax, dword [ebp - 0x228]
jl 0x1011f36
cmp esi, dword [ebp - 0x22c]
jge 0x1011fd8
mov ebx, 0x80004005
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011ffa
test byte [ecx + 0x1c], 4
je 0x1011fde
push eax
push esi
push 0x1002260
push 0x19
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101177f
jmp 0x1011fd8
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011ffa
test byte [ecx + 0x1c], 4
je 0x1011fde
push ebx
push 0x1002260
push 0x1a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010086d5
jmp 0x1011fd8
mov ebx, 0x80004005
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011ffa
test byte [ecx + 0x1c], 4
je 0x1011fde
push esi
push 0x1b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01009390
jmp 0x1011fd8
mov ebx, 0x80004005
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011ffa
test byte [ecx + 0x1c], 4
je 0x1011fde
push esi
push 0x1c
jmp 0x1011faa
cmp eax, 2
jne 0x1011fd8
xor ebx, ebx
mov ecx, dword [section..data]
cmp ecx, edi
je 0x1011ffa
test byte [ecx + 0x1c], 0x10
je 0x1011ffa
push 0x1002260
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01009390
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1012036
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, edi
je 0x1012115
test byte [eax + 0x1c], 4
je 0x1012115
push 0x1002260
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009390
test ebx, ebx
jl 0x1012115
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 0x1012100
push eax
push dword [0x10218f8]
mov eax, dword [ebp - 0x208]
push esi
push dword [eax + 4]
push 0x14
call fcn.01008e4c
push eax
push 0x14
call fcn.01008a72
push eax
push 7
call fcn.010091d2
push eax
push 7
call fcn.0100908d
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 0x10120c8
call fcn.010088eb
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 0x1012100
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10120dc
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [section..data]
cmp eax, edi
je 0x1012100
test byte [eax + 0x1c], 4
je 0x1012100
push ebx
push 0x1002260
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010086d5
test ebx, ebx
jl 0x1012115
mov ecx, dword [ebp - 0x208]
add ecx, 0x234
call fcn.0100e4f6
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0101a181
leave
ret