Function at 0x1002f160
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x124c
call fcn.1003c420
mov eax, dword [0x100416e4]
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 0x1002f2b6
xor eax, eax
push 0x104
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x468]
push eax
push 0xaecc
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x468], 0
jne 0x1002f233
mov esi, dword [0x1004338c]
lea eax, [ebp - 0x468]
push 0x104
push eax
push 0xaecc
mov ecx, esi
call dword [0x10044350]
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 [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x6c0], 0
jne 0x1002f28b
mov esi, dword [0x1004338c]
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
push 0xaecd
mov ecx, esi
call dword [0x10044350]
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 0x1002f294
sub ecx, edx
mov eax, 0x12c
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x468]
jmp 0x1002f56d
push dword [ebp - 0x123c]
mov edx, ebx
mov ecx, esi
call fcn.1002ea50
test eax, eax
je 0x1002f59a
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x1002f304
cmp word [edx], 0
je 0x1002f304
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f2e0
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002f304
push 0x100433ac
push edx
push 0x100021c0
jmp 0x1002f30f
push 0x100433ac
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 0x100433a0
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 0x1002f394
cmp word [edx], cx
je 0x1002f394
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f370
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002f394
push 0x100433ac
push edx
push 0x100021c0
jmp 0x1002f39f
push 0x100433ac
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 0x100433a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002f44c
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 0x100433a0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1002f400
mov edi, dword [ebp - 0x1234]
lea eax, [ebp - 0x218]
push eax
push 0x384
lea eax, [ebp - 0x1228]
push eax
push 0x100433a0
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 0x1002f5ad
lea eax, [ebp - 0x218]
push eax
push 0x12c
lea eax, [ebp - 0xb20]
push eax
push 0x100433a0
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 0x1002f4d0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002f4d0
sub edx, edi
mov edi, dword [ebp - 0x1234]
sar edx, 1
lea esi, [esi + edx*2]
add esi, 2
test eax, eax
jne 0x1002f480
push 0x12c
lea edx, [ebp - 0x260]
mov ecx, 0xaece
call fcn.100332d0
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.100332d0
lea ecx, [ebp - 0x6c0]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f550
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.1003bd00
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1002f4ef
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f4ef
test byte [ebx + 0xe], 2
mov eax, 0x1004349c
jne 0x1002f5e0
mov eax, 0x100434b0
lea ecx, [ebp - 0x468]
push ecx
push eax
push 0x100433e8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f4ef
mov edi, dword [ebp - 0x1240]
lea eax, [ebp - 0x468]
mov edx, dword [ebx]
mov ecx, edi
push eax
push ebx
call fcn.1002e8a0
test eax, eax
je 0x1002f4ef
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 0x10043424
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f4ef
test byte [ebx + 0xe], 4
mov eax, 0x100434c4
jne 0x1002f66f
mov eax, 0x100434d8
lea ecx, [ebp - 0x468]
push ecx
push eax
push 0x10043460
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f4ef
mov ecx, dword [ebp - 0x1238]
lea eax, [ebx + 0x10]
mov edx, eax
mov dword [ebp - 0x1244], eax
call fcn.1002c8c0
push dword [ebp - 0x123c]
mov ecx, dword [ebp - 0x122c]
mov edx, ebx
call fcn.1002dbc0
mov edx, dword [edi + 0x2c]
mov esi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x1240], eax
test edx, edx
je 0x1002f6f5
cmp word [edx], 0
je 0x1002f6f5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f6d1
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002f6f5
push 0x100433ac
push edx
push 0x100021c0
jmp 0x1002f700
push 0x100433ac
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 0x100433a0
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 0x1002f7c1
lea eax, [ebp - 0x218]
push eax
push 0x12c
lea eax, [ebp - 0xb20]
push eax
push 0x100433a0
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 0x1002f7a0
sub edx, eax
mov eax, dword [ebp - 0x1234]
sar edx, 1
lea edi, [edi + edx*2]
add edi, 2
test eax, eax
jne 0x1002f747
jmp 0x1002f7dd
test eax, eax
je 0x1002f7dd
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 0x1002f7f9
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
je 0x1002f908
mov ebx, dword [ebp - 0x1244]
mov ebx, dword [ebx]
lea esp, [esp]
test ebx, ebx
je 0x1002f95d
mov edi, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1244], eax
test esi, esi
je 0x1002f8f8
lea esp, [esp]
test edi, edi
je 0x1002f8f2
push dword [edi + 0xc]
push dword [ebx + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1002f8e7
push 0x12c
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x260]
push eax
push 0xaec6
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x260], 0
jne 0x1002f8a5
mov esi, dword [0x1004338c]
lea eax, [ebp - 0x260]
push 0x12c
push eax
push 0xaec6
mov ecx, esi
call dword [0x10044350]
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 0x1002f830
mov eax, dword [ebp - 0x1244]
mov ebx, dword [eax]
test esi, esi
jne 0x1002f810
mov ebx, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x1238]
lea edx, [ebx + 0x10]
call fcn.1002c8c0
cmp dword [ebp - 0x1248], 0
jne 0x1002f59a
mov ecx, dword [ebp - 0x122c]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x123c]
mov edx, ebx
call fcn.1002d4f0
mov ecx, dword [ebp - 0x122c]
mov edx, ebx
call fcn.1002f990
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003bd00
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1002f902
mov edx, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x122c]
call fcn.1002f990
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bd00
mov esp, ebp
pop ebp
ret