Function at 0x10003fd4
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xb00
mov ecx, 0x8001
push ebx
push esi
xor ebx, ebx
mov esi, 0x402
push edi
mov edi, dword [ebp + 8]
cmp eax, ecx
ja 0x100043d5
je 0x10004376
sub eax, 0x10
je 0x100043f2
sub eax, 0x100
je 0x1000413c
sub eax, 1
je 0x10004119
sub eax, 0x2ef
jne 0x100046f0
mov eax, dword [ebp + 0x14]
sub eax, 0x25c
je 0x100040da
sub eax, 1
jne 0x100046f0
push ebx
push 0x64
push esi
push 0x3e9
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, 0x1001fd30
call fcn.10001e59
mov ecx, dword [0x1001ff68]
mov esi, eax
inc dword [0x1001fd28]
push 0x204
push ecx
push 0x400
mov dword [ecx + 0x28], ebx
push dword [0x1001f014]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x84]
push esi
call fcn.1000346f
pop ecx
pop ecx
mov ecx, dword [0x1001fa0c]
test ecx, ecx
je 0x100040b3
push 0x12
call fcn.100028b2
push dword [esi + 0x80]
mov ecx, dword [0x1001fa0c]
push 0x13
call fcn.100028f1
mov ecx, esi
call fcn.1000268b
push 0x88
push esi
call fcn.100053a3
pop ecx
pop ecx
push ebx
push ebx
push 0x8001
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100046f0
cmp dword [ebp + 0x10], 0x64
ja 0x100046f0
imul eax, dword [0x1001fd28], 0x64
xor ebx, ebx
push ebx
mov edi, esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add eax, dword [ebp + 0x10]
push eax
push edi
push 0x3eb
push dword [ebp + 8]
call esi
push ebx
push dword [ebp + 0x10]
push edi
push 0x3e9
push dword [ebp + 8]
call esi
jmp 0x100046f0
mov eax, 0x3ed
cmp word [ebp + 0x10], ax
jne 0x100046f0
xor ebx, ebx
push ebx
push ebx
push 0x800c
push edi
call fcn.10003fd4
jmp 0x100046f0
push 0x140
push 1
mov dword [0x1001fa10], edi
call fcn.10008d24
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ebx, ebx
pop ecx
pop ecx
push 0x64
push ebx
push 0x406
push 0x3e9
push edi
mov dword [0x1001ff68], eax
call esi
imul eax, dword [0x1001fd24], 0x64
push eax
push ebx
push 0x406
push 0x3eb
push edi
call esi
push ebx
push ebx
push 0x402
push 0x3e9
push edi
call esi
push ebx
push ebx
push 0x402
push 0x3eb
push edi
call esi
push ebx
push ebx
push 0x8001
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x1001fa18
push 0xffffffffffffffff
push str.convert_x
push 0x10017410
call esi
push 0x1001fa18
push 0xffffffffffffffff
push str.convert_y
push 0x10017410
mov dword [ebp + 8], eax
call esi
mov esi, dword [ebp + 8]
push eax
push esi
push edi
mov dword [ebp + 0x10], eax
call fcn.100046f9
add esp, 0xc
test eax, eax
jne 0x1000420b
push 0x441
push ebx
push ebx
push dword [ebp + 0x10]
push esi
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x100046f0
push 8
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100046f0
mov byte [0x1001fa15], bl
push dword [eax + 0x84]
call fcn.10005021
mov dword [esp], 0x140
push ebx
push dword [0x1001ff68]
call fcn.10006730
mov ecx, dword [0x1001ff68]
add esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push ebx
mov dword [ecx + 0x28], edi
mov eax, dword [edx]
push esi
mov dword [ecx], eax
mov eax, dword [edx + 0x84]
push 0x3e9
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x80]
push edi
mov dword [ecx + 8], eax
mov dword [ecx + 0x20], 0x20494e49
mov dword [ecx + 0x24], 0x1001fc20
mov dword [ecx + 0x2c], 0x100173a0
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x800
lea eax, [ebp - 0xb00]
push ebx
push eax
call fcn.10006730
mov edx, dword [ebp + 8]
mov eax, 0x100173a0
mov ecx, eax
cmp dword [edx + 4], ebx
cmovne ecx, dword [edx + 4]
cmp dword [edx + 0xc], ebx
push ecx
cmovne eax, dword [edx + 0xc]
push eax
push str._s____s
lea eax, [ebp - 0xb00]
push 0x400
push eax
call fcn.100029cf
add esp, 0x20
lea eax, [ebp - 0xb00]
push eax
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x203
push dword [0x1001ff68]
push 0x400
push dword [0x1001f014]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x100045fb
mov eax, dword [0x1001ff68]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x10004343
cmp word [eax], bx
je 0x10004343
mov ecx, dword [0x1001fa00]
push ebx
push ebx
push 2
push dword [0x1001fa08]
push dword [0x1001fa04]
push ebx
push 0xb
call fcn.100025a1
push 0x30
push eax
mov eax, dword [0x1001ff68]
push dword [eax + 0x2c]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0x1001fd30
call fcn.10001e59
mov dword [ebp + 8], eax
test eax, eax
je 0x1000436a
mov ecx, eax
call fcn.1000268b
push 0x88
push dword [ebp + 8]
call fcn.100053a3
pop ecx
pop ecx
inc dword [0x1001fd28]
inc dword [0x1001fd2c]
mov ecx, 0x1001fd30
call fcn.10001e37
mov dword [ebp + 8], eax
test eax, eax
jne 0x10004219
mov ecx, dword [0x1001fa00]
push ebx
push ebx
push 1
push dword [0x1001fa08]
push dword [0x1001fa04]
push ebx
push 0xb
call fcn.100025a1
push eax
push 0x3ed
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
push ebx
push 0x800b
push dword [0x1001fa10]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x1001fa15], 1
jmp 0x100046f0
sub eax, 0x800a
je 0x100045fb
sub eax, 1
je 0x1000464f
sub eax, 1
jne 0x100046f0
mov eax, dword [0x1001ff68]
xor ebx, ebx
mov byte [0x1001fa14], bl
mov dword [eax + 0x28], ebx
cmp byte [0x1001fa15], bl
jne 0x10004421
push 0x204
push eax
push 0x400
push dword [0x1001f014]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x1001fd30
jmp 0x10004534
push dword [esi + 0x84]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004520
push 0x80
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.10006730
push 0x400
lea eax, [ebp - 0x700]
push ebx
push eax
call fcn.10006730
push 0x208
lea eax, [ebp - 0x300]
push ebx
push eax
call fcn.10006730
add esp, 0x24
lea eax, [ebp - 0x300]
push 0x104
push dword [esi + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov ecx, dword [0x1001fa00]
lea eax, [ebp - 0x300]
push eax
push ebx
push ebx
push 0xc
push dword [0x1001fa08]
push dword [0x1001fa04]
push ebx
push 0xb
call fcn.100025a1
push eax
lea eax, [ebp - 0x700]
push 0x200
push eax
call fcn.100029cf
mov ecx, dword [0x1001fa00]
lea eax, [ebp - 0xb0]
add esp, 0x10
push 0x40
push eax
push 0xb
push dword [0x1001fa08]
push dword [0x1001fa04]
push ebx
push 0xb
call fcn.100025a1
push 4
push eax
lea eax, [ebp - 0x700]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x10004520
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.1000268b
push 0x88
push esi
call fcn.100053a3
pop ecx
pop ecx
mov ecx, edi
call fcn.10001e59
mov esi, eax
test esi, esi
jne 0x1000442b
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 8
pop ecx
push dword [ebp - 0x10]
xor eax, eax
lea edi, [ebp - 0x30]
push 0x10017460
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push 0x10
push eax
call fcn.100029cf
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x30]
add esp, 0x10
mov edi, 0x1001fa18
push edi
push eax
push str.convert_x
push 0x10017410
call esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push 0x10017460
push 0x10
push eax
call fcn.100029cf
add esp, 0x10
lea eax, [ebp - 0x30]
push edi
push eax
push str.convert_y
push 0x10017410
call esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [0x1001ff68]
mov dword [0x1001fd28], ebx
mov dword [0x1001fd24], ebx
mov dword [0x1001fd2c], ebx
mov dword [0x1001fa10], ebx
mov byte [0x1001fa14], bl
mov byte [0x1001fa15], bl
call fcn.100087c3
pop ecx
jmp 0x100046f0
push 3
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [0x1001fa15], bl
je 0x1000464f
mov ecx, dword [0x1001fa00]
push ebx
push ebx
push 3
push dword [0x1001fa08]
push dword [0x1001fa04]
push ebx
push 0xb
call fcn.100025a1
push eax
push 0x3ed
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
push ebx
push 0x8001
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100046f0
imul eax, dword [0x1001fd24], 0x64
push eax
push ebx
push 0x406
push 0x3eb
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
imul eax, dword [0x1001fd28], 0x64
push ebx
push eax
push esi
push 0x3eb
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0xc8
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.10006730
mov ecx, dword [0x1001fa00]
add esp, 0xc
push ebx
push ebx
push 4
push dword [0x1001fa08]
push dword [0x1001fa04]
push ebx
push 0xb
call fcn.100025a1
mov esi, dword [0x1001fd2c]
mov ecx, dword [0x1001fd24]
mov edx, dword [0x1001fd28]
sub ecx, edx
push esi
push ecx
sub edx, esi
push edx
push eax
lea eax, [ebp - 0xf8]
push 0x64
push eax
call fcn.100029cf
add esp, 0x18
lea eax, [ebp - 0xf8]
push eax
push 0x3ec
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10