Function at 0x41bfe0
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 0x43d240
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.00424340
push 0
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x434], 0
push eax
push edi
mov dword [ebp - 0x430], 0
call fcn.0041f9f0
add esp, 0x1c
test al, al
je 0x41c1b1
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.00412490
add esp, 8
test al, al
je 0x41c15a
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 0x41c15a
test al, 0x10
jne 0x41c15a
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41c0d7
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 0x41c12a
test edx, edx
je 0x41c11b
sub eax, ecx
mov dword [ebp - 0x438], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x41c12a
mov eax, dword [ebp - 0x438]
add ecx, 2
sub edx, 1
jne 0x41c104
mov byte [ebp - 0x429], 1
mov al, byte [ebp - 0x429]
jmp 0x41c168
cmp dword [esi + 0x14], 8
jb 0x41c132
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 0x41c160
mov al, 1
jmp 0x41c162
mov edi, dword [ebp - 0x414]
xor al, al
mov byte [ebp - 0x429], al
cmp edi, 8
jb 0x41c24c
mov ecx, dword [ebp - 0x428]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x41c19c
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c28a
push edi
push ecx
call fcn.00422297
mov al, byte [ebp - 0x429]
add esp, 8
jmp 0x41c24c
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
push edi
call fcn.0041f9d0
add esp, 0x10
test al, al
je 0x41c24a
cmp dword [ebp - 0x434], 0
je 0x41c24a
cmp dword [ebp - 0x430], 0
jle 0x41c24a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c1ea
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 0x41c24a
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 0x41c267
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x41c243
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.004224f6
mov esp, ebp
pop ebp
ret
push 0x10000000
push 1
push edi
call fcn.004126f0
push 1
push edi
call fcn.00412770
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41c24c
call fcn.00425e9e
int3