Function at 0x1002b9a0
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 - 0x638], eax
mov edi, ecx
mov eax, dword [edx + 4]
push 0x90
push edi
mov dword [ebp - 0x654], edx
mov esi, dword [eax + 0x2c]
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x628], 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 - 0x63c], eax
test esi, esi
je 0x1002ba34
cmp word [esi], 0
je 0x1002ba34
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ba10
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x1002ba34
push 0x100413ac
push esi
push 0x100021c0
jmp 0x1002ba3f
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 edi, eax
add esp, 4
mov dword [ebp - 0x62c], edi
test edi, edi
je 0x1002c4be
mov eax, dword [ebp - 0x638]
mov edx, 0x100414ec
mov ecx, dword [ebp - 0x628]
push 0
push 0x104
mov dword [eax + 0x10], edi
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov eax, 0xfffe
and word [edi + 0xe], ax
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
call fcn.100226c0
test ax, ax
jne 0x1002bcd7
xor edi, edi
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 0x1002bb26
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 0x1002bbec
cmp ebx, 0xaea2
jne 0x1002bbd1
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bb60
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 0x1002bbd1
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bb94
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x29
jne 0x1002bbd1
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bbb7
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x28
je 0x1002bbec
mov ebx, dword [ebp - 0x624]
inc edi
cmp edi, 4
jl 0x1002bac5
mov esi, dword [ebp - 0x62c]
add esi, 8
jmp 0x1002bc02
mov esi, dword [ebp - 0x62c]
add esi, 8
mov dword [ebp - 0x640], esi
mov dword [esi], ebx
cmp edi, 4
jl 0x1002bc3c
push 0
push 0
push 0x150
push dword [ebp - 0x624]
mov dword [ebp - 0x640], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x634]
lea edx, [ebp - 0x620]
push 0x100414ec
push 0x10041500
mov dword [esi], eax
call fcn.10055e2d
mov ebx, dword [esi]
cmp ebx, 0xaea2
jne 0x1002bcf4
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bc51
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x1002c4dc
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 0x1002bc86
sub ecx, edx
lea edx, [ebp - 0x20e]
sar ecx, 1
lea edx, [edx + ecx*2]
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1002bca3
mov ebx, dword [ebp - 0x628]
sub esi, ecx
sar esi, 1
mov ecx, dword [ebx + 0x7c]
lea eax, [ebx + 0x6c]
push eax
push esi
call fcn.10031a80
mov edi, dword [ebp - 0x62c]
mov dword [edi + 4], eax
test eax, eax
jne 0x1002bd00
jmp 0x1002c4be
push 0
push 0
push 0x150
lea esi, [edi + 8]
push ebx
mov dword [ebp - 0x640], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], eax
jmp 0x1002bcfa
mov edi, dword [ebp - 0x62c]
mov ebx, dword [ebp - 0x628]
cmp dword [ebx + 0x108], 0
mov dword [ebp - 0x624], 4
jne 0x1002bd1f
mov ecx, ebx
call fcn.10023140
test ax, ax
jne 0x1002bd53
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x644]
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
jne 0x1002bd5b
cmp dword [ebp - 0x624], eax
je 0x1002bd5b
mov eax, dword [ebp - 0x644]
jmp 0x1002bd66
mov eax, 0x19
mov dword [ebp - 0x644], eax
push 0
mov word [edi + 0xc], ax
mov edx, 0x10041460
push 0x104
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
push 0x100413a0
call fcn.100226c0
mov ecx, 0x100414c4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bd91
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 [edi + 0xe]
add esp, 0xc
test eax, eax
jne 0x1002bdc6
or ecx, 4
movzx ecx, cx
jmp 0x1002bdcc
and ecx, 0xfffb
push 0
push 0x104
lea eax, [ebp - 0x210]
mov word [edi + 0xe], cx
push eax
push 0x100413a0
mov edx, 0x100413e8
mov ecx, ebx
call fcn.100226c0
mov ecx, 0x1004149c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bdf7
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 [edi + 0xe]
add esp, 0xc
test eax, eax
jne 0x1002be2c
or ecx, 2
movzx ecx, cx
jmp 0x1002be32
and ecx, 0xfffd
mov ebx, dword [ebp - 0x63c]
push 0
push 0
push 0x18b
push ebx
mov word [edi + 0xe], cx
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [eax - 1]
test esi, esi
jg 0x1002be78
push edi
push 0
push 0x19a
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret
lea edi, [esi*8]
sub edi, esi
shl edi, 2
push edi
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002c4be
push edi
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x638]
add esp, 0xc
mov dword [ebp - 0x648], 0
mov dword [eax + 0x14], ebx
mov word [eax + 0xc], si
lea eax, [esi + 1]
mov dword [ebp - 0x64c], eax
test eax, eax
jle 0x1002be62
lea edi, [ebx + 0xe]
xor ebx, ebx
mov dword [ebp - 0x630], edi
mov ecx, dword [ebp - 0x63c]
lea eax, [ebp - 0x210]
push 0x104
push eax
mov edx, ebx
call fcn.10018eb0
mov eax, dword [ebp - 0x638]
mov edx, dword [eax + 8]
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bf00
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 0x1002bf45
mov eax, dword [ebp - 0x638]
push dword [eax + 0x10]
push ebx
push 0x19a
push dword [ebp - 0x63c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1002c468
lea eax, [edi - 0xe]
push eax
push ebx
push 0x19a
push dword [ebp - 0x63c]
mov dword [ebp - 0x650], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebp - 0x210]
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1002bf70
mov eax, dword [ebp - 0x628]
sub esi, ecx
sar esi, 1
add eax, 0x6c
mov dword [ebp - 0x624], eax
lea edi, [esi + 1]
cmp edi, 0xa
jae 0x1002bf9d
mov edi, 0xa
jmp 0x1002bfa9
cmp edi, 0x7fffffff
ja 0x1002c486
lea eax, [edi + edi]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002c480
push esi
lea eax, [ebp - 0x210]
push eax
push edi
push ebx
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
mov edi, dword [ebp - 0x630]
xor eax, eax
mov word [ebx + esi*2], ax
add esp, 0x10
mov eax, dword [ebp - 0x650]
mov ecx, 0xfffe
mov dword [eax], ebx
mov ax, word [edi]
and ax, cx
or ax, 8
mov word [edi], ax
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x100414ec
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002c238
mov eax, 0xfff7
and word [edi], ax
xor ebx, ebx
mov edi, 0xaea0
jmp 0x1002c040
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 0x1002c090
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 0x1002c153
cmp edi, 0xaea2
jne 0x1002c13d
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c0c4
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 0x1002c13d
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
jmp 0x1002c100
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c100
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x29
jne 0x1002c13d
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c123
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x28
je 0x1002c153
inc edi
inc ebx
cmp edi, 0xaea4
jl 0x1002c040
mov esi, dword [ebp - 0x630]
jmp 0x1002c161
mov esi, dword [ebp - 0x630]
mov dword [esi - 6], edi
cmp ebx, 4
jl 0x1002c189
mov ebx, dword [ebp - 0x634]
lea edx, [ebp - 0x620]
push 0x100414ec
push dword [esi - 0xe]
mov ecx, ebx
call fcn.1002d220
mov eax, dword [ebp - 0x640]
mov edi, dword [eax]
mov dword [esi - 6], edi
jmp 0x1002c18f
mov ebx, dword [ebp - 0x634]
cmp edi, 0xaea2
jne 0x1002c291
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c1a4
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x1002c4dc
xor eax, eax
mov word [ebp + ecx - 0x210], ax
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c1e0
sub ecx, edx
lea edx, [ebp - 0x20e]
sar ecx, 1
lea edx, [edx + ecx*2]
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c200
mov eax, dword [ebp - 0x628]
sub ecx, esi
push dword [ebp - 0x624]
sar ecx, 1
push ecx
mov ecx, dword [eax + 0x7c]
call fcn.10031a80
mov edi, dword [ebp - 0x630]
mov dword [edi - 0xa], eax
test eax, eax
jne 0x1002c297
mov ecx, ebx
jmp 0x1002c4c4
mov eax, dword [ebp - 0x640]
mov eax, dword [eax]
mov dword [edi - 6], eax
cmp eax, 0xaea2
jne 0x1002c297
mov edx, dword [ebp - 0x62c]
mov edx, dword [edx + 4]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x1002c260
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c260
mov eax, dword [ebp - 0x628]
sub ecx, esi
push dword [ebp - 0x624]
sar ecx, 1
push ecx
mov ecx, dword [eax + 0x7c]
call fcn.10031a80
mov dword [edi - 0xa], eax
test eax, eax
je 0x1002c4be
jmp 0x1002c297
mov edi, dword [ebp - 0x630]
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x10041424
push dword [edi - 0xe]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002c2e4
mov eax, 0xfff7
and word [edi], ax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
mov esi, dword [ebp - 0x62c]
add esp, 4
movzx eax, ax
jmp 0x1002c2ee
mov esi, dword [ebp - 0x62c]
movzx eax, word [esi + 0xc]
mov word [edi - 2], ax
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x10041460
push dword [edi - 0xe]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [edi]
test eax, eax
je 0x1002c372
and ecx, 0xfff7
mov word [edi], cx
mov ecx, 0x100414c4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c330
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 [edi]
add esp, 0xc
test eax, eax
jne 0x1002c367
or ecx, 4
movzx ecx, cx
movzx eax, cx
jmp 0x1002c389
and ecx, 0xfffb
movzx eax, cx
jmp 0x1002c389
and ecx, 0xfffb
mov word [edi], cx
mov ax, word [esi + 0xe]
and ax, 4
or ax, cx
movzx eax, ax
mov word [edi], ax
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x100413a0
push 0x100413e8
push dword [edi - 0xe]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [edi]
test eax, eax
je 0x1002c412
and ecx, 0xfff7
mov word [edi], cx
mov ecx, 0x1004149c
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c3d0
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 [edi]
add esp, 0xc
test eax, eax
jne 0x1002c407
or ecx, 2
movzx ecx, cx
movzx eax, cx
jmp 0x1002c429
and ecx, 0xfffd
movzx eax, cx
jmp 0x1002c429
and ecx, 0xfffd
mov word [edi], cx
mov ax, word [esi + 0xe]
and ax, 2
or ax, cx
movzx eax, ax
mov ecx, dword [ebp - 0x634]
lea edx, [edi - 0xe]
mov word [edi], ax
lea eax, [ebp - 0x620]
push eax
push dword [ebp - 0x654]
call fcn.1002c4f0
test eax, eax
jne 0x1002c459
mov ecx, dword [ebp - 0x638]
lea edx, [edi + 2]
call fcn.1002b8d0
mov ebx, dword [ebp - 0x648]
add edi, 0x1c
mov dword [ebp - 0x630], edi
inc ebx
mov dword [ebp - 0x648], ebx
cmp ebx, dword [ebp - 0x64c]
jl 0x1002bed3
jmp 0x1002be62
mov eax, dword [ebp - 0x624]
push 0
push 0
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xa410
push 0xa4d8
push eax
mov eax, dword [ebp - 0x628]
mov edx, 0x10001ba0
mov ecx, 0x41
push dword [eax + 0x7c]
call fcn.10019780
mov esi, dword [ebp - 0x630]
mov dword [esi - 0xe], 0
mov ecx, dword [ebp - 0x634]
call fcn.100314b0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret
call fcn.1003a318
int3