Function at 0x1002e1a0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x124c
call fcn.1003a8f0
mov eax, dword [0x1003f6e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
mov esi, ecx
push edi
mov dword [ebp - 0x123c], eax
push 0
mov edi, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1238], eax
mov dword [ebp - 0x122c], esi
mov dword [ebp - 0x1240], edi
movsx eax, word [eax + 0x2f0]
push eax
push 0x199
push 0x8e
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov eax, dword [ebp - 0x1238]
mov dword [ebp - 0x1230], ebx
test byte [eax + 0x2f2], 1
jne 0x1002e2f6
xor eax, eax
push 0x104
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x468]
push eax
push 0xaecc
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x468], 0
jne 0x1002e273
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x468]
push 0x104
push eax
push 0xaecc
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
push 0x12c
mov word [ebp - 0x6c0], ax
lea eax, [ebp - 0x6c0]
push eax
push 0xaecd
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x6c0], 0
jne 0x1002e2cb
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
push 0xaecd
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x6c0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e2d4
sub ecx, edx
mov eax, 0x12c
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x468]
jmp 0x1002e5ad
push dword [ebp - 0x123c]
mov edx, ebx
mov ecx, esi
call fcn.1002da90
test eax, eax
je 0x1002e5da
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x1002e344
cmp word [edx], 0
je 0x1002e344
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e320
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002e344
push 0x100413ac
push edx
push 0x100021c0
jmp 0x1002e34f
push 0x100413ac
push edx
push 0x100021b4
lea eax, [ebp - 0x468]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x468]
push eax
push 0x12c
lea eax, [ebp - 0x6c0]
push eax
push 0x100413a0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [edi + 0x2c]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
xor esi, esi
inc eax
mov dword [ebp - 0x1248], eax
mov eax, dword [ebx]
mov dword [ebp - 0x1234], eax
test edx, edx
je 0x1002e3d4
cmp word [edx], cx
je 0x1002e3d4
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e3b0
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002e3d4
push 0x100413ac
push edx
push 0x100021c0
jmp 0x1002e3df
push 0x100413ac
push edx
push 0x100021b4
lea eax, [ebp - 0x218]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x8c8]
push 0
push 0x10003c08
push 0x10003c24
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
push 0x384
lea eax, [ebp - 0x1228]
push eax
push 0x100413a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002e48c
inc esi
lea eax, [ebp - 0x8c8]
push esi
push 0x10003c08
push 0x10003c24
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
push 0x384
lea eax, [ebp - 0x1228]
push eax
push 0x100413a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1002e440
mov edi, dword [ebp - 0x1234]
lea eax, [ebp - 0x218]
push eax
push 0x384
lea eax, [ebp - 0x1228]
push eax
push 0x100413a0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x1228]
mov eax, 1
mov edi, edi
cmp word [esi], 0
je 0x1002e5ed
lea eax, [ebp - 0x218]
push eax
push 0x12c
lea eax, [ebp - 0xb20]
push eax
push 0x100413a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xb20]
push eax
push esi
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, esi
lea edi, [edx + 2]
jmp 0x1002e510
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002e510
sub edx, edi
mov edi, dword [ebp - 0x1234]
sar edx, 1
lea esi, [esi + edx*2]
add esi, 2
test eax, eax
jne 0x1002e4c0
push 0x12c
lea edx, [ebp - 0x260]
mov ecx, 0xaece
call fcn.10032350
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x260]
push eax
push 0x12b
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll__snwprintf_s]
add esp, 0x14
lea edx, [ebp - 0x260]
mov ecx, 0xaecc
push 0x12c
call fcn.10032350
lea ecx, [ebp - 0x6c0]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e590
sub ecx, edx
mov eax, 0x12c
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x6c0]
push 0x10
push 0
push eax
push dword [ebp - 0x122c]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1002e52f
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e52f
test byte [ebx + 0xe], 2
mov eax, 0x1004149c
jne 0x1002e620
mov eax, 0x100414b0
lea ecx, [ebp - 0x468]
push ecx
push eax
push 0x100413e8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e52f
mov edi, dword [ebp - 0x1240]
lea eax, [ebp - 0x468]
mov edx, dword [ebx]
mov ecx, edi
push eax
push ebx
call fcn.10055c1c
test eax, eax
je 0x1002e52f
movzx eax, word [ebx + 0xc]
mov esi, dword [ebx]
push eax
push 0x10003bf8
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x10041424
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e52f
test byte [ebx + 0xe], 4
mov eax, 0x100414c4
jne 0x1002e6af
mov eax, 0x100414d8
lea ecx, [ebp - 0x468]
push ecx
push eax
push 0x10041460
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e52f
mov ecx, dword [ebp - 0x1238]
lea eax, [ebx + 0x10]
mov edx, eax
mov dword [ebp - 0x1244], eax
call fcn.1002b8d0
push dword [ebp - 0x123c]
mov ecx, dword [ebp - 0x122c]
mov edx, ebx
call fcn.1002cc00
mov edx, dword [edi + 0x2c]
mov esi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x1240], eax
test edx, edx
je 0x1002e735
cmp word [edx], 0
je 0x1002e735
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e711
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002e735
push 0x100413ac
push edx
push 0x100021c0
jmp 0x1002e740
push 0x100413ac
push edx
push 0x100021b4
lea eax, [ebp - 0x218]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
push 0x384
lea eax, [ebp - 0x1228]
push eax
push 0x100413a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [ebp - 0x1228]
mov eax, 1
cmp word [edi], 0
je 0x1002e801
lea eax, [ebp - 0x218]
push eax
push 0x12c
lea eax, [ebp - 0xb20]
push eax
push 0x100413a0
push edi
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xb20]
push eax
push edi
push dword [ebp - 0x1240]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, edi
mov dword [ebp - 0x1234], eax
lea eax, [edx + 2]
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002e7e0
sub edx, eax
mov eax, dword [ebp - 0x1234]
sar edx, 1
lea edi, [edi + edx*2]
add edi, 2
test eax, eax
jne 0x1002e787
jmp 0x1002e81d
test eax, eax
je 0x1002e81d
lea eax, [ebp - 0x218]
push eax
push 0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x1248], 0
je 0x1002e839
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
je 0x1002e948
mov ebx, dword [ebp - 0x1244]
mov ebx, dword [ebx]
lea esp, [esp]
test ebx, ebx
je 0x1002e99d
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1244], eax
test esi, esi
je 0x1002e938
lea esp, [esp]
test edi, edi
je 0x1002e932
push dword [edi + 0xc]
push dword [ebx + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1002e927
push 0x12c
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x260]
push eax
push 0xaec6
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x260], 0
jne 0x1002e8e5
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x260]
push 0x12c
push eax
push 0xaec6
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x1230]
push dword [eax]
lea eax, [ebp - 0x260]
push eax
push 0x12b
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll__snwprintf_s]
add esp, 0x14
lea eax, [ebp - 0x6c0]
push 0x10
push 0
push eax
push dword [ebp - 0x122c]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor esi, esi
mov edi, dword [edi + 4]
test esi, esi
jne 0x1002e870
mov eax, dword [ebp - 0x1244]
mov ebx, dword [eax]
test esi, esi
jne 0x1002e850
mov ebx, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x1238]
lea edx, [ebx + 0x10]
call fcn.1002b8d0
cmp dword [ebp - 0x1248], 0
jne 0x1002e5da
mov ecx, dword [ebp - 0x122c]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x123c]
mov edx, ebx
call fcn.1002c4f0
mov ecx, dword [ebp - 0x122c]
mov edx, ebx
call fcn.1002e9d0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1002e942
mov edx, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x122c]
call fcn.1002e9d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret