Function at 0x494284
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov dword [ebp - 0xf0], eax
mov eax, 0x4cfb5c
call fcn.004afb5c
mov word [ebp - 0xdc], 8
mov edx, 0x4cc184
lea eax, [ebp - 4]
call fcn.004b9bd8
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
call fcn.0040b540
add esp, 8
lea eax, [ebp - 8]
mov eax, dword [eax]
call fcn.0047695c
xor edx, edx
mov dl, al
cmp edx, 1
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0xd0]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x494519
push 0
mov word [ebp - 0xdc], 0x14
mov edx, 0x4cc184
lea eax, [ebp - 0xc]
call fcn.004b9bd8
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 0x10]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
call fcn.0040b540
add esp, 8
lea eax, [ebp - 0x10]
call fcn.00408c78
push eax
mov edx, 0x4cc17c
lea eax, [ebp - 0x14]
call fcn.004b9bd8
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 0x18]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
call fcn.0040b540
add esp, 8
lea eax, [ebp - 0x18]
call fcn.00408c78
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
sete dl
and edx, 1
push edx
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x4944ac
mov word [ebp - 0xdc], 0x20
mov edx, 0x4cc184
lea eax, [ebp - 0x1c]
call fcn.004b9bd8
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 0x20]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
call fcn.0040b540
add esp, 8
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0xd0]
mov eax, str.Can_not_create_log_file:
pop edx
call fcn.004ba340
lea edx, [ebp - 0x24]
mov edx, dword [edx]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 0x3f8]
mov ecx, 2
call fcn.004a5090
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b9d00
xor eax, eax
mov edx, dword [ebp - 0xec]
mov dword fs:[0], edx
jmp 0x494f31
mov word [ebp - 0xdc], 0x2c
mov edx, 0x4cc17c
lea eax, [ebp - 0x28]
call fcn.004b9bd8
inc dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf0]
call fcn.00488344
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x494519
mov eax, dword [0x4db5ac]
mov eax, dword [eax]
call fcn.00442728
xor eax, eax
mov edx, dword [ebp - 0xec]
mov dword fs:[0], edx
jmp 0x494f31
mov eax, dword [ebp - 0xf0]
call fcn.00493260
mov word [ebp - 0xdc], 0x44
mov edx, 0x4cc184
lea eax, [ebp - 0x2c]
call fcn.004b9bd8
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 0x30]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
call fcn.0040b540
add esp, 8
lea ecx, [ebp - 0x30]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x42cde0]
call fcn.00408c98
mov dword [ebp - 0xf4], eax
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0xdc], 0x38
xor ecx, ecx
mov dword [ebp - 0xf8], ecx
jmp 0x494c9a
push dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf0]
add eax, 0x38c
push eax
call fcn.00488308
add esp, 8
mov edx, dword [eax]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0xfc], ecx
mov word [ebp - 0xdc], 0x38
mov word [ebp - 0xdc], 0x5c
lea eax, [ebp - 0x38]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
push dword [ebp - 0xf8]
mov edx, dword [ebp - 0xf0]
add edx, 0x38c
push edx
call fcn.00488308
add esp, 8
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
pop edx
call fcn.004766ec
lea ecx, [ebp - 0x38]
push ecx
lea eax, [ebp - 0x3c]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0xd0]
mov eax, 0x4cb065
pop edx
call fcn.004ba340
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x34]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb067
lea eax, [ebp - 0x40]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x40]
pop ecx
pop eax
call fcn.004b9d58
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0xdc], 0x50
push dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf0]
add ecx, 0x38c
push ecx
call fcn.00488308
add esp, 8
mov eax, dword [eax]
push dword [eax + 0x50]
mov word [ebp - 0xdc], 0x68
lea eax, [ebp - 0x48]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb069
lea eax, [ebp - 0x44]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x34]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x48]
push dword [edx]
mov edx, 0x4cb072
lea eax, [ebp - 0x4c]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop edx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b9d00
push dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf0]
add ecx, 0x38c
push ecx
call fcn.00488308
add esp, 8
mov eax, dword [eax]
push dword [eax + 0x54]
mov word [ebp - 0xdc], 0x74
lea eax, [ebp - 0x54]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb07b
lea eax, [ebp - 0x50]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x34]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x54]
push dword [edx]
mov edx, 0x4cb084
lea eax, [ebp - 0x58]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop edx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004b9d00
push dword [ebp - 0xfc]
push dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf0]
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]
push dword [edx + 0x54]
mov word [ebp - 0xdc], 0x80
lea eax, [ebp - 0x60]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb089
lea eax, [ebp - 0x5c]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x34]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x60]
push dword [edx]
mov edx, 0x4cb092
lea eax, [ebp - 0x64]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop edx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004b9d00
mov dword [ebp - 0x100], 1
mov word [ebp - 0xdc], 0x50
jmp 0x494c45
mov word [ebp - 0xdc], 0x98
lea eax, [ebp - 0x6c]
call fcn.00401790
mov edx, eax
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0x100]
call fcn.0048f6f0
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0xd0]
mov eax, 0x4cb09d
pop edx
call fcn.004ba340
lea ecx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x68]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb09f
lea eax, [ebp - 0x74]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x74]
pop ecx
pop eax
call fcn.004b9d58
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0xdc], 0x8c
mov ecx, dword [ebp - 0x100]
dec ecx
push ecx
push dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf0]
add eax, 0x38c
push eax
call fcn.00488308
add esp, 8
mov edx, dword [eax]
add edx, 0x60
push edx
call fcn.00411030
add esp, 8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
lea eax, [ebp - 0x88]
call fcn.004b9cbc
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 0x84]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb0aa
lea eax, [ebp - 0x80]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x68]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x84]
push dword [edx]
mov word [ebp - 0xdc], 0xa4
lea eax, [ebp - 0x7c]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb0a1
lea eax, [ebp - 0x78]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x34]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x7c]
mov edx, dword [edx]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0x100]
dec ecx
push ecx
push dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf0]
add eax, 0x38c
push eax
call fcn.00488308
add esp, 8
mov edx, dword [eax]
add edx, 0x60
push edx
call fcn.00411030
add esp, 8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
lea eax, [ebp - 0x9c]
call fcn.004b9cbc
inc dword [ebp - 0xd0]
push dword [eax]
lea eax, [ebp - 0x98]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb0c1
lea eax, [ebp - 0x94]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x68]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x98]
push dword [edx]
mov word [ebp - 0xdc], 0xb0
lea eax, [ebp - 0x90]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, 0x4cb0b8
lea eax, [ebp - 0x8c]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x34]
pop ecx
call fcn.004b9d58
lea edx, [ebp - 0x90]
mov edx, dword [edx]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0xdc], 0x50
inc dword [ebp - 0x100]
push dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf0]
add ecx, 0x38c
push ecx
call fcn.00488308
add esp, 8
mov eax, dword [eax]
add eax, 0x60
push eax
call fcn.00410790
pop ecx
cmp eax, dword [ebp - 0x100]
jae 0x4948f7
dec dword [ebp - 0xd0]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b9d00
mov word [ebp - 0xdc], 0x38
inc dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf0]
add ecx, 0x38c
push ecx
call fcn.004882e0
pop ecx
cmp eax, dword [ebp - 0xf8]
ja 0x4945ac
lea eax, [ebp - 0xa8]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, dword [ebp - 0xf0]
fld dword [edx + 0x414]
call fcn.004b2ce0
inc eax
pop edx
call fcn.004766ec
lea ecx, [ebp - 0xa8]
push dword [ecx]
mov edx, 0x4cb0db
lea eax, [ebp - 0xa4]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
push dword [eax]
mov word [ebp - 0xdc], 0xbc
mov edx, 0x4cb0d0
lea eax, [ebp - 0xa0]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004b9d00
lea eax, [ebp - 0xb4]
call fcn.00401790
mov edx, eax
inc dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x418]
call fcn.004766ec
lea edx, [ebp - 0xb4]
push dword [edx]
mov edx, str.TotalTime
lea eax, [ebp - 0xb0]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
push dword [eax]
mov word [ebp - 0xdc], 0xc8
mov edx, 0x4cb0e4
lea eax, [ebp - 0xac]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004b9d00
lea eax, [ebp - 0xc0]
call fcn.00401790
push eax
inc dword [ebp - 0xd0]
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 0x424]
call fcn.004a3f14
pop edx
call fcn.00412e88
lea ecx, [ebp - 0xc0]
push dword [ecx]
mov edx, 0x4cb104
lea eax, [ebp - 0xbc]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
push dword [eax]
mov word [ebp - 0xdc], 0xd4
mov edx, 0x4cb0f9
lea eax, [ebp - 0xb8]
call fcn.004b9ba0
inc dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0xd0]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.004b9d00
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0
je 0x494f22
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
mov word [ebp - 0xdc], 0xec
mov edx, 3
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xdc], 0xe0
mov al, 1
mov edx, dword [ebp - 0xec]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret