Function at 0x4717e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c516d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f4f98]
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 - 0x5c], ecx
mov edx, dword [ecx + 8]
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 4]
xor edi, edi
sub edx, esi
mov dword [ebp - 0x70], edi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x471d06
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0x14]
sub ecx, dword [eax + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x471d03
lea eax, [edi + edi*2]
mov dword [ebp - 0x40], 0
shl eax, 3
mov dword [ebp - 0x64], eax
add eax, esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x60], eax
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x68], edi
jb 0x471887
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
cmp edi, 8
jae 0x47189a
movups xmm0, xmmword [eax]
mov esi, 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x4718fe
mov esi, edi
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x471d44
add eax, eax
cmp eax, 0x1000
jb 0x4718d1
push eax
call fcn.0045f1c0
add esp, 4
mov ecx, eax
jmp 0x4718e4
test eax, eax
je 0x4718e2
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
mov ecx, eax
jmp 0x4718e4
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [ebp - 0x40], ecx
push eax
push dword [ebp - 0x60]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x64]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x60], ecx
jb 0x47193d
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp ecx, 8
jae 0x471953
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x68]
mov edi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x4719c3
mov edi, ecx
mov eax, 0x7ffffffe
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x471d44
add eax, eax
cmp eax, 0x1000
jb 0x47198d
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x60]
add esp, 4
mov edx, eax
jmp 0x4719a3
test eax, eax
je 0x4719a1
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x60]
add esp, 4
mov edx, eax
jmp 0x4719a3
xor edx, edx
lea eax, [ecx*2 + 2]
mov dword [ebp - 0x28], edx
push eax
push dword [ebp - 0x6c]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
test eax, eax
jne 0x471a64
mov byte [ebp - 4], al
cmp edi, 8
jb 0x471a12
mov ecx, dword [ebp - 0x28]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x471a05
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push edi
push ecx
call fcn.004be864
mov esi, dword [ebp - 0x2c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp esi, 8
jb 0x471cce
mov ecx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x471a5e
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push esi
jmp 0x471cc5
test ecx, ecx
jne 0x471aff
mov byte [ebp - 4], cl
cmp edi, 8
jb 0x471aa9
mov ecx, dword [ebp - 0x28]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x471a9c
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push edi
push ecx
call fcn.004be864
mov esi, dword [ebp - 0x2c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp esi, 8
jb 0x471cce
mov ecx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x471a5e
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push esi
jmp 0x471cc5
cmp esi, 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00477450
add esp, 8
test al, al
je 0x471c43
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push 0
cmovae edi, dword [ebp - 0x40]
push edi
call fcn.00477450
add esp, 8
test al, al
je 0x471c2e
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00498dc0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00479db0
add esp, 0xc
test al, al
jne 0x471bcf
lea eax, [ebp - 0x58]
push eax
call fcn.00478e40
add esp, 4
test al, al
jne 0x471bcf
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x471bb9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471baf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push edx
push ecx
call fcn.004be864
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
jmp 0x471c2e
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x471c0d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471c03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push edx
push ecx
call fcn.004be864
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push esi
push edi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x471c43
mov eax, dword [ebp - 0x5c]
push 0
push 0x4d5da0
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 0x64]
call fcn.004b3de0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x471c81
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471c77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push edx
push ecx
call fcn.004be864
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x471cce
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471cc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471cfd
push edx
push ecx
call fcn.004be864
add esp, 8
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x70]
inc edi
mov dword [ebp - 0x70], edi
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x5c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x471d06
jmp 0x471831
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp esi, edi
je 0x471d24
mov ecx, esi
call fcn.004b3870
add esi, 0x18
cmp esi, edi
jne 0x471d10
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ecx + 0x10]
mov dword [ecx + 0x14], esi
mov al, 1
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.004bee1d
mov esp, ebp
pop ebp
ret
call fcn.004b37d0
int3