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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x100416e4]
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 - 0x650], 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 0x1002ced4
cmp word [esi], 0
je 0x1002ced4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ceb0
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x1002ced4
push 0x1004334c
push esi
push 0x100021d0
jmp 0x1002cedf
push 0x1004334c
push esi
push 0x100021c4
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 0x1002d90e
mov eax, dword [ebp - 0x638]
mov edx, 0x1004348c
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 0x10043340
call fcn.10023960
test ax, ax
jne 0x1002d160
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 [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x418], 0
jne 0x1002cfc6
mov esi, dword [0x1004332c]
lea eax, [ebp - 0x418]
push 0x104
push eax
push ebx
mov ecx, esi
call dword [0x10044350]
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 0x1002d0ba
cmp ebx, 0xaea2
jne 0x1002d071
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d000
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 0x1002d071
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d034
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x29
jne 0x1002d071
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d057
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x28
je 0x1002d0ba
mov ebx, dword [ebp - 0x624]
inc edi
cmp edi, 4
jl 0x1002cf65
push 0
push 0
push 0x150
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x62c]
lea edx, [ebp - 0x620]
mov ecx, dword [ebp - 0x634]
push 0x1004348c
push 0x100434a0
mov dword [edi + 8], eax
call fcn.1002e650
mov ebx, dword [edi + 8]
jmp 0x1002d0c3
mov edi, dword [ebp - 0x62c]
mov dword [edi + 8], ebx
cmp ebx, 0xaea2
jne 0x1002d173
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
jmp 0x1002d0e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d0e0
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x1002d92c
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 0x1002d115
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 0x1002d132
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.10032f70
mov dword [edi + 4], eax
test eax, eax
jne 0x1002d179
jmp 0x1002d90e
push 0
push 0
push 0x150
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 8], eax
mov ebx, dword [ebp - 0x628]
cmp dword [ebx + 0x108], 0
mov dword [ebp - 0x624], 4
jne 0x1002d198
mov ecx, ebx
call fcn.10024420
test ax, ax
jne 0x1002d1cc
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x648]
push eax
push 0
push 0x100433c4
push dword [ebx + 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002d1d4
cmp dword [ebp - 0x624], eax
je 0x1002d1d4
mov eax, dword [ebp - 0x640]
jmp 0x1002d1df
mov eax, 0x19
mov dword [ebp - 0x640], eax
push 0
mov word [edi + 0xc], ax
mov edx, 0x10043400
push 0x104
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
push 0x10043340
call fcn.10023960
mov ecx, 0x10043464
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d210
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x10043464
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [edi + 0xe]
add esp, 0xc
test eax, eax
jne 0x1002d245
or ecx, 4
movzx ecx, cx
jmp 0x1002d24b
and ecx, 0xfffb
push 0
push 0x104
lea eax, [ebp - 0x210]
mov word [edi + 0xe], cx
push eax
push 0x10043340
mov edx, 0x10043388
mov ecx, ebx
call fcn.10023960
mov ecx, 0x1004343c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d276
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x1004343c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [edi + 0xe]
add esp, 0xc
test eax, eax
jne 0x1002d2ab
or ecx, 2
movzx ecx, cx
jmp 0x1002d2b1
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 0x1002d2f7
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.1003c3b0
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 0x1002d90e
push edi
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x638]
lea edi, [ebx + 0xe]
add esp, 0xc
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x630], edi
mov dword [eax + 0x14], ebx
xor ebx, ebx
mov word [eax + 0xc], si
lea eax, [esi + 1]
mov dword [ebp - 0x648], eax
mov edi, edi
mov ecx, dword [ebp - 0x63c]
lea eax, [ebp - 0x210]
push 0x104
push eax
mov edx, ebx
call fcn.10019c50
mov eax, dword [ebp - 0x638]
mov edx, dword [eax + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d377
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 0x1002d3bc
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 0x1002d8b8
lea eax, [edi - 0xe]
push eax
push ebx
push 0x19a
push dword [ebp - 0x63c]
mov dword [ebp - 0x64c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebp - 0x210]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1002d3e1
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 0x1002d40e
mov edi, 0xa
jmp 0x1002d41a
cmp edi, 0x7fffffff
ja 0x1002d8d6
lea eax, [edi + edi]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002d8d0
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 - 0x64c]
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 0x10043340
push 0x1004348c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002d69a
mov eax, 0xfff7
and word [edi], ax
xor ebx, ebx
mov edi, 0xaea0
jmp 0x1002d4b0
xor eax, eax
push 0x104
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x418]
push eax
push edi
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x418], 0
jne 0x1002d500
mov esi, dword [0x1004332c]
lea eax, [ebp - 0x418]
push 0x104
push eax
push edi
mov ecx, esi
call dword [0x10044350]
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 0x1002d5b7
cmp edi, 0xaea2
jne 0x1002d5a1
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d530
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 0x1002d5a1
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d564
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x212], 0x29
jne 0x1002d5a1
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d587
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x28
je 0x1002d5b7
inc edi
inc ebx
cmp edi, 0xaea4
jl 0x1002d4b0
mov esi, dword [ebp - 0x630]
jmp 0x1002d5c5
mov esi, dword [ebp - 0x630]
mov dword [esi - 6], edi
cmp ebx, 4
jl 0x1002d5ee
mov ebx, dword [ebp - 0x634]
lea edx, [ebp - 0x620]
push 0x1004348c
push dword [esi - 0xe]
mov ecx, ebx
call fcn.1002e650
mov edi, dword [ebp - 0x62c]
mov edi, dword [edi + 8]
mov dword [esi - 6], edi
jmp 0x1002d5f4
mov ebx, dword [ebp - 0x634]
cmp edi, 0xaea2
jne 0x1002d6e5
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d610
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x1002d92c
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 0x1002d645
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 0x1002d662
mov eax, dword [ebp - 0x628]
sub ecx, esi
push dword [ebp - 0x624]
sar ecx, 1
push ecx
mov ecx, dword [eax + 0x7c]
call fcn.10032f70
mov edi, dword [ebp - 0x630]
mov dword [edi - 0xa], eax
test eax, eax
jne 0x1002d6eb
mov ecx, ebx
jmp 0x1002d914
mov esi, dword [ebp - 0x62c]
mov eax, dword [esi + 8]
mov dword [edi - 6], eax
cmp eax, 0xaea2
jne 0x1002d6f1
mov edx, dword [esi + 4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d6b5
mov eax, dword [ebp - 0x628]
sub ecx, esi
push dword [ebp - 0x624]
sar ecx, 1
push ecx
mov ecx, dword [eax + 0x7c]
call fcn.10032f70
mov dword [edi - 0xa], eax
test eax, eax
jne 0x1002d6eb
jmp 0x1002d90e
mov edi, dword [ebp - 0x630]
mov esi, dword [ebp - 0x62c]
lea eax, [ebp - 0x620]
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x10043340
push 0x100433c4
push dword [edi - 0xe]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002d738
mov eax, 0xfff7
and word [edi], ax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
add esp, 4
movzx eax, ax
jmp 0x1002d73c
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 0x10043340
push 0x10043400
push dword [edi - 0xe]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [edi]
test eax, eax
je 0x1002d7c2
and ecx, 0xfff7
mov word [edi], cx
mov ecx, 0x10043464
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d780
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x10043464
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [edi]
add esp, 0xc
test eax, eax
jne 0x1002d7b7
or ecx, 4
movzx ecx, cx
movzx eax, cx
jmp 0x1002d7d9
and ecx, 0xfffb
movzx eax, cx
jmp 0x1002d7d9
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 0x10043340
push 0x10043388
push dword [edi - 0xe]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [edi]
test eax, eax
je 0x1002d862
and ecx, 0xfff7
mov word [edi], cx
mov ecx, 0x1004343c
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d820
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push 0x1004343c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
movzx ecx, word [edi]
add esp, 0xc
test eax, eax
jne 0x1002d857
or ecx, 2
movzx ecx, cx
movzx eax, cx
jmp 0x1002d879
and ecx, 0xfffd
movzx eax, cx
jmp 0x1002d879
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 - 0x650]
call fcn.1002d940
test eax, eax
jne 0x1002d8a9
mov ecx, dword [ebp - 0x638]
lea edx, [edi + 2]
call fcn.1002cd70
mov ebx, dword [ebp - 0x644]
add edi, 0x1c
mov dword [ebp - 0x630], edi
inc ebx
mov dword [ebp - 0x644], ebx
cmp ebx, dword [ebp - 0x648]
jl 0x1002d350
jmp 0x1002d2e1
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, 0x10001bb0
mov ecx, 0x41
push dword [eax + 0x7c]
call fcn.1001a550
mov esi, dword [ebp - 0x630]
mov dword [esi - 0xe], 0
mov ecx, dword [ebp - 0x634]
call fcn.10032980
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret
call fcn.1003c50a
int3