Function at 0x4c13f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x110
push 0
push 0
dec ecx
jne 0x4c13f8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404100
xor eax, eax
push ebp
push 0x4c1dec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004da088
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153f8]
lea eax, [ebp - 0x10]
mov ecx, 0x4c1e04
call fcn.00403f98
mov eax, dword [ebp - 8]
call fcn.00409718
test al, al
jne 0x4c1457
lea eax, [ebp - 0x20]
call fcn.00403ccc
jmp 0x4c14a8
lea edx, [ebp - 0x740]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x740]
lea edx, [ebp - 0x73c]
call fcn.004097fc
mov eax, dword [ebp - 0x73c]
mov edx, dword [ebp - 8]
call fcn.00404238
test eax, eax
jle 0x4c149b
lea eax, [ebp - 0x20]
mov edx, 0x4c1e14
call fcn.00403d64
jmp 0x4c14a8
lea eax, [ebp - 0x20]
mov edx, 0x4c1e28
call fcn.00403d64
push 0x3e8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004de1b8
dec eax
jne 0x4c1ca1
push dword [ebp - 0x20]
push 0x4c1e38
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040400c
xor edx, edx
push ebp
push 0x4c1c78
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x64
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x16c]
call fcn.0040649a
mov eax, dword [0x5034b8]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.004069d1
call fcn.00402874
mov edx, 0x400
lea eax, [ebp - 0x16c]
call fcn.00406a08
call fcn.00402874
push 0
lea edx, [ebp - 0x11]
mov ecx, 1
lea eax, [ebp - 0x16c]
call fcn.0040653c
call fcn.00402874
push 0
lea edx, [ebp - 0x56c]
mov ecx, 0x400
lea eax, [ebp - 0x16c]
call fcn.0040653c
call fcn.00402874
lea eax, [ebp - 0x16c]
call fcn.00406604
call fcn.00402874
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x16c]
call fcn.0040649a
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.004069e8
call fcn.00402874
push 0
lea edx, [ebp - 0x56c]
mov ecx, 0x400
lea eax, [ebp - 0x16c]
call fcn.004065a0
call fcn.00402874
lea eax, [ebp - 0x16c]
call fcn.00406604
call fcn.00402874
push 2
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004de1b8
dec eax
jne 0x4c1c6e
push dword [ebp - 0x20]
push 0x4c1e60
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040400c
mov ebx, 0x400
lea eax, [ebp - 0x56c]
mov dl, byte [ebp - 0x11]
sub byte [eax], dl
inc eax
dec ebx
jne 0x4c160c
mov edx, 1
lea eax, [ebp - 0x16c]
call fcn.004069e8
call fcn.00402874
push 0
lea edx, [ebp - 0x56c]
mov ecx, 0x400
lea eax, [ebp - 0x16c]
call fcn.004065a0
call fcn.00402874
mov edx, 0xa
lea eax, [ebp - 0x16c]
call fcn.00406a08
call fcn.00402874
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0x14e80]
mov ecx, 0x1b0
lea eax, [ebp - 0x16c]
call fcn.0040653c
call fcn.00402874
lea eax, [ebp - 0x16c]
call fcn.00406604
call fcn.00402874
mov eax, dword [ebp - 0x10]
call fcn.00409764
call fcn.0040a740
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
mov edx, 0x4c1e70
call fcn.0040b30c
push dword [ebp - 0x20]
lea eax, [ebp - 0x744]
mov edx, dword [ebp - 4]
add edx, 0x14fe1
call fcn.00403ef0
push dword [ebp - 0x744]
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040400c
lea eax, [ebp - 0x748]
mov edx, dword [ebp - 4]
add edx, 0x14fe1
call fcn.00403ef0
mov eax, dword [ebp - 0x748]
mov edx, dword [ebp - 0x18]
call fcn.0040405c
ja 0x4c171d
mov eax, dword [ebp - 4]
add eax, 0x14fe1
mov edx, 0x4c1e7c
call fcn.00402b88
jae 0x4c1c1a
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e88
call fcn.00402b88
jae 0x4c1742
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1540c]
call fcn.00403d64
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e88
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c0c
jne 0x4c176c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15408]
call fcn.00403d64
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e8c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c0c
jne 0x4c1796
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15410]
call fcn.00403d64
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e90
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c0c
jne 0x4c17c0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15418]
call fcn.00403d64
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e94
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c0c
jne 0x4c17ea
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1541c]
call fcn.00403d64
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e98
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c0c
jne 0x4c1814
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15420]
call fcn.00403d64
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e9c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402c0c
jne 0x4c1855
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15424]
call fcn.00403f4c
mov ecx, eax
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15424]
mov edx, 2
call fcn.00404154
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1e9c
call fcn.00402b88
jbe 0x4c1891
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15414]
call fcn.00403f4c
mov ecx, eax
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15414]
mov edx, 2
call fcn.00404154
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1ea0
call fcn.00402b88
jbe 0x4c18e3
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1ea4
call fcn.00402b88
jae 0x4c18e3
jmp 0x4c18e3
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1ea8
call fcn.00402b88
jbe 0x4c1935
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1eac
call fcn.00402b88
jae 0x4c1935
jmp 0x4c1935
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1eb0
call fcn.00402b88
jbe 0x4c1987
mov eax, dword [ebp - 4]
add eax, 0x14fec
mov edx, 0x4c1eb4
call fcn.00402b88
jae 0x4c1987
jmp 0x4c1987
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0x4c1ec0
lea eax, [ebp - 0x74c]
mov edx, dword [ebp - 4]
add edx, 0x14fec
call fcn.00403ef0
push dword [ebp - 0x74c]
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.0040400c
push dword [ebp - 0x20]
lea eax, [ebp - 0x750]
mov edx, dword [ebp - 4]
add edx, 0x14fd6
call fcn.00403ef0
push dword [ebp - 0x750]
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040400c
xor edx, edx
push ebp
push 0x4c1c0e
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x1c], 0
je 0x4c1c04
mov eax, dword [ebp - 4]
add eax, 0x14fc0
mov edx, 0x4c1ec4
call fcn.00402b88
ja 0x4c1a3b
mov eax, dword [ebp - 4]
add eax, 0x14fc0
mov edx, 0x4c1ecc
call fcn.00402b88
jae 0x4c1c04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14eac]
test eax, eax
jle 0x4c1c04
cmp eax, 0x33
jge 0x4c1c04
mov esi, eax
test esi, esi
jle 0x4c1c04
mov ebx, 1
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0x14eac]
add eax, 0x20ad
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x754]
call fcn.00409458
push dword [ebp - 0x754]
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040400c
lea eax, [ebp - 0x758]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00403f4c
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00404154
mov eax, dword [ebp - 0x758]
call fcn.00409504
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0x14eac]
add eax, 0x20ad
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c1aea
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4c1bfc
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x1491c], 0x10
lea eax, [ebp - 0x760]
mov edx, dword [ebp - 4]
add edx, 0x14fd6
call fcn.00403ef0
mov eax, dword [ebp - 0x760]
lea edx, [ebp - 0x75c]
call fcn.00409274
mov edx, dword [ebp - 0x75c]
mov eax, dword [ebp - 4]
add eax, 0x15444
call fcn.00403d20
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14738]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153fc]
lea eax, [ebp - 0x764]
call fcn.00403f98
mov eax, dword [ebp - 0x764]
call fcn.00409718
test al, al
je 0x4c1b94
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14738]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153fc]
lea eax, [ebp - 0x768]
call fcn.00403f98
mov eax, dword [ebp - 0x768]
xor edx, edx
call fcn.0040973c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14738]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153fc]
lea eax, [ebp - 0x76c]
call fcn.00403f98
mov edx, dword [ebp - 0x76c]
mov eax, dword [ebp - 8]
call fcn.0040405c
je 0x4c1c04
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14738]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153fc]
lea eax, [ebp - 0x770]
call fcn.00403f98
mov eax, dword [ebp - 0x770]
call fcn.00404110
push eax
mov eax, dword [ebp - 8]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4c1c04
inc ebx
dec esi
jne 0x4c1a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1c6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14738]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153fc]
lea eax, [ebp - 0x774]
call fcn.00403f98
mov eax, dword [ebp - 0x774]
call fcn.00409718
test al, al
je 0x4c1c6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14738]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x153fc]
lea eax, [ebp - 0x778]
call fcn.00403f98
mov eax, dword [ebp - 0x778]
call fcn.00409764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1ca1
cmp dword [ebp - 0xc], 1
je 0x4c1d5e
cmp dword [ebp - 0x20], 0
je 0x4c1d5e
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x15414]
push 0x4c1ec0
push 0x4c1ee8
push 0x4c1e48
push 0x4c1e54
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.0040400c
lea edx, [ebp - 0x780]
mov eax, dword [0x503418]
mov eax, dword [eax]
call fcn.00453e58
mov eax, dword [ebp - 0x780]
lea edx, [ebp - 0x77c]
call fcn.004097fc
mov edx, dword [ebp - 0x77c]
lea eax, [ebp - 8]
mov ecx, 0x4c1ef8
call fcn.00403f98
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x738]
call fcn.0040649a
lea eax, [ebp - 0x738]
call fcn.004068c2
call fcn.00402874
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x738]
call fcn.004042e4
call fcn.00406b07
call fcn.00402874
lea eax, [ebp - 0x738]
call fcn.00406604
call fcn.00402874
cmp dword [ebp - 0xc], 0
jne 0x4c1d9c
mov eax, dword [ebp - 4]
mov byte [eax + 0x14e80], 0
lea eax, [ebp - 0x880]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14780]
mov ecx, 0xff
call fcn.00403f28
lea edx, [ebp - 0x880]
mov eax, dword [ebp - 4]
add eax, 0x1501b
mov cl, 0x14
call fcn.00402b58
mov ebx, dword [ebp - 0xc]
mov ecx, 1
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004da0c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1df3
lea eax, [ebp - 0x780]
mov edx, 0x12
call fcn.00403cf0
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403cf0
lea eax, [ebp - 0x10]
call fcn.00403ccc
lea eax, [ebp - 8]
call fcn.00403ccc
ret