Function at 0x490c10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov dword [ebp - 0xf0], eax
lea ebx, [ebp - 0xec]
mov eax, 0x4cd4dc
call fcn.004ad4bc
mov word [ebx + 0x10], 8
mov edx, 0x4cae88
lea eax, [ebp - 4]
call fcn.004b7538
inc dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 8]
push edx
mov dword [ebp - 8], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.0040b85c
add esp, 8
lea eax, [ebp - 8]
mov eax, dword [eax]
call fcn.0047a73c
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebx + 0x1c]
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x490e6d
push 0
mov edx, 0x4cae88
mov word [ebx + 0x10], 0x14
lea eax, [ebp - 0xc]
call fcn.004b7538
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x10], eax
push edx
inc dword [ebx + 0x1c]
call fcn.0040b85c
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x490cd8
mov ecx, dword [ebp - 0x10]
jmp 0x490cdd
mov ecx, 0x4c9cd6
push ecx
mov edx, 0x4cae80
lea eax, [ebp - 0x14]
call fcn.004b7538
inc dword [ebx + 0x1c]
xor edx, edx
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edx
push ecx
inc dword [ebx + 0x1c]
call fcn.0040b85c
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x490d10
mov eax, dword [ebp - 0x18]
jmp 0x490d15
mov eax, 0x4c9cd5
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
lea eax, [ebp - 0x18]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebx + 0x1c]
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x490e0d
mov word [ebx + 0x10], 0x20
mov edx, 0x4cae88
lea eax, [ebp - 0x1c]
call fcn.004b7538
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x20], eax
push edx
inc dword [ebx + 0x1c]
call fcn.0040b85c
xor eax, eax
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, str.Can_not_create_log_file:
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.004b7ca0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xf0]
mov ecx, 2
mov eax, dword [eax + 0x3f8]
mov edx, dword [edx]
call fcn.004a14b8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b7660
xor eax, eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x4917a1
mov word [ebx + 0x10], 0x2c
mov edx, 0x4cae80
lea eax, [ebp - 0x28]
call fcn.004b7538
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf0]
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 - 0x28]
dec dword [ebx + 0x1c]
call fcn.004b7660
pop ecx
test cl, cl
je 0x490e6d
mov eax, dword [0x4da0ec]
mov eax, dword [eax]
call fcn.00446508
xor eax, eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x4917a1
mov eax, dword [ebp - 0xf0]
call fcn.0048fd34
mov word [ebx + 0x10], 0x44
mov edx, 0x4cae88
lea eax, [ebp - 0x2c]
call fcn.004b7538
inc dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.0040b85c
lea ecx, [ebp - 0x30]
add esp, 8
mov dl, 1
mov eax, dword [0x430bc0]
mov ecx, dword [ecx]
call fcn.00408520
mov dword [ebp - 0xf4], eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x38
xor ecx, ecx
mov dword [ebp - 0xf8], ecx
jmp 0x491542
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf8]
shl eax, 2
mov ecx, dword [edx + 0x390]
add ecx, eax
lea edx, [ebp - 0x38]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
xor eax, eax
mov word [ebx + 0x10], 0x38
mov word [ebx + 0x10], 0x5c
mov dword [ebp - 0x38], eax
inc dword [ebx + 0x1c]
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 0x390]
mov eax, dword [ebp - 0xfc]
shl eax, 2
add ecx, eax
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x10]
call fcn.0047a4cc
lea edx, [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
inc dword [ebx + 0x1c]
mov eax, 0x4c9cf1
call fcn.004b7ca0
lea edx, [ebp - 0x3c]
push edx
mov edx, 0x4c9cf3
lea eax, [ebp - 0x40]
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x40]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x34]
pop eax
call fcn.004b76b8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x50
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x100], ecx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x100]
shl ecx, 2
mov edx, dword [eax + 0x390]
add edx, ecx
mov eax, dword [edx]
mov edx, dword [eax + 0x58]
lea eax, [ebp - 0x44]
push edx
mov edx, 0x4c9cf5
mov word [ebx + 0x10], 0x68
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x48]
call fcn.004b76b8
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov ecx, dword [edx]
mov edx, 0x4c9cfe
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop edx
mov edi, dword [eax]
call dword [edi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x104]
shl ecx, 2
mov edx, dword [eax + 0x390]
add edx, ecx
mov eax, dword [edx]
mov edx, dword [eax + 0x5c]
lea eax, [ebp - 0x50]
push edx
mov edx, 0x4c9d07
mov word [ebx + 0x10], 0x74
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x54]
call fcn.004b76b8
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x58]
mov ecx, dword [edx]
mov edx, 0x4c9d10
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop edx
mov edi, dword [eax]
call dword [edi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004b7660
mov dword [ebp - 0x108], esi
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x110]
shl ecx, 2
mov edx, dword [eax + 0x390]
add edx, ecx
mov eax, dword [edx]
add eax, 0x68
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
shl eax, 2
mov ecx, dword [edx + 4]
add ecx, eax
lea eax, [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x6c]
mov edx, 0x4c9d15
push ecx
mov word [ebx + 0x10], 0x80
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x60]
call fcn.004b76b8
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x64]
mov ecx, dword [edx]
mov edx, 0x4c9d1e
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop edx
mov esi, dword [eax]
call dword [esi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x50
mov esi, 1
jmp 0x4914f2
mov word [ebx + 0x10], 0x98
xor eax, eax
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov eax, esi
inc dword [ebx + 0x1c]
call fcn.00422520
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x70]
inc dword [ebx + 0x1c]
mov eax, 0x4c9d29
call fcn.004b7ca0
lea edx, [ebp - 0x70]
push edx
mov edx, 0x4c9d2b
lea eax, [ebp - 0x74]
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x74]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x68]
pop eax
call fcn.004b76b8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x8c
mov eax, dword [ebp - 0xf8]
mov edi, esi
mov dword [ebp - 0x118], eax
dec edi
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x118]
shl eax, 2
shl edi, 2
mov ecx, dword [edx + 0x390]
add ecx, eax
mov edx, dword [ecx]
add edx, 0x68
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx + 4]
add eax, edi
mov edx, dword [eax]
lea eax, [ebp - 0x88]
mov edx, dword [edx + 0x48]
call fcn.004b761c
inc dword [ebx + 0x1c]
mov edx, 0x4c9d36
mov ecx, dword [eax]
lea eax, [ebp - 0x80]
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x68]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x84]
call fcn.004b76b8
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x78]
mov ecx, dword [edx]
mov edx, 0x4c9d2d
push ecx
mov word [ebx + 0x10], 0xa4
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x7c]
call fcn.004b76b8
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x7c]
pop ecx
mov edi, dword [eax]
mov edx, dword [edx]
call dword [edi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004b7660
mov eax, dword [ebp - 0xf8]
mov edi, esi
mov dword [ebp - 0x120], eax
dec edi
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x120]
shl eax, 2
shl edi, 2
mov ecx, dword [edx + 0x390]
add ecx, eax
mov edx, dword [ecx]
add edx, 0x68
mov dword [ebp - 0x11c], edx
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx + 4]
add eax, edi
mov edx, dword [eax]
lea eax, [ebp - 0x9c]
mov edx, dword [edx + 0x4c]
call fcn.004b761c
inc dword [ebx + 0x1c]
mov edx, 0x4c9d4d
mov ecx, dword [eax]
lea eax, [ebp - 0x94]
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x68]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x98]
call fcn.004b76b8
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x8c]
mov ecx, dword [edx]
mov edx, 0x4c9d44
push ecx
mov word [ebx + 0x10], 0xb0
call fcn.004b7500
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x90]
call fcn.004b76b8
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x90]
pop ecx
mov edi, dword [eax]
mov edx, dword [edx]
call dword [edi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x50
inc esi
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf8]
shl edx, 2
mov eax, dword [ecx + 0x390]
add eax, edx
mov eax, dword [eax]
add eax, 0x68
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
test edx, edx
jns 0x49151b
add edx, 3
sar edx, 2
cmp esi, edx
jbe 0x4911f5
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x38
inc dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf0]
add eax, 0x38c
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
test edx, edx
jns 0x49155a
add edx, 3
sar edx, 2
cmp edx, dword [ebp - 0xf8]
ja 0x490eef
mov ecx, dword [ebp - 0xf0]
fld dword [ecx + 0x414]
call fcn.004b0640
inc eax
xor edx, edx
mov dword [ebp - 0xa8], edx
lea edx, [ebp - 0xa8]
inc dword [ebx + 0x1c]
call fcn.0047a4cc
lea eax, [ebp - 0xa8]
mov edx, 0x4c9d67
mov ecx, dword [eax]
lea eax, [ebp - 0xa4]
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, 0x4c9d5c
mov ecx, dword [eax]
lea eax, [ebp - 0xa0]
push ecx
mov word [ebx + 0x10], 0xbc
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov esi, dword [eax]
call dword [esi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004b7660
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
lea edx, [ebp - 0xb4]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 0x418]
call fcn.0047a4cc
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov ecx, dword [edx]
mov edx, str.TotalTime
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, 0x4c9d70
mov ecx, dword [eax]
lea eax, [ebp - 0xac]
push ecx
mov word [ebx + 0x10], 0xc8
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov esi, dword [eax]
call dword [esi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x424]
call fcn.004a063c
xor edx, edx
mov dword [ebp - 0xc0], edx
lea edx, [ebp - 0xc0]
inc dword [ebx + 0x1c]
call fcn.00409ca8
lea eax, [ebp - 0xc0]
mov edx, 0x4c9d90
mov ecx, dword [eax]
lea eax, [ebp - 0xbc]
push ecx
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, 0x4c9d85
mov ecx, dword [eax]
lea eax, [ebp - 0xb8]
push ecx
mov word [ebx + 0x10], 0xd4
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xf4]
pop ecx
mov esi, dword [eax]
call dword [esi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.004b7660
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0
je 0x491796
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
mov word [ebx + 0x10], 0xec
mov edx, 3
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebx + 0x10], 0xe0
mov al, 1
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret