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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb383
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00443600
mov byte [ebp - 4], 1
lea edi, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae edi, dword [ebp - 0x44]
xor esi, esi
mov edx, 0x4fad58
mov ecx, edi
call fcn.00443010
test al, al
jne 0x44716c
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x447110
mov byte [ebp - 0x5d], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x44747a
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447470
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474e0
jmp 0x447470
cmp dword [0x4fadb0], 0
je 0x447131
mov edx, 0x4fada0
mov ecx, 0x4faca8
call fcn.004087d0
cmp eax, 1
jne 0x447131
mov edx, 0x4fada0
mov byte [ebp - 0x5d], 0
lea ecx, [ebp - 0x94]
call fcn.00407fb0
push eax
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.004483f0
push str..cli
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0040ca60
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x447201
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4471f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474e5
push edx
push ecx
call fcn.0044bf44
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x447256
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44724c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474ea
push edx
push ecx
call fcn.0044bf44
add esp, 8
xor eax, eax
mov dword [ebp - 0x84], 0
sub esp, 0x18
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x80], 7
mov ecx, esp
push eax
call fcn.00403630
mov edx, dword [ebp - 0x64]
call fcn.00443fb0
add esp, 0x18
cmp eax, 5
je 0x4472b3
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00403630
xor edx, edx
mov ecx, 0x4fad58
call fcn.00444b30
add esp, 0x18
test al, al
je 0x44742d
push 0x4fadd8
lea ecx, [ebp - 0x2c]
call fcn.00403630
push 4
push str..cli
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00409470
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4473a8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 3
push 0x5082ec
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
je 0x447362
mov ecx, dword [0x4fae18]
test ecx, ecx
je 0x447362
cmp dword [0x4fae1c], 0x10
lea edx, [ebp - 0x14]
push 0
push edx
mov eax, 0x4fae08
mov dword [ebp - 0x14], 0
cmovae eax, dword [0x4fae08]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call edi
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4473a8
mov eax, dword [ebp - 0x64]
push dword [eax]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [0x5082e8]
call edi
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
sub esp, 0xc
call fcn.00408920
add esp, 0xc
test eax, eax
setne byte [ebp - 0x5d]
push 0x28
call fcn.0044bc97
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.004055f0
mov esi, eax
push 0xc
push str.ecode
mov ecx, esi
call fcn.00406080
movzx eax, byte [ebp - 0x5d]
mov ecx, esi
push eax
push str.result
call fcn.00406080
mov ecx, esi
call fcn.00442950
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44742d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447423
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474ef
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x447467
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44745d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474f4
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov byte [ebp - 0x5d], 1
jmp 0x447135
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 8
jb 0x4474c2
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4474b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474f9
push edx
push ecx
call fcn.0044bf44
add esp, 8
mov al, byte [ebp - 0x5d]
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.0044b7d5
mov esp, ebp
pop ebp
ret
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
call fcn.004aba6c
int3