Function at 0x4fbc20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f888
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x90], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.0052cb80
add esp, 4
mov byte [ebp - 4], 1
xor eax, eax
push 0x11
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push 0x56b174
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00418820
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041e570
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004184c0
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x70]
push ecx
cmp dword [ebp - 0x78], eax
je 0x4fbcf8
mov ecx, eax
call fcn.0041c4e0
add dword [ebp - 0x7c], 0x18
jmp 0x4fbd01
push eax
lea ecx, [ebp - 0x80]
call fcn.004235e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004184c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004184c0
mov ecx, dword [ebp - 0x7c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x80]
imul ecx
mov dword [ebp - 0x84], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4fbf47
xor esi, esi
mov dword [ebp - 0x88], esi
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
add esi, dword [ebp - 0x80]
push esi
call fcn.0041edb0
add esp, 4
test al, al
je 0x4fbf35
add edi, 4
push edi
call fcn.0041edb0
add esp, 4
test al, al
jne 0x4fbdab
push edi
call fcn.00420850
add esp, 4
test al, al
je 0x4fbf35
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.00420900
add esp, 8
test al, al
je 0x4fbf29
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0041e570
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4fbe2f
mov ecx, eax
call fcn.004185b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.004184c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x4fbe4e
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004184c0
test esi, esi
je 0x4fbf35
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x4fbe8d
mov ecx, eax
call fcn.0041c4e0
add dword [edi + 4], 0x18
jmp 0x4fbe95
push eax
mov ecx, edi
call fcn.004235e0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4fbed3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fbec9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fbf7a
push edx
push ecx
call fcn.0050b342
add esp, 8
mov ecx, dword [ebp - 0x7c]
xor eax, eax
sub ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x88]
inc edi
mov word [ebp - 0x28], ax
add esi, 0x18
mov eax, 0x2aaaaaab
mov dword [ebp - 0x18], 0
imul ecx
mov dword [ebp - 0x14], 7
sar edx, 2
mov eax, edx
mov dword [ebp - 0x84], edi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x88], esi
cmp edi, eax
jae 0x4fbf47
mov edi, dword [ebp - 0x90]
jmp 0x4fbd50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004184c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004184c0
mov byte [ebp - 0x71], 0
jmp 0x4fbf4b
mov byte [ebp - 0x71], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00419ad0
mov al, byte [ebp - 0x71]
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.0050b067
mov esp, ebp
pop ebp
ret 4
call fcn.0050f749
int3