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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xadc
mov eax, dword [0x43a034]
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.00410195
mov esi, dword [ebx + 0x10]
jmp 0x411b84
push esi
push dword [ebp - 0xab8]
call fcn.00413d1f
pop ecx
pop ecx
test eax, eax
je 0x411f89
mov esi, dword [esi + 0x208]
test esi, esi
jne 0x411b68
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 0x411fb3
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 0x432198
push edi
call fcn.00412e54
pop ecx
mov esi, eax
pop ecx
push 2
test esi, esi
je 0x411fb5
push 0
push esi
call fcn.00413860
add esp, 0xc
push esi
call fcn.00413c73
pop ecx
push esi
mov dword [ebp - 0xab4], eax
call fcn.00412f9f
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.00411adf
lea eax, [ebp - 0x628]
push eax
call fcn.00411adf
lea ecx, [ebp - 0xaa8]
call fcn.00410195
and dword [ebp - 0xa94], 0
lea eax, [ebp - 0xa84]
and dword [ebp - 0xa90], 0
push edi
push eax
call fcn.00413fcb
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x87c]
push eax
call fcn.00413fcb
add esp, 0x10
lea ecx, [ebp - 0xaa8]
push dword [ebx + 0xc]
call fcn.0041048d
mov eax, dword [ebx]
mov dword [ebp - 0x634], eax
call fcn.004101cf
test eax, eax
jne 0x411c90
mov esi, dword [ebp - 0xa9c]
mov dword [ebp - 0xabc], esi
cmp esi, dword [ebp - 0xab4]
jg 0x411c9c
mov byte [ebp - 0xaa9], 1
jmp 0x411cbf
cmp eax, 4
jne 0x411c9c
push 0xa
jmp 0x411f94
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 0x432198
push eax
add esi, 0x2477
call fcn.00412e54
pop ecx
pop ecx
test eax, eax
je 0x411f92
push eax
lea eax, [ebp - 0xac4]
push eax
push esi
lea ecx, [ebp - 0x628]
call fcn.0041192b
test al, al
je 0x411f92
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
push str.FILE
push eax
call fcn.00416b80
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.0041374f
push dword [ebp - 0xab8]
lea eax, [ebp - 0x218]
push eax
call fcn.00413fcb
lea eax, [ebp - 0x218]
push eax
call fcn.00412e3b
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.0041374f
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.0041374f
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.00412e3b
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.0041374f
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.0041374f
push dword [ebx + 4]
lea eax, [ebp - 0xaa9]
push 1
push 1
push eax
call fcn.0041374f
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.0041374f
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.0041374f
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.0041374f
push dword [ebx + 4]
lea eax, [ebp - 0xacc]
push 1
push edi
push eax
call fcn.0041374f
push dword [ebx + 4]
lea eax, [ebp - 0xad0]
push 1
push edi
push eax
call fcn.0041374f
push dword [ebx + 4]
lea eax, [ebp - 0xad4]
push 1
push edi
push eax
call fcn.0041374f
add esp, 0x40
lea eax, [ebp - 0xad8]
push dword [ebx + 4]
push 1
push edi
push eax
call fcn.0041374f
lea eax, [ebp - 0x628]
push 0x432198
push eax
call fcn.00412e54
add esp, 0x18
test eax, eax
je 0x411f8d
push eax
mov ecx, ebx
call fcn.00411a72
test al, al
je 0x411f8d
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebx + 0x10]
test edi, edi
jne 0x411f52
push 0x20c
call fcn.0041352c
pop ecx
push dword [ebp - 0xab8]
mov dword [ebx + 0x10], eax
and dword [eax + 0x208], edi
push dword [ebx + 0x10]
call fcn.00413fcb
jmp 0x411f87
xor ebx, ebx
jmp 0x411f58
mov edi, dword [eax]
lea eax, [edi + 0x208]
cmp dword [eax], ebx
jne 0x411f56
push 0x20c
call fcn.0041352c
pop ecx
push dword [ebp - 0xab8]
mov esi, eax
push esi
mov dword [edi + 0x208], esi
call fcn.00413fcb
mov dword [esi + 0x208], ebx
pop ecx
pop ecx
xor eax, eax
jmp 0x411fb6
push 9
pop esi
jmp 0x411fa2
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 0x411fb6
push 2
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004126d0
mov esp, ebp
pop ebp
ret 8