Function at 0x4f98f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543558
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x583184]
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.004ffd50
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 0x55ceec
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404420
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.00407100
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404370
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x70]
push ecx
cmp dword [ebp - 0x78], eax
je 0x4f99c8
mov ecx, eax
call fcn.00405950
add dword [ebp - 0x7c], 0x18
jmp 0x4f99d1
push eax
lea ecx, [ebp - 0x80]
call fcn.0040c9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00404370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00404370
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 0x4f9c17
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.00407b80
add esp, 4
test al, al
je 0x4f9c05
add edi, 4
push edi
call fcn.00407b80
add esp, 4
test al, al
jne 0x4f9a7b
push edi
call fcn.00409b50
add esp, 4
test al, al
je 0x4f9c05
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.00409c00
add esp, 8
test al, al
je 0x4f9bf9
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00407100
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4f9aff
mov ecx, eax
call fcn.004043c0
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.00404370
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x4f9b1e
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.00404370
test esi, esi
je 0x4f9c05
mov edi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x4f9b5d
mov ecx, eax
call fcn.00405950
add dword [edi + 4], 0x18
jmp 0x4f9b65
push eax
mov ecx, edi
call fcn.0040c9a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4f9ba3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4f9b99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f9c4a
push edx
push ecx
call fcn.00500671
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 0x4f9c17
mov edi, dword [ebp - 0x90]
jmp 0x4f9a20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00404370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404370
mov byte [ebp - 0x71], 0
jmp 0x4f9c1b
mov byte [ebp - 0x71], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0040c590
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.00500396
mov esp, ebp
pop ebp
ret 4
call fcn.005047a9
int3