Function at 0x489ab8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff30
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, eax
mov eax, 0x4cb9a4
call fcn.004ad4bc
mov dword [ebp - 0x60], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0xc]
call fcn.004b7538
inc dword [ebp - 0x60]
mov word [ebp - 0x6c], 8
cmp byte [ebx + 0x375], 0
je 0x489baa
mov word [ebp - 0x6c], 0x14
mov word [ebp - 0x6c], 0x20
push 3
lea edx, [ebp - 0xc]
push edx
call fcn.004b747c
add esp, 8
lea eax, [ebp - 0xc]
call fcn.004b7868
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
add edx, 2
mov dl, byte [edx]
call fcn.004b75d0
inc dword [ebp - 0x60]
call fcn.004b7b68
mov dword [ebx + 0x3b0], eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b7660
mov word [ebp - 0x6c], 8
jmp 0x489c4f
mov word [ebp - 0x6c], 0x2c
mov word [ebp - 0x6c], 0x38
push 2
lea edx, [ebp - 0xc]
push edx
call fcn.004b747c
add esp, 8
lea eax, [ebp - 0xc]
call fcn.004b7868
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
inc edx
mov dl, byte [edx]
call fcn.004b75d0
inc dword [ebp - 0x60]
call fcn.004b7b68
mov dword [ebx + 0x3b0], eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b7660
mov word [ebp - 0x6c], 8
jmp 0x489c4f
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x3c4], edx
xor eax, eax
mov dword [ebx + 0x3b8], 0xffffffff
mov dword [ebx + 0x3dc], ecx
mov edx, 0x4cae88
mov byte [ebx + 0x3bc], 0
mov dword [ebx + 0x3d0], eax
push 0
mov word [ebp - 0x6c], 0x44
lea eax, [ebp - 0x18]
call fcn.004b7538
inc dword [ebp - 0x60]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], ecx
push eax
inc dword [ebp - 0x60]
call fcn.0040b85c
add esp, 8
cmp dword [ebp - 0x1c], 0
je 0x489cb2
mov edx, dword [ebp - 0x1c]
jmp 0x489cb7
mov edx, 0x4c9875
push edx
mov edx, 0x4cae80
lea eax, [ebp - 0x20]
call fcn.004b7538
inc dword [ebp - 0x60]
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x24], eax
push edx
inc dword [ebp - 0x60]
call fcn.0040b85c
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x489cea
mov ecx, dword [ebp - 0x24]
jmp 0x489cef
mov ecx, 0x4c9874
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
mov edx, 2
sete al
and eax, 1
push eax
lea eax, [ebp - 0x24]
dec dword [ebp - 0x60]
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x489dfd
mov word [ebp - 0x6c], 0x50
mov edx, 0x4cae88
lea eax, [ebp - 0x28]
call fcn.004b7538
inc dword [ebp - 0x60]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x2c], eax
push edx
inc dword [ebp - 0x60]
call fcn.0040b85c
xor eax, eax
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, 0x4c9876
inc dword [ebp - 0x60]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.004b7ca0
lea edx, [ebp - 0x30]
mov edx, dword [edx]
mov eax, dword [ebx + 0x3f8]
mov ecx, 2
call fcn.004a14b8
dec dword [ebp - 0x60]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004b7660
mov ecx, dword [0x4da0ec]
mov eax, dword [ecx]
call fcn.00446508
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x48a264
mov word [ebp - 0x6c], 0x5c
mov edx, 0x4cae80
lea eax, [ebp - 0x34]
call fcn.004b7538
inc dword [ebp - 0x60]
mov edx, dword [eax]
mov eax, ebx
call fcn.0048a26c
xor ecx, ecx
mov edx, 2
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
lea eax, [ebp - 0x34]
dec dword [ebp - 0x60]
call fcn.004b7660
pop ecx
test cl, cl
je 0x489ea1
mov word [ebp - 0x6c], 0x68
mov edx, str.Please_run_Assetup.exe_first__
lea eax, [ebp - 0x38]
call fcn.004b7500
inc dword [ebp - 0x60]
mov edx, dword [eax]
mov eax, dword [ebx + 0x3f8]
mov ecx, 2
call fcn.004a14b8
dec dword [ebp - 0x60]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b7660
mov ecx, dword [0x4da0ec]
mov eax, dword [ecx]
call fcn.00446508
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x48a264
mov word [ebp - 0x6c], 0x74
mov edx, 0x4c98af
lea eax, [ebp - 0x3c]
call fcn.004b7500
inc dword [ebp - 0x60]
mov ecx, dword [eax]
push ecx
push 0x20
push 0
lea eax, [ebp - 0xb0]
push eax
call fcn.004ad0a8
add esp, 0xc
or byte [ebp - 0xab], 0x20
lea edx, [ebp - 0xb0]
mov cl, 1
pop eax
call fcn.0047e5f8
push eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x489fd9
mov word [ebp - 0x6c], 8
xor edx, edx
jmp 0x489fbb
mov word [ebp - 0x6c], 8
xor eax, eax
jmp 0x489f8c
mov dword [ebp - 0x88], edx
mov ecx, eax
mov edi, dword [ebp - 0x88]
mov esi, dword [ebx + 0x390]
shl edi, 2
add esi, edi
shl ecx, 2
mov esi, dword [esi]
add esi, 0x68
mov dword [ebp - 0x84], esi
mov esi, dword [ebp - 0x84]
mov esi, dword [esi + 4]
add esi, ecx
mov ecx, dword [esi]
xor esi, esi
mov ecx, dword [ecx + 0x50]
mov dword [ecx + 8], esi
mov dword [ebp - 0x90], edx
mov edi, dword [ebp - 0x90]
mov esi, dword [ebx + 0x390]
shl edi, 2
mov ecx, eax
add esi, edi
shl ecx, 2
mov esi, dword [esi]
add esi, 0x68
mov dword [ebp - 0x8c], esi
mov esi, dword [ebp - 0x8c]
mov esi, dword [esi + 4]
add esi, ecx
mov ecx, dword [esi]
xor esi, esi
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 8], esi
inc eax
mov dword [ebp - 0x80], edx
mov ecx, dword [ebx + 0x390]
mov esi, dword [ebp - 0x80]
shl esi, 2
add ecx, esi
mov ecx, dword [ecx]
add ecx, 0x68
mov esi, dword [ecx + 8]
sub esi, dword [ecx + 4]
test esi, esi
jns 0x489faf
add esi, 3
sar esi, 2
cmp eax, esi
jb 0x489f13
inc edx
lea eax, [ebx + 0x38c]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
test ecx, ecx
jns 0x489fce
add ecx, 3
sar ecx, 2
cmp edx, ecx
jb 0x489f09
mov eax, ebx
call fcn.0048c994
test al, al
jne 0x48a010
mov edx, dword [0x4da0ec]
mov eax, dword [edx]
call fcn.00446508
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x48a264
mov word [ebp - 0x6c], 0x80
mov edx, 0x4cae88
lea eax, [ebp - 0x40]
call fcn.004b7538
inc dword [ebp - 0x60]
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x44], eax
push edx
inc dword [ebp - 0x60]
call fcn.0040b85c
lea ecx, [ebp - 0x44]
add esp, 8
mov dl, 1
mov eax, dword [0x430bc0]
mov ecx, dword [ecx]
call fcn.00408520
mov esi, eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b7660
mov word [ebp - 0x6c], 8
mov ecx, dword [ebx + 0x37c]
push ecx
mov edx, 0x4c98c2
lea eax, [ebp - 0x4c]
call fcn.004b7500
inc dword [ebp - 0x60]
mov edx, 0x4c98b7
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
push ecx
mov word [ebp - 0x6c], 0x8c
call fcn.004b7500
inc dword [ebp - 0x60]
mov edx, dword [eax]
mov eax, esi
pop ecx
mov edi, dword [eax]
call dword [edi + 4]
dec dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b7660
dec dword [ebp - 0x60]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b7660
mov edi, esi
mov dword [ebp - 0x54], edi
test edi, edi
je 0x48a0f7
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
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, ebx
call fcn.0048cf5c
mov eax, ebx
call fcn.0048d0dc
mov eax, ebx
call fcn.0048f8fc
mov word [ebp - 0x6c], 0xb0
mov edx, 0x4c98cd
lea eax, [ebp - 0x58]
call fcn.004b7500
inc dword [ebp - 0x60]
mov edx, dword [eax]
push edx
push 0x20
push 0
lea ecx, [ebp - 0xd0]
push ecx
call fcn.004ad0a8
add esp, 0xc
or byte [ebp - 0xcb], 0x20
lea edx, [ebp - 0xd0]
mov cl, 1
pop eax
call fcn.0047e5f8
push eax
dec dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x48a19f
mov edx, dword [ebx + 0x318]
mov eax, ebx
call fcn.00490648
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, ebx
call fcn.00443370
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
jmp 0x48a264
push 0
push str.TAsAutorunForm
call sub.USER32.DLL_FindWindowA
mov esi, eax
mov word [ebp - 0x6c], 8
test esi, esi
je 0x48a1c5
push 4
push esi
call sub.USER32.DLL_GetWindow
push eax
call sub.USER32.DLL_CloseWindow
xor eax, eax
jmp 0x48a1ef
mov edx, eax
mov ecx, dword [ebx + 0x390]
shl edx, 2
add ecx, edx
mov edx, dword [ecx]
cmp byte [edx + 0x14], 0
jne 0x48a1ee
mov byte [ebx + 0x3fc], 1
mov eax, ebx
call fcn.00443370
jmp 0x48a209
inc eax
lea edx, [ebx + 0x38c]
mov ecx, dword [edx + 8]
sub ecx, dword [edx + 4]
test ecx, ecx
jns 0x48a202
add ecx, 3
sar ecx, 2
cmp eax, ecx
jb 0x48a1c9
cmp byte [ebx + 0x3fc], 0
jne 0x48a24a
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4b9e80]
call fcn.00401f34
mov word [ebp - 0x6c], 8
mov edx, eax
xor eax, eax
cmp dword [ebx + 0x3b0], 1
jne 0x48a238
mov eax, 1
mov ecx, eax
mov eax, edx
mov edx, ecx
call fcn.00402b0c
mov byte [ebx + 0x3fc], 1
dec dword [ebp - 0x60]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret