Function at 0x487ae8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff24
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x80], eax
mov eax, 0x4ccd18
call fcn.004afb5c
mov dword [ebp - 0x60], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0xc]
call fcn.004b9bd8
inc dword [ebp - 0x60]
mov word [ebp - 0x6c], 8
mov edx, dword [ebp - 0x80]
cmp byte [edx + 0x375], 0
je 0x487bd2
mov word [ebp - 0x6c], 0x14
mov word [ebp - 0x6c], 0x20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040aae8
mov dl, byte [eax]
lea eax, [ebp - 0x10]
call fcn.004b9c70
inc dword [ebp - 0x60]
call fcn.004ba208
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x3b0], eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0x6c], 8
jmp 0x487c6d
mov word [ebp - 0x6c], 0x2c
mov word [ebp - 0x6c], 0x38
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040aae8
mov dl, byte [eax]
lea eax, [ebp - 0x14]
call fcn.004b9c70
inc dword [ebp - 0x60]
call fcn.004ba208
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x3b0], eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0x6c], 8
jmp 0x487c6d
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov dword [edx + 0x3c4], ecx
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x3b8], 0xffffffff
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov dword [edx + 0x3dc], ecx
mov eax, dword [ebp - 0x80]
mov byte [eax + 0x3bc], 0
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov dword [edx + 0x3d0], ecx
push 0
mov word [ebp - 0x6c], 0x44
mov edx, 0x4cc184
lea eax, [ebp - 0x18]
call fcn.004b9bd8
inc dword [ebp - 0x60]
push dword [eax]
lea eax, [ebp - 0x1c]
call fcn.00401790
push eax
inc dword [ebp - 0x60]
call fcn.0040b540
add esp, 8
lea eax, [ebp - 0x1c]
call fcn.00408c78
push eax
mov edx, 0x4cc17c
lea eax, [ebp - 0x20]
call fcn.004b9bd8
inc dword [ebp - 0x60]
push dword [eax]
lea eax, [ebp - 0x24]
call fcn.00401790
push eax
inc dword [ebp - 0x60]
call fcn.0040b540
add esp, 8
lea eax, [ebp - 0x24]
call fcn.00408c78
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
sete dl
and edx, 1
push edx
dec dword [ebp - 0x60]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x487e1e
mov word [ebp - 0x6c], 0x50
mov edx, 0x4cc184
lea eax, [ebp - 0x28]
call fcn.004b9bd8
inc dword [ebp - 0x60]
push dword [eax]
lea eax, [ebp - 0x2c]
call fcn.00401790
push eax
inc dword [ebp - 0x60]
call fcn.0040b540
add esp, 8
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0x60]
mov eax, 0x4ca4a7
pop edx
call fcn.004ba340
lea edx, [ebp - 0x30]
mov edx, dword [edx]
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x3f8]
mov ecx, 2
call fcn.004a5090
dec dword [ebp - 0x60]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [0x4db5ac]
mov eax, dword [ecx]
call fcn.00442728
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x4882d6
mov word [ebp - 0x6c], 0x5c
mov edx, 0x4cc17c
lea eax, [ebp - 0x34]
call fcn.004b9bd8
inc dword [ebp - 0x60]
mov edx, dword [eax]
mov eax, dword [ebp - 0x80]
call fcn.00488344
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x487ec6
mov word [ebp - 0x6c], 0x68
mov edx, str.Please_run_Assetup.exe_first__
lea eax, [ebp - 0x38]
call fcn.004b9ba0
inc dword [ebp - 0x60]
mov edx, dword [eax]
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x3f8]
mov ecx, 2
call fcn.004a5090
dec dword [ebp - 0x60]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [0x4db5ac]
mov eax, dword [ecx]
call fcn.00442728
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x4882d6
lea eax, [ebp - 0xbc]
call fcn.0040184c
mov dl, 0x2d
call fcn.00401880
push eax
mov word [ebp - 0x6c], 0x74
mov edx, 0x4ca4e0
lea eax, [ebp - 0x3c]
call fcn.004b9ba0
inc dword [ebp - 0x60]
mov eax, dword [eax]
mov cl, 1
pop edx
call fcn.0047a818
push eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x487ff9
xor eax, eax
mov dword [ebp - 0x84], eax
mov word [ebp - 0x6c], 8
jmp 0x487fdd
xor edx, edx
mov dword [ebp - 0x88], edx
mov word [ebp - 0x6c], 8
jmp 0x487fa8
push dword [ebp - 0x88]
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
add ecx, 0x38c
push ecx
call fcn.00488308
add esp, 8
mov eax, dword [eax]
add eax, 0x60
push eax
call fcn.00411030
add esp, 8
mov edx, dword [eax]
mov ecx, dword [edx + 0x38]
xor eax, eax
mov dword [ecx + 8], eax
push dword [ebp - 0x88]
push dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
add edx, 0x38c
push edx
call fcn.00488308
add esp, 8
mov ecx, dword [eax]
add ecx, 0x60
push ecx
call fcn.00411030
add esp, 8
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
xor ecx, ecx
mov dword [edx + 8], ecx
inc dword [ebp - 0x88]
push dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
add eax, 0x38c
push eax
call fcn.00488308
add esp, 8
mov edx, dword [eax]
add edx, 0x60
push edx
call fcn.00410790
pop ecx
cmp eax, dword [ebp - 0x88]
ja 0x487f36
inc dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
add ecx, 0x38c
push ecx
call fcn.004882e0
pop ecx
cmp eax, dword [ebp - 0x84]
ja 0x487f26
mov eax, dword [ebp - 0x80]
call fcn.00490734
test al, al
jne 0x488031
mov edx, dword [0x4db5ac]
mov eax, dword [edx]
call fcn.00442728
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x4882d6
mov word [ebp - 0x6c], 0x80
mov edx, 0x4cc184
lea eax, [ebp - 0x40]
call fcn.004b9bd8
inc dword [ebp - 0x60]
push dword [eax]
lea eax, [ebp - 0x44]
call fcn.00401790
push eax
inc dword [ebp - 0x60]
call fcn.0040b540
add esp, 8
lea ecx, [ebp - 0x44]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x42cde0]
call fcn.00408c98
mov dword [ebp - 0x8c], eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0x6c], 8
mov ecx, dword [ebp - 0x80]
push dword [ecx + 0x37c]
mov edx, 0x4ca4f3
lea eax, [ebp - 0x4c]
call fcn.004b9ba0
inc dword [ebp - 0x60]
push dword [eax]
mov word [ebp - 0x6c], 0x8c
mov edx, 0x4ca4e8
lea eax, [ebp - 0x48]
call fcn.004b9ba0
inc dword [ebp - 0x60]
mov edx, dword [eax]
mov eax, dword [ebp - 0x8c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x60]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0
je 0x488129
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov word [ebp - 0x6c], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x6c], 0x98
mov eax, dword [ebp - 0x80]
call fcn.00490d40
mov eax, dword [ebp - 0x80]
call fcn.00490ec8
mov eax, dword [ebp - 0x80]
call fcn.00492ddc
lea eax, [ebp - 0xdc]
call fcn.0040184c
mov dl, 0x2d
call fcn.00401880
push eax
mov word [ebp - 0x6c], 0xb0
mov edx, 0x4ca4fe
lea eax, [ebp - 0x58]
call fcn.004b9ba0
inc dword [ebp - 0x60]
mov eax, dword [eax]
mov cl, 1
pop edx
call fcn.0047a818
push eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x4881cc
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x318]
mov eax, dword [ebp - 0x80]
call fcn.00493ca4
xor edx, edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x80]
call fcn.0043f590
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x4882d6
push 0
push str.TAsAutorunForm
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x90], eax
mov word [ebp - 0x6c], 8
cmp dword [ebp - 0x90], 0
je 0x488200
push 4
push dword [ebp - 0x90]
call sub.USER32.DLL_GetWindow
push eax
call sub.USER32.DLL_CloseWindow
xor eax, eax
mov dword [ebp - 0x94], eax
jmp 0x488244
push dword [ebp - 0x94]
mov edx, dword [ebp - 0x80]
add edx, 0x38c
push edx
call fcn.00488308
add esp, 8
mov ecx, dword [eax]
cmp byte [ecx + 0x14], 0
jne 0x48823e
mov eax, dword [ebp - 0x80]
mov byte [eax + 0x3fc], 1
mov eax, dword [ebp - 0x80]
call fcn.0043f590
jmp 0x48825c
inc dword [ebp - 0x94]
mov edx, dword [ebp - 0x80]
add edx, 0x38c
push edx
call fcn.004882e0
pop ecx
cmp eax, dword [ebp - 0x94]
ja 0x48820a
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + 0x3fc], 0
jne 0x4882bc
mov ecx, dword [ebp - 0x80]
mov dl, 1
mov eax, dword [0x4bceb4]
call fcn.00402084
mov dword [ebp - 0x98], eax
mov word [ebp - 0x6c], 8
xor eax, eax
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x80]
cmp dword [edx + 0x3b0], 1
jne 0x4882a1
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
call fcn.00402ebc
mov ecx, dword [ebp - 0x80]
mov byte [ecx + 0x3fc], 1
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret