Function at 0x41bff0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d250
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
mov edi, dword [ebp + 0xc]
push 0x400
push 0
push eax
call fcn.00424350
push 0
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x434], 0
push eax
push edi
mov dword [ebp - 0x430], 0
call fcn.0041fa00
add esp, 0x1c
test al, al
je 0x41c1c1
xorps xmm0, xmm0
mov dword [ebp - 0x418], 0
xor eax, eax
mov dword [ebp - 0x414], 7
movups xmmword [ebp - 0x428], xmm0
mov word [ebp - 0x428], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00412340
add esp, 8
test al, al
je 0x41c16a
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c16a
test al, 0x10
jne 0x41c16a
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41c0e7
mov ecx, dword [esi]
mov edi, dword [ebp - 0x414]
lea eax, [ebp - 0x428]
mov edx, dword [ebp - 0x418]
cmp edi, 8
cmovae eax, dword [ebp - 0x428]
cmp edx, dword [esi + 0x10]
jne 0x41c13a
test edx, edx
je 0x41c12b
sub eax, ecx
mov dword [ebp - 0x438], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x41c13a
mov eax, dword [ebp - 0x438]
add ecx, 2
sub edx, 1
jne 0x41c114
mov byte [ebp - 0x429], 1
mov al, byte [ebp - 0x429]
jmp 0x41c178
cmp dword [esi + 0x14], 8
jb 0x41c142
mov esi, dword [esi]
push 0
cmp edi, 8
lea eax, [ebp - 0x428]
push esi
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [ebp - 0x414]
test eax, eax
je 0x41c170
mov al, 1
jmp 0x41c172
mov edi, dword [ebp - 0x414]
xor al, al
mov byte [ebp - 0x429], al
cmp edi, 8
jb 0x41c25c
mov ecx, dword [ebp - 0x428]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x41c1ac
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c29a
push edi
push ecx
call fcn.004222a6
mov al, byte [ebp - 0x429]
add esp, 8
jmp 0x41c25c
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
push edi
call fcn.0041f9e0
add esp, 0x10
test al, al
je 0x41c25a
cmp dword [ebp - 0x434], 0
je 0x41c25a
cmp dword [ebp - 0x430], 0
jle 0x41c25a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c1fa
mov eax, dword [esi]
push 0
push 0x80
push 2
push 0
push 7
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41c25a
push 0
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0
push eax
push dword [ebp - 0x430]
push dword [ebp - 0x434]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41c277
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x41c253
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422505
mov esp, ebp
pop ebp
ret
push 0x10000000
push 1
push edi
call fcn.004125a0
push 1
push edi
call fcn.00412620
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41c25c
call fcn.00425eae
int3