Function at 0x40fa60
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454529
mov eax, dword fs:[0]
push eax
mov eax, 0x10e0
call fcn.0042aaa0
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
cmp byte [0x47b038], 0
mov dword [ebp - 4], 1
je 0x40ffff
sub esp, 0x18
mov ecx, esp
push str.warningMessageLog.temp
call fcn.00403480
lea eax, [ebp - 0x1040]
push eax
call fcn.00409810
add esp, 4
mov byte [ebp - 4], 2
mov ecx, esp
push str.warningMessageLog.txt
call fcn.00403480
lea eax, [ebp - 0x1028]
push eax
call fcn.00409810
cmp dword [ebp - 0x102c], 8
lea eax, [ebp - 0x1040]
push 0x458d18
cmovae eax, dword [ebp - 0x1040]
push eax
mov byte [ebp - 4], 3
call fcn.0043b58a
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x40ff8d
push ebx
push 3
push 1
push 0x47b018
call fcn.00433d90
add esp, 0x10
lea ecx, [ebp - 0x10d0]
push 0x458d64
call fcn.00403480
mov edx, str.MB_ICONERROR
mov byte [ebp - 4], 4
cmp esi, 0x30
mov ecx, str.MB_ICONEXCLAMATION
cmovne ecx, edx
push ecx
push eax
lea eax, [ebp - 0x10a0]
push eax
call fcn.00409450
add esp, 0xc
mov eax, dword [ebp - 0x10bc]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x40fb7c
inc eax
lea ecx, [ebp - 0x10d0]
push eax
push dword [ebp - 0x10d0]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x10bc], 7
push 0x458d70
mov dword [ebp - 0x10c0], 0
mov word [ebp - 0x10d0], ax
call fcn.0040f9b0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403660
lea eax, [ebp - 0x10b8]
push eax
call fcn.0040bb00
add esp, 0x1c
mov esi, eax
push 0x458d74
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 7
call fcn.00403480
push esi
push eax
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 8
push eax
call fcn.0040f780
add esp, 0xc
push eax
lea eax, [ebp - 0x10e8]
mov byte [ebp - 4], 9
push eax
call fcn.00409450
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0xa
call fcn.00409620
mov eax, dword [ebp - 0x10d4]
cmp eax, 8
jb 0x40fc2e
inc eax
lea ecx, [ebp - 0x10e8]
push eax
push dword [ebp - 0x10e8]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x10d4], 7
mov word [ebp - 0x10e8], ax
mov eax, dword [ebp - 0x1044]
mov dword [ebp - 0x10d8], 0
cmp eax, 8
jb 0x40fc69
inc eax
lea ecx, [ebp - 0x1058]
push eax
push dword [ebp - 0x1058]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
mov eax, dword [ebp - 0x105c]
mov dword [ebp - 0x1048], 0
cmp eax, 8
jb 0x40fca4
inc eax
lea ecx, [ebp - 0x1070]
push eax
push dword [ebp - 0x1070]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x105c], 7
mov word [ebp - 0x1070], ax
mov eax, dword [ebp - 0x10a4]
mov dword [ebp - 0x1060], 0
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x40fce3
inc eax
lea ecx, [ebp - 0x10b8]
push eax
push dword [ebp - 0x10b8]
call fcn.004041b0
push 0x458d70
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.004094b0
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.00409410
push 0x458d70
push eax
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 0xc
push eax
call fcn.00409450
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0xd
call fcn.00409620
mov eax, dword [ebp - 0x105c]
cmp eax, 8
jb 0x40fd58
inc eax
lea ecx, [ebp - 0x1070]
push eax
push dword [ebp - 0x1070]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x105c], 7
mov word [ebp - 0x1070], ax
mov eax, dword [ebp - 0x1044]
mov dword [ebp - 0x1060], 0
cmp eax, 8
jb 0x40fd93
inc eax
lea ecx, [ebp - 0x1058]
push eax
push dword [ebp - 0x1058]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
mov eax, dword [ebp - 0x10a4]
mov dword [ebp - 0x1048], 0
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x40fdd2
inc eax
lea ecx, [ebp - 0x10b8]
push eax
push dword [ebp - 0x10b8]
call fcn.004041b0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x10a0]
push eax
call fcn.00404320
lea eax, [ebp - 0x1088]
push eax
call fcn.0040b7c0
cmp dword [ebp - 0x1074], 0x10
lea eax, [ebp - 0x1088]
push ebx
push dword [ebp - 0x1078]
cmovae eax, dword [ebp - 0x1088]
push 1
push eax
call fcn.00433d90
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push 0x458c68
cmovae eax, dword [ebp - 0x1028]
push eax
call fcn.0043b58a
mov edi, eax
add esp, 0x34
test edi, edi
je 0x40febc
mov esi, 3
push edi
call fcn.0043b642
add esp, 4
sub esi, 1
jne 0x40fe55
push edi
lea eax, [ebp - 0x1010]
mov esi, 0xc8
push 0x1000
push eax
call fcn.0043b333
add esp, 0xc
test eax, eax
je 0x40feb3
mov eax, esi
dec esi
test eax, eax
jle 0x40feb3
lea eax, [ebp - 0x1010]
push eax
push 0x472550
push ebx
call fcn.0040c0c0
push edi
lea eax, [ebp - 0x1010]
push 0x1000
push eax
call fcn.0043b333
add esp, 0x18
test eax, eax
jne 0x40fe81
push edi
call fcn.0043b1ee
add esp, 4
push 0x458d7c
push ebx
call fcn.0040c0c0
push ebx
call fcn.0043b1ee
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push eax
call fcn.0043b76c
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
lea eax, [ebp - 0x1040]
cmovae ecx, dword [ebp - 0x1028]
cmp dword [ebp - 0x102c], 8
push ecx
cmovae eax, dword [ebp - 0x1040]
push eax
call fcn.0043ba58
mov eax, dword [ebp - 0x1074]
add esp, 0x18
cmp eax, 0x10
jb 0x40ff37
inc eax
lea ecx, [ebp - 0x1088]
push eax
push dword [ebp - 0x1088]
call fcn.00404210
mov eax, dword [ebp - 0x108c]
mov dword [ebp - 0x1074], 0xf
mov dword [ebp - 0x1078], 0
mov byte [ebp - 0x1088], 0
cmp eax, 8
jb 0x40ff70
inc eax
lea ecx, [ebp - 0x10a0]
push eax
push dword [ebp - 0x10a0]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x108c], 7
mov dword [ebp - 0x1090], 0
mov word [ebp - 0x10a0], ax
mov eax, dword [ebp - 0x1014]
cmp eax, 8
jb 0x40ffab
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1014], 7
cmp eax, 8
jb 0x40ffe6
inc eax
lea ecx, [ebp - 0x1040]
push eax
push dword [ebp - 0x1040]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
mov dword [ebp - 0x1030], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x410014
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004041b0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x41003d
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.004041b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a28a
mov esp, ebp
pop ebp
ret