Function at 0x41a620
Capabilities:
Move file
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ada34
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
sub esp, 0x53c
mov eax, dword [0x4e3114]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
push 0x4b7920
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00402400
add esp, 0xc
mov dword [ebp - 0x538], eax
mov byte [ebp - 4], 5
push 0x80
lea ecx, [ebp - 0x268]
call fcn.00416410
push 0x20
push 0
lea ecx, [ebp - 0x268]
call fcn.00408b60
mov dword [ebp - 0x504], eax
mov byte [ebp - 4], 6
push 0x20
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x268]
call fcn.00433030
push 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00433030
push 0xc0
lea ecx, [ebp - 0x458]
call fcn.00416410
lea ecx, [ebp - 0x458]
call fcn.00406c90
mov dword [ebp - 0x508], eax
mov byte [ebp - 4], 7
push 0x10
lea ecx, [ebp - 0x2c]
push ecx
push 0x20
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x458]
call fcn.00433f80
mov dword [ebp - 0x50c], 0x10000
push 0xc
lea ecx, [ebp - 0x90]
call fcn.00416410
lea ecx, [ebp - 0x46d]
call fcn.004069f0
push eax
push 0x10000
lea ecx, [ebp - 0x90]
call fcn.00408800
mov dword [ebp - 0x510], eax
mov byte [ebp - 4], 8
push 0xc
lea ecx, [ebp - 0x9c]
call fcn.00416410
lea ecx, [ebp - 0x46e]
call fcn.004069f0
push eax
push 0x10000
lea ecx, [ebp - 0x9c]
call fcn.00408800
mov dword [ebp - 0x514], eax
mov byte [ebp - 4], 9
push 0x4b7928
lea ecx, [ebx + 8]
call fcn.00416f90
push eax
call fcn.0048d25f
add esp, 8
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jne 0x41a7d0
push 0x4b7930
lea ecx, [ebp - 0x554]
call fcn.0040ab30
push 0x4d9de8
lea eax, [ebp - 0x554]
push eax
call fcn.00483148
xorps xmm0, xmm0
movlpd qword [ebp - 0x460], xmm0
mov ecx, dword [ebx + 0x68]
sub ecx, 0x640000
mov edx, dword [ebx + 0x6c]
sbb edx, 0
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x45c]
cmp eax, dword [ebp - 0x4d4]
jg 0x41a9af
jl 0x41a81c
mov ecx, dword [ebp - 0x460]
cmp ecx, dword [ebp - 0x4d8]
jae 0x41a9af
push 0x4e9b88
lea ecx, [ebp - 0x80]
call fcn.00408650
mov dword [ebp - 0x518], eax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x468]
push edx
push 0x10000
push 1
lea ecx, [ebp - 0x90]
call fcn.00417480
push eax
call fcn.0048dbc4
add esp, 0x10
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
jne 0x41a875
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.0040bb70
jmp 0x41a9af
lea eax, [ebp - 0x450]
mov dword [ebp - 0x498], eax
lea ecx, [ebp - 0x90]
call fcn.00417480
mov dword [ebp - 0x490], eax
lea ecx, [ebp - 0x9c]
call fcn.00417480
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x494]
push eax
mov ecx, dword [ebp - 0x498]
call fcn.00438f70
push 0
mov ecx, dword [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x468]
push eax
call fcn.0048dfea
add esp, 0x10
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [ebp - 0x46c]
push edx
push 1
lea ecx, [ebp - 0x9c]
call fcn.00417480
push eax
call fcn.0048e258
add esp, 0x10
mov eax, dword [ebp - 0x46c]
xor ecx, ecx
add eax, dword [ebp - 0x460]
adc ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x460]
add edx, 0x640000
mov eax, dword [ebp - 0x45c]
adc eax, 0
mov dword [ebp - 0x4f8], edx
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp - 0x4f4]
cmp ecx, dword [ebx + 0x6c]
jg 0x41a99e
jl 0x41a95f
mov edx, dword [ebp - 0x4f8]
cmp edx, dword [ebx + 0x68]
jae 0x41a99e
mov eax, dword [ebp - 0x460]
add eax, 0x640000
mov ecx, dword [ebp - 0x45c]
adc ecx, 0
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], ecx
push 0
mov edx, dword [ebp - 0x45c]
push edx
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [ebp - 0x468]
push ecx
call fcn.0048dfea
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.0040bb70
jmp 0x41a7db
mov edx, dword [ebp - 0x468]
push edx
call fcn.0048d4c0
add esp, 4
push 0x30
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.00485010
add esp, 0xc
mov ecx, 8
lea esi, [ebp - 0x7c]
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
push 0x30
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004080b0
mov dword [ebp - 0x51c], eax
mov byte [ebp - 4], 0xb
push 0x40
lea ecx, [ebp - 0x128]
call fcn.00416410
push 1
lea ecx, [ebp - 0x128]
call fcn.00409b90
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 0xc
push 0x38
lea ecx, [ebp - 0x160]
call fcn.00416410
push 0x3c
call fcn.0046b796
add esp, 4
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x474], 0
je 0x41aa96
push 0x3c
mov ecx, dword [ebp - 0x474]
call fcn.00416410
push 0
mov ecx, dword [ebp - 0x474]
call fcn.00408bd0
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x4a0]
mov dword [ebp - 0x48c], ecx
jmp 0x41aaa0
mov dword [ebp - 0x48c], 0
mov edx, dword [ebp - 0x48c]
mov dword [ebp - 0x4a4], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4a4]
push eax
push 1
lea ecx, [ebx + 0x50]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00409da0
mov dword [ebp - 0x524], eax
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x124]
mov dword [ebp - 0x4e0], edx
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x4e0]
call fcn.0045bd90
lea ecx, [ebp - 0xb4]
call fcn.00408120
mov byte [ebp - 4], 0xf
push 0x80
lea ecx, [ebp - 0x398]
call fcn.00416410
push 0x20
push 0
lea ecx, [ebp - 0x398]
call fcn.00408b60
mov dword [ebp - 0x528], eax
mov byte [ebp - 4], 0x10
push 0x4c
lea ecx, [ebp - 0x1e8]
call fcn.00416410
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + 4]
lea eax, [ebp + edx - 0x120]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00406fc0
mov dword [ebp - 0x53c], eax
mov byte [ebp - 4], 0x11
push 0x38
lea ecx, [ebp - 0x198]
call fcn.00416410
push 0x4c
call fcn.0046b796
add esp, 4
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
mov dword [ebp - 0x47c], ecx
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x47c], 0
je 0x41ac58
push 0x4c
mov ecx, dword [ebp - 0x47c]
call fcn.00416410
push 0x10
call fcn.0046b796
add esp, 4
mov dword [ebp - 0x4cc], eax
mov edx, dword [ebp - 0x4cc]
mov dword [ebp - 0x478], edx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x478], 0
je 0x41abfe
push 0x10
mov ecx, dword [ebp - 0x478]
call fcn.00416410
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x478]
call fcn.004074a0
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x480], ecx
jmp 0x41ac08
mov dword [ebp - 0x480], 0
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x4f0], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
push ecx
lea edx, [ebp - 0x1e8]
push edx
lea eax, [ebp - 0x398]
push eax
mov ecx, dword [ebp - 0x47c]
call fcn.00409a00
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 0x4c0]
mov dword [ebp - 0x484], ecx
jmp 0x41ac62
mov dword [ebp - 0x484], 0
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x4bc], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x4bc]
push eax
push 1
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x198]
call fcn.00409da0
mov dword [ebp - 0x52c], eax
mov byte [ebp - 4], 0x14
push 0x4e9b88
lea ecx, [ebp - 0x84]
call fcn.00408650
mov dword [ebp - 0x530], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xcc]
call fcn.00416f90
mov dword [ebp - 0x4b8], eax
lea ecx, [ebx + 8]
call fcn.00416f90
mov dword [ebp - 0x4b4], eax
mov edx, dword [ebp - 0x4b8]
push edx
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.0048fa12
add esp, 8
push 0xb0
lea ecx, [ebp - 0x318]
call fcn.00416410
push 1
push 0x40
push 0x28
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x318]
call fcn.00407940
mov dword [ebp - 0x534], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x318]
call fcn.00419b20
mov byte [ebp - 0x461], al
movzx edx, byte [ebp - 0x461]
test edx, edx
jne 0x41ad55
push 0x4b7948
lea ecx, [ebp - 0x548]
call fcn.0040ab30
push 0x4d9de8
lea eax, [ebp - 0x548]
push eax
call fcn.00483148
lea ecx, [ebp - 0xb4]
call fcn.0041f060
xor ecx, ecx
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x4e4], ecx
lea ecx, [ebp - 0xb4]
call fcn.00416f40
mov dword [ebp - 0x4b0], eax
mov edx, dword [ebp - 0x4e4]
push edx
mov eax, dword [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x318]
call fcn.004200a0
lea ecx, [ebp - 0x318]
call fcn.00417310
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x318]
call fcn.0040d9d0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x84]
call fcn.0040bb70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x198]
call fcn.0040c490
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1e8]
call fcn.0040b170
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x398]
call fcn.0040bfa0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb4]
call fcn.0040b9f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x160]
call fcn.0040c490
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x128]
call fcn.0040da90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.0040b9f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x9c]
call fcn.0040bde0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.0040bde0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x458]
call fcn.0040b060
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x268]
call fcn.0040bfa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.0040ba40
jmp 0x41af2e
mov dword [ebp - 4], 3
jmp 0x41af43
jmp 0x41af4f
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
call fcn.0040ba40
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x20]
call fcn.0040ba40
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x38]
call fcn.0040ba40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x50]
call fcn.0040b9f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046bcfe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret