Function at 0x412f70
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43ef8b
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x394]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3b0]
mov ebp, dword [esp + 0x3a4]
mov esi, ecx
push 0xa00000
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 1
call fcn.00413c36
mov edx, dword [str.Tipray_LdSafe]
mov ecx, dword [esp + 0x3b0]
mov ebx, dword [esp + 0x3ac]
mov edi, eax
mov eax, dword [0x447f8c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x447f90]
mov dword [esp + 0x178], edx
mov dx, word [0x447f94]
add esp, 4
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov word [esp + 0x180], dx
call fcn.00413c41
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41303f
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x208
lea ecx, [esp + 0x188]
push 0
push ecx
mov dword [esp + 0x3a8], 0
call fcn.00425400
lea edx, [esp + 0x190]
add esp, 0xc
mov eax, ebp
sub edx, ebp
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x413080
mov al, byte [0x453d0c]
cmp al, 6
jne 0x4130bf
lea eax, [esp + 0x184]
dec eax
jmp 0x4130a0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4130a0
mov edx, dword [str..ldres]
mov cx, word [0x448f40]
mov dword [eax], edx
mov dl, byte [0x448f42]
jmp 0x413114
cmp al, 8
lea eax, [esp + 0x184]
jne 0x4130f6
dec eax
jmp 0x4130d0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4130d0
mov ecx, dword [str..ldres]
mov dx, word [0x448f40]
mov dword [eax], ecx
mov cl, byte [0x448f42]
mov word [eax + 4], dx
mov byte [eax + 6], cl
jmp 0x41311b
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4130f7
mov edx, dword [str..ldtmp]
mov cx, word [0x448f48]
mov dword [eax], edx
mov dl, byte [0x448f4a]
mov word [eax + 4], cx
mov byte [eax + 6], dl
lea eax, [esp + 0x184]
push 0x447e34
push eax
call fcn.0042292f
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4132d5
push esi
call fcn.0042309e
add esp, 4
test eax, eax
jne 0x413214
jmp 0x413154
mov esi, dword [esp + 0x2c]
push 0xa00000
push 0
push edi
call fcn.00425400
add esp, 0xc
cmp dword [esp + 0x28], 0
jl 0x41317c
jg 0x413175
cmp ebx, 0xa00000
jbe 0x41317c
mov ebp, 0xa00000
jmp 0x41317e
mov ebp, ebx
push esi
push ebp
push 1
push edi
call fcn.004233a6
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x413208
mov ecx, dword [esp + 0x3b4]
and ecx, 2
mov dword [esp + 0x39c], 0
cmp cl, 2
jne 0x4131c2
push esi
lea eax, [esp + 0x178]
call fcn.00413480
mov edx, dword [esp + 0x20]
add esp, 4
push edx
jmp 0x4131c7
mov eax, dword [esp + 0x1c]
push eax
push esi
push 1
push edi
call fcn.0042301c
mov eax, ebp
cdq
add esp, 0x10
sub ebx, eax
sbb dword [esp + 0x28], edx
test ebx, ebx
jne 0x4131e6
cmp dword [esp + 0x28], ebx
je 0x413208
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3a0], 0
call fcn.0042309e
add esp, 4
test eax, eax
je 0x413150
jmp 0x413210
mov byte [esp + 0x39c], 0
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push edx
call fcn.004229bd
mov ebx, dword [esp + 0x3b8]
add esp, 4
test bl, 2
je 0x413243
test bl, 1
jne 0x413243
push 0
push ebp
lea eax, [esp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
and ebx, 1
cmp bl, 1
jne 0x41329f
mov ebx, ebp
lea ecx, [esp + 0x184]
call fcn.00413ad0
lea ecx, [esp + 0x34]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x413273
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41329f
push ebp
lea edx, [esp + 0x18]
push str.OldSplitFile__DecompressFile____s__is__not__Exist
push edx
call fcn.00409910
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push eax
push 0x453d11
call fcn.0040d890
mov dword [esp + 0x20], 0xfffffffb
lea ecx, [esp + 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push ebp
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
test esi, esi
je 0x41330f
mov edx, dword [esp + 0x30]
push edx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x41330f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x1c]
push str.fopen_file__s__Error__d_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
push 0x453d11
call fcn.0040d890
mov dword [esp + 0x20], 0xffffffff
push edi
call fcn.00413c2b
mov dword [esp + 0x3a0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x394]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.00421f65
add esp, 0x38c
ret