Function at 0x1002f630
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x124c
call fcn.1003cb10
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 - 0x1244], 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 0x1002f786
xor eax, eax
push 0x104
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x468]
push eax
push 0xaecc
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x468], 0
jne 0x1002f703
mov esi, dword [0x1004332c]
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 [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x6c0], 0
jne 0x1002f75b
mov esi, dword [0x1004332c]
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 0x1002f764
sub ecx, edx
mov eax, 0x12c
sar ecx, 1
sub eax, ecx
push eax
lea eax, [ebp - 0x468]
jmp 0x1002fa3d
push dword [ebp - 0x123c]
mov edx, ebx
mov ecx, esi
call fcn.1002ef20
test eax, eax
je 0x1002fa6a
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x1002f7d4
cmp word [edx], 0
je 0x1002f7d4
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f7b0
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002f7d4
push 0x1004334c
push edx
push 0x100021d0
jmp 0x1002f7df
push 0x1004334c
push edx
push 0x100021c4
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 0x10043340
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 0x1002f864
cmp word [edx], cx
je 0x1002f864
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f840
sub ecx, edi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002f864
push 0x1004334c
push edx
push 0x100021d0
jmp 0x1002f86f
push 0x1004334c
push edx
push 0x100021c4
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 0x10003bf0
push 0x10003c0c
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 0x10043340
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002f91c
inc esi
lea eax, [ebp - 0x8c8]
push esi
push 0x10003bf0
push 0x10003c0c
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 0x10043340
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1002f8d0
mov edi, dword [ebp - 0x1234]
lea eax, [ebp - 0x218]
push eax
push 0x384
lea eax, [ebp - 0x1228]
push eax
push 0x10043340
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x1228]
lea esp, [esp]
cmp word [esi], 0
je 0x1002fa7d
lea eax, [ebp - 0x218]
push eax
push 0x12c
lea eax, [ebp - 0xb20]
push eax
push 0x10043340
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 0x1002f9a0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002f9a0
sub edx, edi
mov edi, dword [ebp - 0x1234]
sar edx, 1
lea esi, [esi + edx*2]
add esi, 2
test eax, eax
jne 0x1002f950
push 0x12c
lea edx, [ebp - 0x260]
mov ecx, 0xaece
call fcn.100338a0
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.100338a0
lea ecx, [ebp - 0x6c0]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002fa20
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.1003c3b0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f9bf
test byte [ebx + 0xe], 2
mov eax, 0x1004343c
jne 0x1002faa8
mov eax, 0x10043450
lea ecx, [ebp - 0x468]
push ecx
push eax
push 0x10043388
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f9bf
mov edx, dword [ebx]
lea eax, [ebp - 0x468]
mov ecx, dword [ebp - 0x1244]
push eax
push ebx
call fcn.1002ecc0
test eax, eax
je 0x1002f9bf
movzx eax, word [ebx + 0xc]
mov esi, dword [ebx]
push eax
push 0x10003be0
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 0x100433c4
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f9bf
test byte [ebx + 0xe], 4
mov eax, 0x10043464
jne 0x1002fb35
mov eax, 0x10043478
lea ecx, [ebp - 0x468]
push ecx
push eax
push 0x10043400
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x1002f9bf
mov ecx, dword [ebp - 0x1238]
lea eax, [ebx + 0x10]
mov edx, eax
mov dword [ebp - 0x1240], eax
call fcn.1002cd70
push dword [ebp - 0x123c]
mov ecx, dword [ebp - 0x122c]
mov edx, ebx
call fcn.1002e010
mov ebx, dword [ebx]
mov edi, eax
mov eax, dword [ebp - 0x1244]
mov dword [ebp - 0x1234], ebx
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x1002fbc4
cmp word [edx], 0
je 0x1002fbc4
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002fba0
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x1002fbc4
push 0x1004334c
push edx
push 0x100021d0
jmp 0x1002fbcf
push 0x1004334c
push edx
push 0x100021c4
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 0x10043340
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x1228]
cmp word [esi], 0
lea eax, [ebp - 0x218]
push eax
je 0x1002fc81
push 0x12c
lea eax, [ebp - 0xb20]
push eax
push 0x10043340
push esi
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 esi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, esi
lea ebx, [edx + 2]
jmp 0x1002fc60
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002fc60
sub edx, ebx
mov ebx, dword [ebp - 0x1234]
sar edx, 1
lea esi, [esi + edx*2]
add esi, 2
test eax, eax
jne 0x1002fc11
jmp 0x1002fc92
push 0
push 0
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x1248], 0
je 0x1002fcb4
mov esi, dword [ebp - 0x1230]
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test edi, edi
je 0x1002fd00
mov ebx, dword [ebp - 0x1240]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002fdf7
mov esi, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1240], eax
test edi, edi
je 0x1002fcfa
test esi, esi
je 0x1002fcf4
push dword [esi + 0xc]
push dword [ebx + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1002fd59
mov esi, dword [esi + 4]
jmp 0x1002fcd8
mov eax, dword [ebp - 0x1240]
mov ebx, dword [eax]
test edi, edi
jne 0x1002fcc0
mov esi, dword [ebp - 0x122c]
mov ebx, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x1238]
lea edx, [ebx + 0x10]
call fcn.1002cd70
cmp dword [ebp - 0x1248], 0
jne 0x1002fa6a
lea eax, [ebp - 0x468]
mov edx, ebx
push eax
push dword [ebp - 0x123c]
mov ecx, esi
call fcn.1002d940
mov edx, ebx
mov ecx, esi
call fcn.1002fe30
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x12c
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x260]
push eax
push 0xaec6
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x260], 0
jne 0x1002fdb1
mov esi, dword [0x1004332c]
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 ebx, dword [ebp - 0x1230]
lea eax, [ebp - 0x260]
push dword [ebx]
push eax
push 0x12b
lea eax, [ebp - 0x6c0]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll__snwprintf_s]
mov esi, dword [ebp - 0x122c]
lea eax, [ebp - 0x6c0]
add esp, 0x14
push 0x10
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1002fd0c
mov edx, dword [ebp - 0x1230]
mov ecx, dword [ebp - 0x122c]
call fcn.1002fe30
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret