Function at 0x675008
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x60
push 0
push 0
dec ecx
jne 0x675011
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x2b0]
mov edx, dword [0x42242c]
call fcn.0040d214
xor eax, eax
push ebp
push 0x675b6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6c01dc]
mov byte [eax], 0
mov dl, 1
mov eax, dword [0x665688]
call fcn.00667e04
mov edx, dword [0x6bfa1c]
mov dword [edx], eax
mov eax, dword [0x6bfe98]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x6c00b4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x6bf960]
call fcn.0040b9a4
mov byte [ebp - 0x2c9], 0
call fcn.0042d2dc
fstp qword [ebp - 0x2c8]
wait
lea eax, [ebp - 4]
mov edx, dword [ebp + 0xc]
call fcn.0040be84
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.0040bddc
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x10]
call fcn.0040bddc
lea ecx, [ebp - 0x34]
mov eax, dword [0x6c009c]
mov edx, 0x675b8c
call fcn.0066d208
push 0x666e1c
push 0
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x110], 0
jne 0x675993
lea eax, [ebp - 0x10]
mov edx, 0x675bac
call fcn.0040bddc
lea eax, [ebp - 0x14]
mov edx, 0x675bac
call fcn.0040bddc
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x10c], 3
jl 0x6752ae
lea eax, [ebp - 0x2f4]
mov edx, dword [ebp - 4]
call fcn.0040c978
mov edx, dword [ebp - 0x2f4]
mov ecx, 1
mov eax, 0x675bc0
call fcn.0040cdd8
mov dword [ebp - 0x2d4], eax
mov esi, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2f8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c404
mov edx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x18]
call fcn.0040c978
lea eax, [ebp - 4]
push eax
lea edx, [esi + 0x14]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 4]
call fcn.0040c404
mov ecx, 1
mov edx, dword [ebp - 0x18]
mov eax, 0x675bf8
call fcn.0040cdd8
mov dword [ebp - 0x2d8], eax
mov ebx, dword [ebp - 0x2d8]
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040cc7c
lea eax, [ebp - 0x18]
push eax
lea edx, [ebx + 0xa]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x18]
call fcn.0040cc7c
mov ecx, 1
mov edx, dword [ebp - 0x18]
mov eax, 0x675bf8
call fcn.0040cdd8
mov dword [ebp - 0x2dc], eax
mov ebx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040cc7c
lea eax, [ebp - 0x18]
push eax
lea edx, [ebx + 0xa]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x18]
call fcn.0040cc7c
mov ecx, 1
mov edx, dword [ebp - 0x18]
mov eax, 0x675bf8
call fcn.0040cdd8
mov dword [ebp - 0x2e0], eax
mov ebx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040cc7c
lea eax, [ebp - 0x18]
push eax
lea edx, [ebx + 0xa]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x18]
call fcn.0040cc7c
mov eax, dword [ebp - 0x10]
mov edx, 0x675bac
call fcn.0040cc44
je 0x67527d
mov eax, dword [ebp - 0x10]
mov edx, 0x675c1c
call fcn.0040cc44
je 0x67527d
lea eax, [ebp - 0x10]
mov edx, 0x675bac
call fcn.0040bddc
mov eax, dword [ebp - 0x14]
mov edx, 0x675bac
call fcn.0040cc44
je 0x675316
mov eax, dword [ebp - 0x14]
mov edx, 0x675c1c
call fcn.0040cc44
je 0x675316
lea eax, [ebp - 0x14]
mov edx, 0x675bac
call fcn.0040bddc
jmp 0x675316
lea eax, [ebp - 0x2fc]
mov edx, dword [ebp - 4]
call fcn.0040c978
mov edx, dword [ebp - 0x2fc]
mov ecx, 1
mov eax, 0x675bc0
call fcn.0040cdd8
mov dword [ebp - 0x2e4], eax
mov esi, dword [ebp - 0x2e4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x300]
mov edx, dword [ebp - 4]
call fcn.0040c978
mov eax, dword [ebp - 0x300]
mov ecx, esi
dec ecx
mov edx, 1
call fcn.0040cc7c
lea eax, [ebp - 4]
push eax
lea edx, [esi + 0x14]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 4]
call fcn.0040c404
test esi, esi
je 0x675630
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, 0x675c30
call fcn.0040cdd8
mov dword [ebp - 0x2e8], eax
mov edi, dword [ebp - 0x2e8]
test edi, edi
jle 0x6755ea
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x7fffffff
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0040cc7c
lea eax, [ebp - 8]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040cc7c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00671054
mov eax, dword [ebp - 0x14]
mov edx, 0x675c1c
call fcn.0040cc44
jne 0x675559
lea eax, [ebp - 0x2c]
call fcn.0040b9a4
xor eax, eax
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], eax
xor eax, eax
push ebp
push 0x6754d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x304]
mov ecx, 0x675c44
mov edx, dword [ebp - 8]
call fcn.0040cb0c
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x2b0]
mov edx, 0x20
call fcn.0042aacc
test eax, eax
jne 0x6754c7
xor eax, eax
push ebp
push 0x67549f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x29c]
call fcn.0040bddc
mov eax, dword [ebp - 0x30]
mov edx, 0x675c58
call fcn.0040cc44
je 0x675495
mov eax, dword [ebp - 0x30]
mov edx, 0x675c6c
call fcn.0040cc44
je 0x675495
mov eax, dword [ebp - 0x30]
mov edx, 0x675c7c
call fcn.0040cc44
je 0x675495
mov eax, dword [ebp - 0x30]
mov edx, 0x675c90
call fcn.0040cc44
je 0x675495
cmp dword [ebp - 0x2c], 0
jne 0x67545f
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.0040bddc
lea eax, [ebp - 0x2b0]
call fcn.00429108
fstp qword [ebp - 0x2c0]
wait
jmp 0x675495
lea eax, [ebp - 0x2b0]
call fcn.00429108
fld qword [ebp - 0x2c0]
fucompp
wait
fnstsw ax
sahf
jae 0x675495
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.0040bddc
lea eax, [ebp - 0x2b0]
call fcn.00429108
fstp qword [ebp - 0x2c0]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6754a9
lea eax, [ebp - 0x2b0]
call fcn.0042ab1c
test eax, eax
je 0x6753de
lea eax, [ebp - 0x2b0]
call fcn.0042ab40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6754e8
cmp dword [ebp - 0x2c], 0
je 0x6750eb
mov eax, dword [ebp - 0x2c]
mov edx, 0x675ca4
call fcn.0040cc44
je 0x6750eb
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
call fcn.0040cb0c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
call fcn.0040cab4
xor eax, eax
push ebp
push 0x67554a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6750eb
mov eax, dword [ebp - 0x10]
mov edx, 0x675c1c
call fcn.0040cc44
jne 0x6755a9
xor eax, eax
push ebp
push 0x67559a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6750eb
xor eax, eax
push ebp
push 0x6755db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6750eb
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00671054
xor eax, eax
push ebp
push 0x675621
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6750eb
mov eax, dword [ebp - 0x2b4]
mov edx, dword [0x6bf744]
mov ecx, dword [edx]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 0x2b4]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0xb0]
mov eax, dword [ebp - 0x2b4]
call fcn.0066fac8
mov eax, dword [0x6bfdf0]
mov edx, dword [ebp - 0x2b4]
mov ecx, dword [edx + 0x30]
mov dword [eax], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 4], ecx
mov eax, dword [0x6bfdf0]
fild qword [eax]
fdiv dword [0x675cb0]
call fcn.00407e70
mov ecx, dword [0x6bfeec]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [0x6bfe0c]
mov byte [eax], 1
mov eax, dword [0x6bf82c]
mov byte [eax], 0
mov eax, dword [0x6c01a0]
mov byte [eax], 0
mov eax, dword [0x6bf468]
mov byte [eax], 0
mov eax, dword [0x6bfd98]
mov byte [eax], 0
mov eax, dword [0x6bfa08]
mov byte [eax], 0
mov eax, dword [0x6c0014]
mov byte [eax], 0
mov eax, dword [0x6bfee4]
mov byte [eax], 0
mov eax, dword [0x6bf810]
mov byte [eax], 0
mov eax, dword [0x6bf8d0]
mov byte [eax], 0
mov eax, dword [0x6bff1c]
mov byte [eax], 0
mov edx, 0xb
mov eax, dword [ebp - 0x2b4]
call fcn.00673fc8
xor eax, eax
push ebp
push 0x675972
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2d0], 2
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 0x114]
dec eax
je 0x67574b
dec eax
sub eax, 2
jb 0x67575a
sub eax, 3
jb 0x6757bf
sub eax, 0x3b9ac9f9
jb 0x67581d
jmp 0x675860
mov dword [ebp - 0x2d0], 1
jmp 0x675860
mov dword [ebp - 0x2d0], 2
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x34], 0
jne 0x67577b
cmp dword [eax + 0x30], 0x3b9aca00
jbe 0x675787
jmp 0x67577d
jle 0x675787
mov dword [ebp - 0x2d0], 1
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 0xb8], 1
jne 0x6757a0
mov dword [ebp - 0x2d0], 1
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 0x5c], 0
jne 0x675860
mov dword [ebp - 0x2d0], 1
jmp 0x675860
mov dword [ebp - 0x2d0], 4
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x34], 0
jne 0x6757e0
cmp dword [eax + 0x30], 0x3b9aca00
jbe 0x6757ec
jmp 0x6757e2
jle 0x6757ec
mov dword [ebp - 0x2d0], 2
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 0xb8], 1
jne 0x675805
mov dword [ebp - 0x2d0], 2
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 0x5c], 0
jne 0x675860
mov dword [ebp - 0x2d0], 2
jmp 0x675860
mov dword [ebp - 0x2d0], 4
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x34], 0
jne 0x67583e
cmp dword [eax + 0x30], 0xb2d05e00
jbe 0x67584a
jmp 0x675840
jle 0x67584a
mov dword [ebp - 0x2d0], 3
mov eax, dword [ebp - 0x2b4]
cmp byte [eax + 0x5c], 0
jne 0x675860
mov dword [ebp - 0x2d0], 3
mov bl, 1
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 0x58]
mov edx, 0x675cc0
call fcn.0040cc44
jne 0x675883
xor ebx, ebx
mov dword [ebp - 0x2d0], 9
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 0x58]
mov edx, 0x675cd0
call fcn.0040cc44
jne 0x6758a4
xor ebx, ebx
mov dword [ebp - 0x2d0], 1
mov eax, dword [0x6c01dc]
cmp byte [eax], 1
jne 0x6758b8
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x2d0], eax
mov eax, dword [0x6bfe98]
cmp dword [eax], 0
jle 0x6758e5
mov eax, dword [0x6c00b4]
cmp dword [eax], 0
jle 0x6758e5
mov eax, dword [0x6bfe98]
mov eax, dword [eax]
mov edx, dword [0x6c00b4]
cmp eax, dword [edx]
jne 0x6758e5
xor eax, eax
mov dword [ebp - 0x2d0], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x2d0]
call fcn.0042a094
mov eax, dword [ebp - 0x2b4]
add eax, 0xd4
mov edx, dword [ebp - 0x38]
call fcn.0040bd94
xor eax, eax
push ebp
push 0x67592c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x34]
call fcn.0066cdb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x675936
xor eax, eax
push ebp
push 0x67595e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x675968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x675993
xor eax, eax
push ebp
push 0x6759b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6759be
xor eax, eax
push ebp
push 0x6759de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
call fcn.00410b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6759e8
mov eax, dword [0x6bfa1c]
mov eax, dword [eax]
mov byte [eax + 0x28], 1
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0x110], 0
jne 0x675a36
mov eax, dword [ebp - 0x2b4]
cmp dword [eax + 0xd0], 0
je 0x675a36
push 0
mov eax, dword [ebp - 0x2b4]
mov eax, dword [eax + 0xd0]
call fcn.0040c8a8
push eax
mov eax, dword [ebp - 0x2b8]
call fcn.0040c8a8
push eax
call sub.kernel32.dll_CopyFileW
push dword [ebp - 0x2c4]
push dword [ebp - 0x2c8]
call fcn.0042d2dc
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004d9888
mov ecx, dword [ebp - 0x2b4]
mov dword [ecx + 0xf8], eax
mov dword [ecx + 0xfc], edx
xor eax, eax
push ebp
push 0x675ac8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2b4]
fild qword [eax + 0xf8]
fdiv dword [0x675cd4]
fstp qword [ebp - 0x2f0]
wait
push dword [ebp - 0x2ec]
push dword [ebp - 0x2f0]
lea ecx, [ebp - 0x3c]
mov edx, dword [0x6bfeb0]
mov eax, 0x675ce4
call fcn.0042e300
mov eax, dword [ebp - 0x2b4]
add eax, 0xac
mov edx, dword [ebp - 0x3c]
call fcn.0040bd94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x675ae7
mov eax, 0x3e8
call fcn.004b14d8
mov eax, dword [ebp + 8]
movzx edx, byte [ebp - 0x2c9]
mov byte [eax], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x675b75
lea eax, [ebp - 0x304]
mov edx, 3
call fcn.0040ba04
lea eax, [ebp - 0x2f8]
call fcn.0040b9c8
lea eax, [ebp - 0x2f4]
call fcn.0040b9a4
lea eax, [ebp - 0x2b0]
mov edx, dword [0x42242c]
call fcn.0040d600
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0040ba04
lea eax, [ebp - 0x34]
call fcn.00410b10
lea eax, [ebp - 0x30]
mov edx, 0xb
call fcn.0040ba04
lea eax, [ebp - 4]
call fcn.0040b9c8
pop eax
jmp eax