Function at 0x411b45
Capabilities:
Copy file
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xadc
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0xaa8]
mov dword [ebp - 0xac8], edi
mov dword [ebp - 0xab8], eax
call fcn.004101ac
mov esi, dword [ebx + 0x10]
jmp 0x411b9b
push esi
push dword [ebp - 0xab8]
call fcn.00413d2f
pop ecx
pop ecx
test eax, eax
je 0x411fa0
mov esi, dword [esi + 0x208]
test esi, esi
jne 0x411b7f
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411fca
lea eax, [ebp - 0xad8]
push eax
push 0
lea eax, [ebp - 0xad0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x433198
push edi
call fcn.00412e64
pop ecx
mov esi, eax
pop ecx
push 2
test esi, esi
je 0x411fcc
push 0
push esi
call fcn.00413870
add esp, 0xc
push esi
call fcn.00413c83
pop ecx
push esi
mov dword [ebp - 0xab4], eax
call fcn.00412faf
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.00411af6
lea eax, [ebp - 0x628]
push eax
call fcn.00411af6
lea ecx, [ebp - 0xaa8]
call fcn.004101ac
and dword [ebp - 0xa94], 0
lea eax, [ebp - 0xa84]
and dword [ebp - 0xa90], 0
push edi
push eax
call fcn.00413fdb
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.00413fdb
add esp, 0x10
lea ecx, [ebp - 0xaa8]
push dword [ebx + 0xc]
call fcn.004104a4
mov eax, dword [ebx]
mov dword [ebp - 0x634], eax
call fcn.004101e6
test eax, eax
jne 0x411ca7
mov esi, dword [ebp - 0xa9c]
mov dword [ebp - 0xabc], esi
cmp esi, dword [ebp - 0xab4]
jg 0x411cb3
mov byte [ebp - 0xaa9], 1
jmp 0x411cd6
cmp eax, 4
jne 0x411cb3
push 0xa
jmp 0x411fab
push 0
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0xab4]
mov byte [ebp - 0xaa9], 0
mov dword [ebp - 0xabc], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x420]
push 0x433198
push eax
add esi, 0x2477
call fcn.00412e64
pop ecx
pop ecx
test eax, eax
je 0x411fa9
push eax
lea eax, [ebp - 0xac4]
push eax
push esi
lea ecx, [ebp - 0x628]
call fcn.00411942
test al, al
je 0x411fa9
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
push str.FILE
push eax
call fcn.00416b90
pop ecx
pop ecx
push 0x18ee
push 4
lea eax, [ebp - 0xc]
push eax
call fcn.0040249b
push dword [ebx + 4]
lea eax, [ebp - 0xc]
push 4
push 1
push eax
call fcn.0041375f
push dword [ebp - 0xab8]
lea eax, [ebp - 0x218]
push eax
call fcn.00413fdb
lea eax, [ebp - 0x218]
push eax
call fcn.00412e4b
add esp, 0x1c
mov edi, eax
mov ecx, edi
lea eax, [ebp - 0xac0]
xor ecx, 0xadbc
mov dword [ebp - 0xac0], ecx
push dword [ebx + 4]
push 1
push 4
push eax
call fcn.0041375f
add esp, 0x10
lea eax, [edi + 0xb33f]
lea esi, [edi + edi]
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.0040249b
push dword [ebx + 4]
lea eax, [ebp - 0x218]
push esi
push 1
push eax
call fcn.0041375f
add esp, 0x10
lea eax, [ebp - 0xadc]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push dword [ebp - 0xac8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.00412e4b
pop ecx
push dword [ebx + 4]
mov edi, eax
lea eax, [ebp - 0xac0]
push 1
mov ecx, edi
xor ecx, 0xf820
push 4
push eax
mov dword [ebp - 0xac0], ecx
call fcn.0041375f
add esp, 0x10
lea eax, [edi + 0xf479]
lea esi, [edi + edi]
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.0040249b
push dword [ebx + 4]
lea eax, [ebp - 0x218]
push esi
push 1
push eax
call fcn.0041375f
push dword [ebx + 4]
lea eax, [ebp - 0xaa9]
push 1
push 1
push eax
call fcn.0041375f
push dword [ebx + 4]
mov eax, dword [ebp - 0xabc]
mov esi, 0x87bc
push 1
push 4
xor eax, esi
pop edi
mov dword [ebp - 0xab0], eax
lea eax, [ebp - 0xab0]
push edi
push eax
call fcn.0041375f
push dword [ebx + 4]
mov eax, dword [ebp - 0xab4]
xor eax, esi
push 1
mov dword [ebp - 0xab0], eax
lea eax, [ebp - 0xab0]
push edi
push eax
call fcn.0041375f
mov eax, dword [ebp - 0xac4]
add esp, 0x40
xor eax, 0xa685
mov dword [ebp - 0xab0], eax
lea eax, [ebp - 0xab0]
push dword [ebx + 4]
push 1
push edi
push eax
call fcn.0041375f
push dword [ebx + 4]
lea eax, [ebp - 0xacc]
push 1
push edi
push eax
call fcn.0041375f
push dword [ebx + 4]
lea eax, [ebp - 0xad0]
push 1
push edi
push eax
call fcn.0041375f
push dword [ebx + 4]
lea eax, [ebp - 0xad4]
push 1
push edi
push eax
call fcn.0041375f
add esp, 0x40
lea eax, [ebp - 0xad8]
push dword [ebx + 4]
push 1
push edi
push eax
call fcn.0041375f
lea eax, [ebp - 0x628]
push 0x433198
push eax
call fcn.00412e64
add esp, 0x18
test eax, eax
je 0x411fa4
push eax
mov ecx, ebx
call fcn.00411a89
test al, al
je 0x411fa4
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x411f69
push 0x20c
call fcn.0041353c
pop ecx
push dword [ebp - 0xab8]
mov dword [ebx + 0x10], eax
and dword [eax + 0x208], edi
push dword [ebx + 0x10]
call fcn.00413fdb
jmp 0x411f9e
xor ebx, ebx
jmp 0x411f6f
mov edi, dword [eax]
lea eax, [edi + 0x208]
cmp dword [eax], ebx
jne 0x411f6d
push 0x20c
call fcn.0041353c
pop ecx
push dword [ebp - 0xab8]
mov esi, eax
push esi
mov dword [edi + 0x208], esi
call fcn.00413fdb
mov dword [esi + 0x208], ebx
pop ecx
pop ecx
xor eax, eax
jmp 0x411fcd
push 9
pop esi
jmp 0x411fb9
push 9
pop esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, esi
jmp 0x411fcd
push 2
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004126e7
mov esp, ebp
pop ebp
ret 8