Function at 0x3f0cc88
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd60
push ebx
xor ebx, ebx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.03cb7f34
mov eax, dword [ebp - 8]
call fcn.03cb7f34
lea eax, [ebp - 0x270]
mov edx, dword [0x3e6cc60]
call fcn.03cb969c
xor eax, eax
push ebp
push 0x3f0cf8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.03e6dfdc
test al, al
je 0x3f0cf53
mov eax, dword [ebp - 4]
call fcn.03e6dfdc
test al, al
je 0x3f0cf53
mov eax, dword [ebp - 4]
test eax, eax
je 0x3f0cd31
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x3f0cd49
lea eax, [ebp - 4]
mov edx, 0x3f0cfa8
call fcn.03cb8f94
mov eax, dword [ebp - 0x274]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x3f0ce7f
inc eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x284]
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x274]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
mov edx, dword [ebp - 4]
call fcn.03cb8fec
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x270]
mov edx, 0x2f
call fcn.03e6ddec
test eax, eax
jne 0x3f0ce6d
xor eax, eax
push ebp
push 0x3f0ce66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x26c], 0x6400000
jg 0x3f0ce3a
push 0
lea eax, [ebp - 0x28c]
mov edx, dword [ebp - 0x264]
call fcn.03cb8e78
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 8]
call fcn.03cb8fec
mov eax, dword [ebp - 0x288]
call fcn.03cb8d98
push eax
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 0x264]
call fcn.03cb8e78
mov ecx, dword [ebp - 0x294]
lea eax, [ebp - 0x290]
mov edx, dword [ebp - 4]
call fcn.03cb8fec
mov eax, dword [ebp - 0x290]
call fcn.03cb8d98
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x270]
call fcn.03e6de40
test eax, eax
je 0x3f0cdc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3f0ce6d
lea eax, [ebp - 0x270]
call fcn.03e6dd48
ret
inc dword [ebp - 0x278]
dec dword [ebp - 0x27c]
jne 0x3f0cd6e
lea eax, [ebp - 0x298]
mov ecx, 0x3f0cfb8
mov edx, dword [ebp - 4]
call fcn.03cb8fec
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x270]
mov edx, 0x10
call fcn.03e6ddec
test eax, eax
jne 0x3f0cf53
xor eax, eax
push ebp
push 0x3f0cf4c
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x268], 0x10
je 0x3f0cf24
mov eax, dword [ebp - 0x264]
mov edx, 0x3f0cfc4
call fcn.03cb8c10
je 0x3f0cf24
mov eax, dword [ebp - 0x264]
mov edx, 0x3f0cfcc
call fcn.03cb8c10
je 0x3f0cf24
lea eax, [ebp - 0x2a0]
mov edx, dword [ebp - 0x264]
call fcn.03cb8e78
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x29c]
mov edx, dword [ebp - 4]
call fcn.03cb8fec
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.03f0cc88
lea eax, [ebp - 0x270]
call fcn.03e6de40
test eax, eax
je 0x3f0cebe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3f0cf53
lea eax, [ebp - 0x270]
call fcn.03e6dd48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3f0cf96
lea eax, [ebp - 0x2a0]
mov edx, 9
call fcn.03cb7eb0
lea eax, [ebp - 0x270]
mov edx, dword [0x3e6cc60]
call fcn.03cb9774
lea eax, [ebp - 8]
mov edx, 2
call fcn.03cb7eb0
ret