Function at 0x5ff2b8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x304], ecx
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.0040bbbc
xor eax, eax
push ebp
push 0x5ff70f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040bf00
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, 0x5ff72c
call fcn.0040cb00
lea edx, [ebp - 0xc]
mov ecx, 6
xchg edx, eax
call fcn.0040c9ec
lea eax, [ebp - 0xc]
mov edx, 0x5ff73c
call fcn.0040c7dc
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00427538
test al, al
je 0x5ff35b
push 0
push 0x5ff748
mov eax, dword [ebp - 0xc]
call fcn.0040c5d0
push eax
call sub.kernel32.dll_CopyFileW
xor ecx, ecx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2f0]
call fcn.00407f3c
call fcn.00407170
lea eax, [ebp - 0x2f0]
call fcn.00407be4
call fcn.00407170
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 8]
mov eax, esi
call fcn.005fc3e4
mov eax, esi
call fcn.005fe2c0
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.00426fbc
mov edx, eax
mov eax, esi
call fcn.005ff190
mov edi, 1
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov ebx, 1
lea eax, [ebp - 0x2f4]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040c9a4
mov eax, dword [ebp - 0x2f4]
call fcn.00426fbc
push eax
lea ecx, [ebp - 0x2fc]
mov edx, edi
mov eax, ebx
call fcn.0049aeb0
lea edx, [ebp - 0x2fc]
mov eax, esi
pop ecx
call fcn.005feef4
lea eax, [ebp - 8]
mov ecx, 2
mov edx, 1
call fcn.0040c9ec
inc ebx
cmp ebx, 9
jne 0x5ff3f3
inc edi
cmp edi, 9
jne 0x5ff3d0
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5ff481
sub ebx, 4
mov ebx, dword [ebx]
push ebx
lea eax, [esi + 0x30]
mov ecx, 1
mov edx, dword [0x5fa874]
call fcn.0040e998
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x5ff4a4
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5ff4f3
inc ebx
xor edi, edi
lea eax, [ebp - 0x300]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040c9a4
mov eax, dword [ebp - 0x300]
call fcn.00426fbc
mov ecx, eax
mov edx, edi
mov eax, esi
call fcn.005ff1b8
lea eax, [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.0040c9ec
inc edi
dec ebx
jne 0x5ff4ae
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5ff51d
sub ebx, 4
mov ebx, dword [ebx]
push ebx
lea eax, [esi + 0x34]
mov ecx, 1
mov edx, dword [0x5fa8b0]
call fcn.0040e998
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x5ff540
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5ff58f
inc ebx
xor edi, edi
lea eax, [ebp - 0x304]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040c9a4
mov eax, dword [ebp - 0x304]
call fcn.00426fbc
mov ecx, eax
mov edx, edi
mov eax, esi
call fcn.005fee7c
lea eax, [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.0040c9ec
inc edi
dec ebx
jne 0x5ff54a
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov eax, dword [ebp - 8]
mov edx, 0x5ff768
call fcn.0040c96c
jne 0x5ff5c5
mov byte [esi + 0x154], 1
jmp 0x5ff5cc
mov byte [esi + 0x154], 0
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov eax, dword [ebp - 8]
mov edx, 0x5ff768
call fcn.0040c96c
jne 0x5ff602
mov byte [esi + 0x155], 1
jmp 0x5ff609
mov byte [esi + 0x155], 0
lea eax, [ebp - 0x2f0]
call fcn.00408758
mov edx, dword [0x6359c0]
mov dword [edx], eax
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005feed4
lea edx, [ebp - 8]
lea eax, [ebp - 0x2f0]
call fcn.00408c04
lea eax, [ebp - 0x2f0]
call fcn.00408d20
call fcn.00407170
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005feec0
lea eax, [ebp - 0x2f0]
call fcn.00408044
call fcn.00407170
call sub.kernel32.dll_GetTickCount
mov ebx, eax
lea eax, [ebp - 0x308]
push eax
sub ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2fc], ebx
mov byte [ebp - 0x2f8], 0
lea edx, [ebp - 0x2fc]
xor ecx, ecx
mov eax, 0x5ff780
call fcn.00427f44
mov edx, dword [ebp - 0x308]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x304]
call dword [ebx + 0x300]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff716
lea eax, [ebp - 0x308]
mov edx, 3
call fcn.0040bb28
lea eax, [ebp - 0x2f4]
call fcn.0040bac8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040bb28
pop eax
jmp eax