Function at 0x471970
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c556d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f4fa0]
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 0x471e96
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 0x471e93
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 0x471a17
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
cmp edi, 8
jae 0x471a2a
movups xmm0, xmmword [eax]
mov esi, 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x471a8e
mov esi, edi
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x471ed4
add eax, eax
cmp eax, 0x1000
jb 0x471a61
push eax
call fcn.0045f1c0
add esp, 4
mov ecx, eax
jmp 0x471a74
test eax, eax
je 0x471a72
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
mov ecx, eax
jmp 0x471a74
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 0x471acd
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp ecx, 8
jae 0x471ae3
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x68]
mov edi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x471b53
mov edi, ecx
mov eax, 0x7ffffffe
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x471ed4
add eax, eax
cmp eax, 0x1000
jb 0x471b1d
push eax
call fcn.0045f1c0
mov ecx, dword [ebp - 0x60]
add esp, 4
mov edx, eax
jmp 0x471b33
test eax, eax
je 0x471b31
push eax
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x60]
add esp, 4
mov edx, eax
jmp 0x471b33
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 0x471bf4
mov byte [ebp - 4], al
cmp edi, 8
jb 0x471ba2
mov ecx, dword [ebp - 0x28]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x471b95
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push edi
push ecx
call fcn.004bec24
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 0x471e5e
mov ecx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x471bee
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push esi
jmp 0x471e55
test ecx, ecx
jne 0x471c8f
mov byte [ebp - 4], cl
cmp edi, 8
jb 0x471c39
mov ecx, dword [ebp - 0x28]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x471c2c
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push edi
push ecx
call fcn.004bec24
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 0x471e5e
mov ecx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x471bee
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push esi
jmp 0x471e55
cmp esi, 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004775e0
add esp, 8
test al, al
je 0x471dd3
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.004775e0
add esp, 8
test al, al
je 0x471dbe
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00499180
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0047a060
add esp, 0xc
test al, al
jne 0x471d5f
lea eax, [ebp - 0x58]
push eax
call fcn.004790f0
add esp, 4
test al, al
jne 0x471d5f
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x471d49
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471d3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push edx
push ecx
call fcn.004bec24
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
jmp 0x471dbe
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x471d9d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471d93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push edx
push ecx
call fcn.004bec24
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 0x471dd3
mov eax, dword [ebp - 0x5c]
push 0
push 0x4d5da0
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 0x64]
call fcn.004b41a0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x471e11
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471e07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push edx
push ecx
call fcn.004bec24
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 0x471e5e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471e54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471e8d
push edx
push ecx
call fcn.004bec24
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 0x471e96
jmp 0x4719c1
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 0x471eb4
mov ecx, esi
call fcn.004b3c30
add esi, 0x18
cmp esi, edi
jne 0x471ea0
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.004bf1dd
mov esp, ebp
pop ebp
ret
call fcn.004b3b90
int3