Function at 0x449d40
Capabilities:
Copy file
Get file attributes
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d7eb
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x58fa2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x188], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x154], 0
xor esi, esi
mov dword [ebp - 0x178], esi
mov dword [ebp - 4], esi
test edi, edi
je 0x44a32e
test eax, eax
je 0x44a32e
cmp dword [edi + 0x228], esi
jne 0x44a32e
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x158], eax
push 0x14
push dword [ebp - 0x148]
push esi
lea ecx, [ebp - 0x1bc]
call fcn.004489d0
mov byte [ebp - 4], 1
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0044ae50
add esp, 0xc
cmp dword [ebp + 0x18], esi
je 0x449e9b
lea edx, [edi + 0x204]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14c], 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x449e9b
add ecx, 4
add edx, 4
sub dword [ebp - 0x14c], 4
jae 0x449e32
push 0x104
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.004b8570
push 0x104
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00488a00
add esp, 0x18
push 0
mov ecx, edi
call fcn.0044b2e0
push 0
push dword [ebp - 0x13c]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x154], eax
jmp 0x44a316
push 0x34c
call fcn.00472260
add esp, 4
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x449ec5
push 0
push 0
mov ecx, eax
call fcn.00448630
mov esi, eax
jmp 0x449ec7
xor esi, esi
mov dword [ebp - 0x174], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x178], esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x1a4], xmm0
movq qword [ebp - 0x194], xmm0
mov eax, dword [edi + 0x164]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x158]
shr eax, 1
and eax, 1
mov dword [ebp - 0x198], eax
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x194], eax
push 0x14
push dword [ebp - 0x148]
push 0
lea ecx, [ebp - 0x1b0]
call fcn.004489d0
mov byte [ebp - 4], 3
mov dword [ebp - 0x1a4], 0
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1a0], eax
push 1
lea eax, [ebp - 0x1a4]
push eax
push 0
push 2
push 0
push 0xc0000000
push dword [ebp - 0x13c]
mov ecx, esi
call fcn.0044b550
test eax, eax
jne 0x44a307
mov dword [ebp - 0x154], 1
push 0x80
lea eax, [edi + 0x16c]
push eax
lea eax, [esi + 0x16c]
push eax
call fcn.004c59d0
add esp, 0xc
mov eax, dword [edi + 0x1ec]
mov dword [esi + 0x1ec], eax
mov eax, dword [edi + 0x1f0]
mov dword [esi + 0x1f0], eax
mov eax, dword [edi + 0x218]
mov dword [esi + 0x218], eax
mov eax, dword [edi + 0x21c]
mov dword [esi + 0x21c], eax
mov eax, dword [edi + 0x22c]
mov dword [esi + 0x22c], eax
mov eax, dword [edi + 0x1f4]
mov dword [esi + 0x1f4], eax
mov eax, dword [edi + 0x1f8]
mov dword [esi + 0x1f8], eax
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x1fc], eax
mov eax, dword [edi + 0x220]
mov dword [esi + 0x220], eax
mov eax, dword [edi + 0x218]
mov dword [esi + 0x31c], eax
mov eax, dword [edi + 0x21c]
mov dword [esi + 0x320], eax
mov dword [esi + 0x10], 0
xor edi, edi
mov dword [ebp - 0x150], edi
mov eax, dword [ebp - 0x140]
cmp edi, dword [eax + 8]
jae 0x44a2fe
imul ecx, edi, 0x5c
mov dword [ebp - 0x13c], ecx
mov eax, dword [eax]
push dword [eax + ecx + 0x50]
call fcn.004a4577
add esp, 4
mov dword [ebp - 0x144], eax
push 0
push 0
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x13c]
push dword [ecx + eax + 0x4c]
mov eax, dword [ebp - 0x15c]
push dword [eax + 0x32c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
push dword [eax + ecx + 0x50]
push dword [ebp - 0x144]
mov eax, dword [ebp - 0x15c]
push dword [eax + 0x32c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x44a2e1
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
mov edi, dword [eax + ecx + 0x50]
mov dword [ebp - 0x164], edi
cmp dword [ebp - 0x14c], edi
jne 0x44a2db
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x168], 0
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x148]
push eax
push edi
push dword [ebp - 0x144]
mov ecx, dword [ebp - 0x15c]
call fcn.0044bfa0
test eax, eax
je 0x44a18e
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x168]
push dword [ebp - 0x148]
mov ecx, esi
call fcn.0044c150
test eax, eax
je 0x44a18e
push dword [ebp - 0x144]
call fcn.004a4580
add esp, 4
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x144], eax
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x160], 1
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x44a1a3
push 1
push eax
call fcn.004a42c5
add esp, 8
cmp dword [ebp - 0x160], 0
je 0x44a2db
push 2
push 0
push 0
push dword [esi + 0x32c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x158], eax
mov ecx, esi
call fcn.0044e700
test eax, eax
je 0x44a246
xorps xmm0, xmm0
movq qword [ebp - 0x138], xmm0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x138], 0x2b75fd3c
mov dword [ebp - 0x134], edi
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
mov eax, dword [eax + ecx + 0x54]
mov dword [ebp - 0x130], eax
push 0
lea eax, [ebp - 0x14c]
push eax
push 0xc
lea eax, [ebp - 0x138]
push eax
push dword [esi + 0x32c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 1
push 0
push 0
push dword [esi + 0x32c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x158], eax
push 0
lea eax, [ebp - 0x14c]
push eax
push edi
push dword [ebp - 0x144]
push dword [esi + 0x32c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44a2d1
mov ecx, esi
call fcn.00449840
mov eax, dword [esi + 0x318]
imul edx, eax, 0x5c
add edx, dword [esi + 0x330]
inc eax
mov dword [esi + 0x318], eax
mov eax, dword [ebp - 0x140]
mov esi, dword [eax]
add esi, dword [ebp - 0x13c]
mov ecx, 0x17
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x164]
mov dword [edx + 0x50], eax
mov dword [edx + 0x44], 0
mov dword [edx + 0x58], 0
mov esi, dword [ebp - 0x174]
mov eax, dword [esi + 0x328]
mov dword [edx + 0x48], eax
inc dword [esi + 0x328]
mov eax, dword [ebp - 0x158]
mov dword [edx + 0x4c], eax
jmp 0x44a2db
mov dword [ebp - 0x160], 0
mov edi, dword [ebp - 0x150]
push dword [ebp - 0x144]
call fcn.004a4580
add esp, 4
cmp dword [ebp - 0x154], 0
je 0x44a2fe
inc edi
jmp 0x44a01d
push 0
mov ecx, esi
call fcn.0044b2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
call fcn.00448c40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00448c40
mov dword [ebp - 4], 0xffffffff
jmp 0x44a38e
xor eax, eax
jmp 0x44a3ae
mov dword [ebp - 4], 5
test esi, esi
je 0x44a3a1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4566
mov esp, ebp
pop ebp
ret