Function at 0x41b930
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 0x43cb30
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.00423c20
push 0
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x434], 0
push eax
push edi
mov dword [ebp - 0x430], 0
call fcn.0041f2d0
add esp, 0x1c
test al, al
je 0x41bb01
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.00411cf0
add esp, 8
test al, al
je 0x41baaa
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 0x41baaa
test al, 0x10
jne 0x41baaa
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41ba27
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 0x41ba7a
test edx, edx
je 0x41ba6b
sub eax, ecx
mov dword [ebp - 0x438], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x41ba7a
mov eax, dword [ebp - 0x438]
add ecx, 2
sub edx, 1
jne 0x41ba54
mov byte [ebp - 0x429], 1
mov al, byte [ebp - 0x429]
jmp 0x41bab8
cmp dword [esi + 0x14], 8
jb 0x41ba82
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 0x41bab0
mov al, 1
jmp 0x41bab2
mov edi, dword [ebp - 0x414]
xor al, al
mov byte [ebp - 0x429], al
cmp edi, 8
jb 0x41bb9c
mov ecx, dword [ebp - 0x428]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x41baec
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bbda
push edi
push ecx
call fcn.00421b76
mov al, byte [ebp - 0x429]
add esp, 8
jmp 0x41bb9c
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x434]
push eax
push edi
call fcn.0041f2b0
add esp, 0x10
test al, al
je 0x41bb9a
cmp dword [ebp - 0x434], 0
je 0x41bb9a
cmp dword [ebp - 0x430], 0
jle 0x41bb9a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41bb3a
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 0x41bb9a
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 0x41bbb7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x41bb93
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.00421dd5
mov esp, ebp
pop ebp
ret
push 0x10000000
push 1
push edi
call fcn.00411f50
push 1
push edi
call fcn.00411fd0
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41bb9c
call fcn.0042577e
int3