Function at 0x1002e5e0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x242c
call fcn.1003aec0
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 - 0x241c], eax
push 0
mov edi, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2418], eax
mov dword [ebp - 0x240c], esi
mov dword [ebp - 0x2420], 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 - 0x2418]
mov dword [ebp - 0x2410], ebx
test byte [eax + 0x2f2], 1
jne 0x1002e736
xor eax, eax
push 0x104
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0xaecc
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x210], 0
jne 0x1002e6b3
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x210]
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 - 0x468], ax
lea eax, [ebp - 0x468]
push eax
push 0xaecd
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x468], 0
jne 0x1002e70b
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x468]
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 - 0x468]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e714
sub ecx, edx
mov eax, 0x12c
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x210]
jmp 0x1002ea6d
push dword [ebp - 0x241c]
mov edx, ebx
mov ecx, esi
call fcn.1002dee0
test eax, eax
je 0x1002ea9a
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x1002e784
cmp word [edx], 0
je 0x1002e784
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e760
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002e784
push 0x100413ac
push edx
push 0x100021c0
jmp 0x1002e78f
push 0x100413ac
push edx
push 0x100021b4
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
push 0x12c
lea eax, [ebp - 0x468]
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 - 0x2428], eax
mov eax, dword [ebx]
mov dword [ebp - 0x2414], eax
test edx, edx
je 0x1002e814
cmp word [edx], cx
je 0x1002e814
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e7f0
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002e814
push 0x100413ac
push edx
push 0x100021c0
jmp 0x1002e81f
push 0x100413ac
push edx
push 0x100021b4
lea eax, [ebp - 0xad8]
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 - 0xad8]
push eax
push 0x384
lea eax, [ebp - 0x1d00]
push eax
push 0x100413a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002e8cc
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 - 0xad8]
push eax
push 0x384
lea eax, [ebp - 0x1d00]
push eax
push 0x100413a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1002e880
mov edi, dword [ebp - 0x2414]
lea eax, [ebp - 0xad8]
push eax
push 0x384
lea eax, [ebp - 0x1d00]
push eax
push 0x100413a0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x1d00]
mov eax, 1
mov edi, edi
cmp word [esi], 0
je 0x1002eaad
lea eax, [ebp - 0xad8]
push eax
push 0x12c
lea eax, [ebp - 0x13a0]
push eax
push 0x100413a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xad8]
push eax
lea eax, [ebp - 0x13a0]
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 0x1002e950
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002e950
sub edx, edi
mov edi, dword [ebp - 0x2414]
sar edx, 1
lea esi, [esi + edx*2]
add esi, 2
test eax, eax
jne 0x1002e900
xor eax, eax
push 0x12c
mov word [ebp - 0x6c0], ax
lea eax, [ebp - 0x6c0]
push eax
push 0xaece
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x6c0], 0
jne 0x1002e9c7
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
push 0xaece
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 - 0x6c0]
push eax
push 0x12b
lea eax, [ebp - 0x468]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll__snwprintf_s]
add esp, 0x14
xor eax, eax
mov word [ebp - 0x6c0], ax
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
push 0xaecc
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x6c0], 0
jne 0x1002ea47
mov esi, dword [0x1004138c]
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
push 0xaecc
mov ecx, esi
call dword [0x10042350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x468]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ea50
sub ecx, edx
mov eax, 0x12c
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x6c0]
push eax
lea eax, [ebp - 0x468]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x468]
push 0x10
push 0
push eax
push dword [ebp - 0x240c]
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.1003a750
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1002e96f
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e96f
test byte [ebx + 0xe], 2
mov eax, 0x1004149c
jne 0x1002eae0
mov eax, 0x100414b0
lea ecx, [ebp - 0x210]
push ecx
push eax
push 0x100413e8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e96f
mov edi, dword [ebp - 0x2420]
lea eax, [ebp - 0x210]
mov edx, dword [ebx]
mov ecx, edi
push eax
push ebx
call fcn.10055e87
test eax, eax
je 0x1002e96f
movzx eax, word [ebx + 0xc]
mov esi, dword [ebx]
push eax
push 0x10003bf8
lea eax, [ebp - 0x1148]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x1148]
push eax
push 0x10041424
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e96f
test byte [ebx + 0xe], 4
mov eax, 0x100414c4
jne 0x1002eb6f
mov eax, 0x100414d8
lea ecx, [ebp - 0x210]
push ecx
push eax
push 0x10041460
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002e96f
mov ecx, dword [ebp - 0x2418]
lea eax, [ebx + 0x10]
mov edx, eax
mov dword [ebp - 0x2424], eax
call fcn.1002bda0
push dword [ebp - 0x241c]
mov ecx, dword [ebp - 0x240c]
mov edx, ebx
call fcn.1002d020
mov edx, dword [edi + 0x2c]
mov esi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x2420], eax
test edx, edx
je 0x1002ebf5
cmp word [edx], 0
je 0x1002ebf5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ebd1
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002ebf5
push 0x100413ac
push edx
push 0x100021c0
jmp 0x1002ec00
push 0x100413ac
push edx
push 0x100021b4
lea eax, [ebp - 0xce8]
push 0x105
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0xce8]
push eax
push 0x384
lea eax, [ebp - 0x2408]
push eax
push 0x100413a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edi, [ebp - 0x2408]
mov eax, 1
cmp word [edi], 0
je 0x1002ecc1
lea eax, [ebp - 0xce8]
push eax
push 0x12c
lea eax, [ebp - 0x15f8]
push eax
push 0x100413a0
push edi
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xce8]
push eax
lea eax, [ebp - 0x15f8]
push eax
push edi
push dword [ebp - 0x2420]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, edi
mov dword [ebp - 0x2414], eax
lea eax, [edx + 2]
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002eca0
sub edx, eax
mov eax, dword [ebp - 0x2414]
sar edx, 1
lea edi, [edi + edx*2]
add edi, 2
test eax, eax
jne 0x1002ec47
jmp 0x1002ecdd
test eax, eax
je 0x1002ecdd
lea eax, [ebp - 0xce8]
push eax
push 0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x2428], 0
je 0x1002ecf9
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
je 0x1002ee08
mov ebx, dword [ebp - 0x2424]
mov ebx, dword [ebx]
lea esp, [esp]
test ebx, ebx
je 0x1002ee5d
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x2424], eax
test esi, esi
je 0x1002edf8
lea esp, [esp]
test edi, edi
je 0x1002edf2
push dword [edi + 0xc]
push dword [ebx + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1002ede7
push 0x12c
mov word [ebp - 0xf40], ax
lea eax, [ebp - 0xf40]
push eax
push 0xaec6
push dword [0x10041578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0xf40], 0
jne 0x1002eda5
mov esi, dword [0x1004138c]
lea eax, [ebp - 0xf40]
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 - 0x2410]
push dword [eax]
lea eax, [ebp - 0xf40]
push eax
push 0x12b
lea eax, [ebp - 0x468]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll__snwprintf_s]
add esp, 0x14
lea eax, [ebp - 0x468]
push 0x10
push 0
push eax
push dword [ebp - 0x240c]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor esi, esi
mov edi, dword [edi + 4]
test esi, esi
jne 0x1002ed30
mov eax, dword [ebp - 0x2424]
mov ebx, dword [eax]
test esi, esi
jne 0x1002ed10
mov ebx, dword [ebp - 0x2410]
mov ecx, dword [ebp - 0x2418]
lea edx, [ebx + 0x10]
call fcn.1002bda0
cmp dword [ebp - 0x2428], 0
jne 0x1002ea9a
mov ecx, dword [ebp - 0x240c]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x241c]
mov edx, ebx
call fcn.1002c910
mov ecx, dword [ebp - 0x240c]
mov edx, ebx
call fcn.1002ee90
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
test esi, esi
je 0x1002ee02
mov edx, dword [ebp - 0x2410]
mov ecx, dword [ebp - 0x240c]
call fcn.1002ee90
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