Function at 0x1002be70
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x1003f6e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x30]
push ebx
push esi
push edi
mov dword [ebp - 0x634], eax
mov edi, ecx
mov eax, dword [edx + 4]
push 0x90
push edi
mov dword [ebp - 0x650], edx
mov esi, dword [eax + 0x2c]
mov dword [ebp - 0x628], edi
mov dword [ebp - 0x62c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x8e
mov ebx, eax
push edi
mov dword [ebp - 0x624], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x638], eax
test esi, esi
je 0x1002bf04
cmp word [esi], 0
je 0x1002bf04
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bee0
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x1002bf04
push 0x100413ac
push esi
push 0x100021c0
jmp 0x1002bf0f
push 0x100413ac
push esi
push 0x100021b4
lea eax, [ebp - 0x620]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
push 0x1c
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x630], esi
test esi, esi
jne 0x1002bf55
mov ecx, edi
call fcn.10031a50
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a750
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x634]
mov edx, 0x100414ec
mov ecx, dword [ebp - 0x62c]
push 0
push 0x104
mov dword [eax + 0x10], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, 0xfffe
and word [esi + 0xe], ax
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
call fcn.10022b40
test ax, ax
jne 0x1002c1df
xor edi, edi
jmp 0x1002bfb0
push 0
push edi
push 0x150
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
xor eax, eax
push 0x104
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x418]
push eax
push ebx
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x418], 0
jne 0x1002c011
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x418]
push 0x104
push eax
push ebx
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1002c0d5
cmp ebx, 0xaea2
jne 0x1002c0bd
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c045
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1002c0bd
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c080
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x29
jne 0x1002c0bd
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c0a3
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x28
je 0x1002c0d5
mov ebx, dword [ebp - 0x624]
inc edi
cmp edi, 4
jl 0x1002bfb0
mov esi, dword [ebp - 0x630]
jmp 0x1002c0ec
mov esi, dword [ebp - 0x630]
mov dword [esi + 8], ebx
lea eax, [esi + 8]
mov dword [ebp - 0x63c], eax
cmp edi, 4
jl 0x1002c129
push 0
push 0
push 0x150
push dword [ebp - 0x624]
lea edi, [esi + 8]
mov dword [ebp - 0x63c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x628]
lea edx, [ebp - 0x620]
push 0x100414ec
push 0x10041500
mov dword [edi], eax
call fcn.10055e0e
mov ebx, dword [edi]
cmp ebx, 0xaea2
jne 0x1002c1fa
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c140
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x1002c902
xor eax, eax
mov word [ebp + ecx - 0x210], ax
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c175
sub ecx, edx
lea edx, [ebp - 0x20e]
sar ecx, 1
lea edx, [edx + ecx*2]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c192
mov ebx, dword [ebp - 0x62c]
sub ecx, esi
sar ecx, 1
lea eax, [ebx + 0x6c]
push eax
push ecx
mov ecx, dword [ebx + 0x7c]
call fcn.10032020
mov esi, dword [ebp - 0x630]
mov dword [esi + 4], eax
test eax, eax
jne 0x1002c200
mov ecx, dword [ebp - 0x628]
call fcn.10031a50
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a750
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x150
lea edi, [esi + 8]
push ebx
mov dword [ebp - 0x63c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi], eax
mov ebx, dword [ebp - 0x62c]
cmp dword [ebx + 0x108], 0
mov dword [ebp - 0x624], 4
jne 0x1002c21f
mov ecx, ebx
call fcn.100235f0
test ax, ax
jne 0x1002c26e
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x64c]
push eax
push 0
push 0x10041424
push dword [ebx + 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1002c258
mov eax, 0x19
mov dword [ebp - 0x640], eax
jmp 0x1002c274
cmp dword [ebp - 0x624], 0
jne 0x1002c26e
mov eax, 0x19
mov dword [ebp - 0x640], eax
jmp 0x1002c274
mov eax, dword [ebp - 0x640]
push 0
mov word [esi + 0xc], ax
mov edx, 0x10041460
push 0x104
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
push 0x100413a0
call fcn.10022b40
mov ecx, 0x100414c4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c2a0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x100414c4
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [esi + 0xe]
add esp, 0xc
test eax, eax
jne 0x1002c2d5
or ecx, 4
movzx ecx, cx
jmp 0x1002c2db
and ecx, 0xfffb
push 0
push 0x104
lea eax, [ebp - 0x210]
mov word [esi + 0xe], cx
push eax
push 0x100413a0
mov edx, 0x100413e8
mov ecx, ebx
call fcn.10022b40
mov ecx, 0x1004149c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c306
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x1004149c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [esi + 0xe]
add esp, 0xc
test eax, eax
jne 0x1002c33b
or ecx, 2
movzx ecx, cx
jmp 0x1002c341
and ecx, 0xfffd
mov ebx, dword [ebp - 0x638]
push 0
push 0
push 0x18b
push ebx
mov word [esi + 0xe], cx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [eax - 1]
test edi, edi
jg 0x1002c376
push esi
push 0
push 0x19a
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1002c8ec
lea esi, [edi*8]
sub esi, edi
shl esi, 2
push esi
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002c1c1
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
mov esi, dword [ebp - 0x634]
lea eax, [edi + 1]
add esp, 0xc
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x64c], eax
mov dword [esi + 0x14], ebx
mov word [esi + 0xc], di
test eax, eax
jle 0x1002c8ec
add ebx, 0xe
xor edi, edi
mov dword [ebp - 0x624], ebx
jmp 0x1002c3e0
mov ecx, dword [ebp - 0x638]
lea eax, [ebp - 0x210]
push 0x104
push eax
mov edx, edi
call fcn.100194c0
mov edx, dword [esi + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c401
sub ecx, esi
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push edx
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1002c446
mov esi, dword [ebp - 0x634]
push dword [esi + 0x10]
push edi
push 0x19a
push dword [ebp - 0x638]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1002c8d9
lea esi, [ebx - 0xe]
push esi
push edi
push 0x19a
push dword [ebp - 0x638]
mov dword [ebp - 0x644], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
jmp 0x1002c470
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c470
mov eax, dword [ebp - 0x62c]
sub ecx, edx
sar ecx, 1
lea edx, [ebp - 0x210]
lea edi, [eax + 0x6c]
push edi
push ecx
mov ecx, dword [eax + 0x7c]
call fcn.10032020
mov dword [esi], eax
test eax, eax
je 0x1002c1c1
mov cx, word [ebx]
mov edx, 0xfffe
and cx, dx
or cx, 8
mov word [ebx], cx
lea ecx, [ebp - 0x620]
push ecx
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x100413a0
push 0x100414ec
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002c6c2
mov eax, 0xfff7
mov edi, 0xaea0
and word [ebx], ax
xor ebx, ebx
nop
xor eax, eax
push 0x104
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x418]
push eax
push edi
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x418], 0
jne 0x1002c540
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x418]
push 0x104
push eax
push edi
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1002c5f1
cmp edi, 0xaea2
jne 0x1002c5e1
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c570
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x1002c5e1
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c5a4
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x29
jne 0x1002c5e1
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c5c7
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x28
je 0x1002c5f1
inc edi
inc ebx
cmp edi, 0xaea4
jl 0x1002c4f0
jmp 0x1002c5ff
mov eax, dword [ebp - 0x624]
mov dword [eax - 6], edi
cmp ebx, 4
jl 0x1002c630
mov esi, dword [ebp - 0x644]
lea edx, [ebp - 0x620]
mov ecx, dword [ebp - 0x628]
push 0x100414ec
push dword [esi]
call fcn.1002d640
mov eax, dword [ebp - 0x63c]
mov ebx, dword [ebp - 0x624]
mov edi, dword [eax]
mov dword [ebx - 6], edi
jmp 0x1002c63c
mov ebx, dword [ebp - 0x624]
mov esi, dword [ebp - 0x644]
cmp edi, 0xaea2
jne 0x1002c70f
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c651
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x1002c902
xor eax, eax
mov word [ebp + ecx - 0x210], ax
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c686
sub ecx, edx
lea edx, [ebp - 0x20e]
sar ecx, 1
lea edx, [edx + ecx*2]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c6a3
sub ecx, esi
mov esi, dword [ebp - 0x62c]
sar ecx, 1
lea eax, [esi + 0x6c]
push eax
push ecx
mov ecx, dword [esi + 0x7c]
jmp 0x1002c6fc
mov eax, dword [ebp - 0x63c]
mov eax, dword [eax]
mov dword [ebx - 6], eax
cmp eax, 0xaea2
jne 0x1002c70f
mov edx, dword [ebp - 0x630]
mov edx, dword [edx + 4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c6e2
sub ecx, esi
sar ecx, 1
push edi
push ecx
mov ecx, dword [ebp - 0x62c]
mov ecx, dword [ecx + 0x7c]
call fcn.10032020
mov dword [ebx - 0xa], eax
test eax, eax
je 0x1002c1c1
lea esi, [ebx - 0xe]
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x10041424
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002c75b
mov eax, 0xfff7
and word [ebx], ax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
mov edi, dword [ebp - 0x630]
add esp, 4
movzx eax, ax
jmp 0x1002c765
mov edi, dword [ebp - 0x630]
movzx eax, word [edi + 0xc]
mov word [ebx - 2], ax
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x10041460
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [ebx]
test eax, eax
je 0x1002c7e8
and ecx, 0xfff7
mov word [ebx], cx
mov ecx, 0x100414c4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c7a6
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x100414c4
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [ebx]
add esp, 0xc
test eax, eax
jne 0x1002c7dd
or ecx, 4
movzx ecx, cx
movzx eax, cx
jmp 0x1002c7ff
and ecx, 0xfffb
movzx eax, cx
jmp 0x1002c7ff
and ecx, 0xfffb
mov word [ebx], cx
mov ax, word [edi + 0xe]
and ax, 4
or ax, cx
movzx eax, ax
mov word [ebx], ax
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x100413e8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [ebx]
test eax, eax
je 0x1002c882
and ecx, 0xfff7
mov word [ebx], cx
mov ecx, 0x1004149c
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c840
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x1004149c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [ebx]
add esp, 0xc
test eax, eax
jne 0x1002c877
or ecx, 2
movzx ecx, cx
movzx eax, cx
jmp 0x1002c899
and ecx, 0xfffd
movzx eax, cx
jmp 0x1002c899
and ecx, 0xfffd
mov word [ebx], cx
mov ax, word [edi + 0xe]
and ax, 2
or ax, cx
movzx eax, ax
mov ecx, dword [ebp - 0x628]
mov edx, esi
mov word [ebx], ax
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x650]
call fcn.1002c910
mov esi, dword [ebp - 0x634]
test eax, eax
jne 0x1002c8ca
lea edx, [ebx + 2]
mov ecx, esi
call fcn.1002bda0
mov edi, dword [ebp - 0x648]
add ebx, 0x1c
mov dword [ebp - 0x624], ebx
inc edi
mov dword [ebp - 0x648], edi
cmp edi, dword [ebp - 0x64c]
jl 0x1002c3e0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a750
mov esp, ebp
pop ebp
ret
call fcn.1003a89a
int3