Function at 0x415cc8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x415cd0
push ebx
push esi
push edi
mov eax, dword [0x417514]
mov byte [eax], 1
mov eax, 0x415c38
call fcn.004065a4
xor eax, eax
push ebp
push 0x416759
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402d10
cmp eax, 2
jge 0x415d0e
call fcn.0041513c
call fcn.004046e0
mov edx, 0x418898
mov eax, 1
call fcn.00402d78
mov edx, 0x4188a8
mov eax, 2
call fcn.00402d78
mov al, byte [0x416768]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x416774
mov edx, 0x416784
mov eax, dword [0x4188a8]
call fcn.004106c0
mov edx, dword [ebp - 0x14]
mov eax, 0x4188a0
call fcn.0040484c
mov eax, 0x41889c
call fcn.004047f8
call fcn.00402d10
cmp eax, 2
jle 0x415d92
lea edx, [ebp - 0x1c]
mov eax, 3
call fcn.00402d78
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040a940
mov eax, dword [ebp - 0x18]
mov edx, 0x416794
call fcn.00404be0
je 0x415d96
xor eax, eax
jmp 0x415d98
mov al, 1
mov byte [0x4188b0], al
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x20]
call fcn.0040d92c
push dword [ebp - 0x20]
push 0x4167ac
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
call fcn.00402d10
cmp eax, 3
jle 0x415df7
lea edx, [ebp - 0x24]
mov eax, 4
call fcn.00402d78
mov eax, dword [ebp - 0x24]
or edx, 0xffffffff
call fcn.0040ad90
mov dword [0x418890], eax
jmp 0x415e01
mov dword [0x418890], 0xffffffff
cmp dword [0x418890], 0
jge 0x415e14
mov dword [0x418890], 0x3e8
mov eax, 0x4188b4
call fcn.004047f8
mov eax, 0x418888
call fcn.004047f8
mov eax, 0x4188a4
call fcn.004047f8
xor eax, eax
push ebp
push 0x41667b
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x28]
call fcn.0040d92c
push dword [ebp - 0x28]
push 0x4167c0
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
jmp 0x415e9d
mov eax, dword [0x4174b8]
call fcn.004033e0
mov byte [0x418884], al
lea eax, [ebp - 0x2c]
mov dl, byte [0x418884]
call fcn.004049e0
mov edx, dword [ebp - 0x2c]
mov eax, 0x418888
call fcn.00404a9c
mov eax, dword [0x4174b8]
call fcn.004031e8
test al, al
je 0x415e73
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x30]
call fcn.0040d92c
push dword [ebp - 0x30]
push 0x4167d8
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
cmp dword [0x418888], 0
je 0x4161e2
lea edx, [ebp - 0x34]
mov eax, dword [0x418888]
call fcn.00415608
mov edx, dword [ebp - 0x34]
mov eax, 0x4188ac
call fcn.0040484c
lea edx, [ebp - 0x38]
mov eax, dword [0x4188a8]
call fcn.0040a940
mov edx, dword [ebp - 0x38]
mov eax, 0x416784
call fcn.00404d2c
test eax, eax
jle 0x415f57
mov al, byte [0x416768]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [0x4188ac]
call fcn.00414e6c
mov ecx, dword [ebp - 0x40]
mov edx, 0x416784
mov eax, dword [0x4188a8]
call fcn.004106c0
mov edx, dword [ebp - 0x3c]
mov eax, 0x4188a0
call fcn.0040484c
lea ecx, [ebp - 0x44]
mov edx, 0x4167f4
mov eax, dword [0x4188a0]
call fcn.0040b5ac
mov edx, dword [ebp - 0x44]
mov eax, 0x4188b4
call fcn.0040484c
call fcn.0040cc30
fld xword [0x416800]
fsubp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x48]
mov eax, dword [0x4188a0]
call fcn.0040b64c
mov eax, dword [ebp - 0x48]
mov edx, 0x416814
call fcn.00414fe4
mov dl, 1
mov eax, dword [0x411dc4]
call fcn.00403b24
mov dword [0x4188b8], eax
xor eax, eax
push ebp
push 0x4161bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, dword [0x4188a8]
call fcn.0040b64c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [0x4188b8]
mov edx, dword [0x4188ac]
call fcn.004156fc
test al, al
je 0x4161a4
lea ecx, [ebp - 0x54]
mov edx, 0x416828
mov eax, dword [0x4188b8]
call fcn.00412f58
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040ab94
mov edx, dword [ebp - 0x50]
mov eax, 0x418894
call fcn.0040484c
cmp dword [0x418894], 0
je 0x4160c8
mov eax, dword [0x418894]
call fcn.0040b1ec
test al, al
jne 0x41603b
mov eax, dword [0x418894]
call fcn.00414f08
mov eax, dword [0x418894]
call fcn.0040b1ec
test al, al
jne 0x41607c
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x418894]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x41683c
call fcn.0040bee8
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
lea edx, [ebp - 0x64]
mov eax, dword [0x4188a0]
call fcn.0040b68c
mov eax, dword [ebp - 0x64]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x418894]
call fcn.0040fdf8
mov edx, dword [ebp - 0x68]
mov eax, 0x4188a0
pop ecx
call fcn.00404ae0
push dword [0x41739c]
push 0x416878
push dword [0x4188a0]
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
lea ecx, [ebp - 0x70]
mov edx, 0x416890
mov eax, dword [0x4188b8]
call fcn.00412f58
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040ab94
mov edx, dword [ebp - 0x6c]
mov eax, 0x418894
call fcn.0040484c
cmp dword [0x418894], 0
je 0x4161a4
mov eax, dword [0x418894]
call fcn.0040b1ec
test al, al
jne 0x416117
mov eax, dword [0x418894]
call fcn.00414f08
mov eax, dword [0x418894]
call fcn.0040b1ec
test al, al
jne 0x416158
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x418894]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x4168a4
call fcn.0040bee8
mov ecx, dword [ebp - 0x74]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
lea edx, [ebp - 0x78]
mov eax, dword [0x4188a0]
call fcn.0040b68c
mov eax, dword [ebp - 0x78]
push eax
lea edx, [ebp - 0x7c]
mov eax, dword [0x418894]
call fcn.0040fdf8
mov edx, dword [ebp - 0x7c]
mov eax, 0x4188a4
pop ecx
call fcn.00404ae0
push dword [0x41739c]
push 0x4168e0
push dword [0x4188a4]
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4161c3
mov eax, 0x4188b8
call fcn.00410fb8
ret
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x84]
call fcn.0040d92c
push dword [ebp - 0x84]
push 0x416908
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
lea ecx, [ebp - 0x88]
mov edx, 0x416920
mov eax, dword [0x4188a0]
call fcn.0040b5ac
mov eax, dword [ebp - 0x88]
call fcn.0040b4e0
mov eax, dword [0x4188a0]
call fcn.0040b1cc
test al, al
je 0x41628e
mov eax, dword [0x4188a0]
call fcn.0040b4e0
test al, al
jne 0x41628e
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x4188a0]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x416934
call fcn.0040bee8
mov ecx, dword [ebp - 0x8c]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
mov eax, dword [0x41889c]
call fcn.0040b1cc
test al, al
je 0x4162e3
mov eax, dword [0x41889c]
call fcn.0040b4e0
test al, al
jne 0x4162e3
lea eax, [ebp - 0x90]
push eax
mov eax, dword [0x41889c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x416934
call fcn.0040bee8
mov ecx, dword [ebp - 0x90]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
cmp dword [0x418888], 0
jne 0x416328
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x94]
call fcn.0040d92c
push dword [ebp - 0x94]
push 0x41696c
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
jmp 0x416671
mov eax, dword [0x41889c]
call fcn.0040b1cc
test al, al
je 0x41636f
lea eax, [ebp - 0x98]
push eax
mov eax, dword [0x41889c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x416984
call fcn.0040bee8
mov ecx, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x9c]
call fcn.0040d92c
push dword [ebp - 0x9c]
push 0x4169ac
push dword [0x41889c]
push 0x4169c0
mov eax, 0x41739c
mov edx, 5
call fcn.00404b54
mov edx, dword [0x41889c]
mov eax, dword [0x418888]
call fcn.00414db0
mov eax, dword [0x41889c]
call fcn.0040b1cc
test al, al
jne 0x416408
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x41889c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x4169cc
call fcn.0040bee8
mov ecx, dword [ebp - 0xa0]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
mov eax, dword [0x418898]
call fcn.0040b1cc
test al, al
jne 0x41644f
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [0x418898]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x416a0c
call fcn.0040bee8
mov ecx, dword [ebp - 0xa4]
mov dl, 1
mov eax, dword [0x409d10]
call fcn.0040eca0
call fcn.00404210
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [0x4188a0]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
mov eax, dword [0x41889c]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 0xb
lea edx, [ebp - 0xb8]
mov ecx, 1
mov eax, 0x416a3c
call fcn.0040bee8
mov edx, dword [ebp - 0xa8]
mov eax, 0x418894
call fcn.0040484c
cmp byte [0x4188b0], 0
je 0x4164b4
mov dword [0x41888c], 1
jmp 0x4164bb
xor eax, eax
mov dword [0x41888c], eax
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xbc]
call fcn.0040d92c
push dword [ebp - 0xbc]
push 0x416b04
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
mov eax, dword [0x41888c]
push eax
push 0
mov eax, dword [0x418894]
call fcn.00404c94
push eax
mov eax, dword [0x418898]
call fcn.00404c94
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
lea edx, [ebp - 0xc0]
mov eax, dword [0x4188a0]
call fcn.0040b64c
push dword [ebp - 0xc0]
push 0x416b1c
lea edx, [ebp - 0xc8]
mov eax, dword [0x4188a0]
call fcn.0040b68c
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
xor edx, edx
call fcn.0040b5ac
push dword [ebp - 0xc4]
push 0x416b28
push 0x416b34
mov eax, 0x418894
mov edx, 5
call fcn.00404b54
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xcc]
call fcn.0040d92c
push dword [ebp - 0xcc]
push 0x416b44
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
push 0x1f4
call sub.kernel32.dll_Sleep
sub dword [0x418890], 0x1f4
mov eax, dword [0x418894]
call fcn.0040b1cc
test al, al
je 0x4165df
mov edx, dword [0x4188a0]
mov eax, dword [0x418894]
call fcn.0040b508
mov eax, dword [0x4188a0]
call fcn.0040b1cc
test al, al
je 0x41662d
mov eax, dword [0x41889c]
call fcn.0040b4e0
mov eax, dword [0x41889c]
call fcn.0040b1cc
test al, al
jne 0x41662d
cmp dword [0x4188a4], 0
je 0x41663a
push 0
mov eax, dword [0x4188a4]
call fcn.00404c94
push eax
mov eax, dword [0x4188a0]
call fcn.00404c94
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x41663a
cmp dword [0x418890], 0
jge 0x4165ad
push dword [0x41739c]
call fcn.0040cc30
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xd0]
call fcn.0040d92c
push dword [ebp - 0xd0]
push 0x416b60
mov eax, 0x41739c
mov edx, 3
call fcn.00404b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4166d1
cmp byte [0x4188b0], 0
je 0x41671e
cmp dword [0x4188b4], 0
je 0x41671e
push dword [0x41739c]
push 0x4169c0
push 0x4169c0
push 0x416b74
push 0x416bc4
lea eax, [ebp - 0xd8]
mov edx, 5
call fcn.00404b54
mov eax, dword [ebp - 0xd8]
mov edx, dword [0x4188b4]
call fcn.00414db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416760
lea eax, [ebp - 0xd8]
mov edx, 8
call fcn.0040481c
lea eax, [ebp - 0xa8]
mov edx, 0x12
call fcn.0040481c
lea eax, [ebp - 0x58]
mov edx, 0x12
call fcn.0040481c
ret