Function at 0x4c43e4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10d
push 0
push 0
dec ecx
jne 0x4c43ec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c4cfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bfe18
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x744]
mov eax, dword [0x4e6268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 0x744]
lea edx, [ebp - 0x740]
call fcn.004095d8
mov edx, dword [ebp - 0x740]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc9d0]
lea eax, [ebp - 0xc]
call fcn.00403ec0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc9d0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5fcdc]
lea eax, [ebp - 0x14]
call fcn.00403ec0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5fcd8]
lea eax, [ebp - 0x10]
mov ecx, 0x4c4d18
call fcn.00403ec0
lea eax, [ebp - 0x24]
mov edx, 0x4c4d28
call fcn.00403c8c
mov eax, dword [ebp - 0xc]
call fcn.004094f4
test al, al
jne 0x4c44c4
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403c8c
lea eax, [ebp - 0x24]
mov edx, 0x4c4d3c
call fcn.00403c8c
mov eax, dword [ebp - 0xc]
call fcn.004094f4
test al, al
jne 0x4c44c4
lea eax, [ebp - 0x24]
call fcn.00403bf4
push 0x3e8
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c3b88
dec eax
jne 0x4c4bb6
push dword [ebp - 0x24]
push 0x4c4d4c
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f34
xor edx, edx
push ebp
push 0x4c4b8d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x64
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x170]
call fcn.0040634e
mov eax, dword [0x4e6304]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.00406885
call fcn.00402864
mov edx, 0x400
lea eax, [ebp - 0x170]
call fcn.004068bc
call fcn.00402864
push 0
lea edx, [ebp - 0x15]
mov ecx, 1
lea eax, [ebp - 0x170]
call fcn.004063f0
call fcn.00402864
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.004063f0
call fcn.00402864
lea eax, [ebp - 0x170]
call fcn.004064b8
call fcn.00402864
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x170]
call fcn.0040634e
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.0040689c
call fcn.00402864
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.00406454
call fcn.00402864
lea eax, [ebp - 0x170]
call fcn.004064b8
call fcn.00402864
push 2
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004c3b88
dec eax
jne 0x4c4b83
push dword [ebp - 0x24]
push 0x4c4d74
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f34
mov ebx, 0x400
lea eax, [ebp - 0x570]
mov dl, byte [ebp - 0x15]
sub byte [eax], dl
inc eax
dec ebx
jne 0x4c4628
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.0040689c
call fcn.00402864
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.00406454
call fcn.00402864
mov edx, 0xa
lea eax, [ebp - 0x170]
call fcn.004068bc
call fcn.00402864
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0xd628]
mov ecx, 0x1b0
lea eax, [ebp - 0x170]
call fcn.004063f0
call fcn.00402864
lea eax, [ebp - 0x170]
call fcn.004064b8
call fcn.00402864
mov eax, dword [ebp - 0x10]
call fcn.00409540
call fcn.0040a4b0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
mov edx, 0x4c4d84
call fcn.0040b07c
push dword [ebp - 0x24]
lea eax, [ebp - 0x748]
mov edx, dword [ebp - 4]
add edx, 0xd789
call fcn.00403e18
push dword [ebp - 0x748]
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f34
lea eax, [ebp - 0x74c]
mov edx, dword [ebp - 4]
add edx, 0xd789
call fcn.00403e18
mov eax, dword [ebp - 0x74c]
mov edx, dword [ebp - 0x1c]
call fcn.00403f84
ja 0x4c4739
mov eax, dword [ebp - 4]
add eax, 0xd789
mov edx, 0x4c4d90
call fcn.00402b74
jae 0x4c4b5b
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4d9c
call fcn.00402b74
jae 0x4c475e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5fcec]
call fcn.00403c8c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4d9c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bf8
jne 0x4c4788
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5fce8]
call fcn.00403c8c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4da0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bf8
jne 0x4c47b2
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5fcf0]
call fcn.00403c8c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4da4
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bf8
jne 0x4c47dc
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5fcf8]
call fcn.00403c8c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4da8
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bf8
jne 0x4c4806
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5fcfc]
call fcn.00403c8c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4dac
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bf8
jne 0x4c4830
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5fd00]
call fcn.00403c8c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4dac
call fcn.00402b74
jbe 0x4c486c
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5fcf4]
call fcn.00403e74
mov ecx, eax
dec ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5fcf4]
mov edx, 2
call fcn.0040407c
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4db0
call fcn.00402b74
jbe 0x4c48be
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4db4
call fcn.00402b74
jae 0x4c48be
jmp 0x4c48be
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4db8
call fcn.00402b74
jbe 0x4c4910
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4dbc
call fcn.00402b74
jae 0x4c4910
jmp 0x4c4910
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4dc0
call fcn.00402b74
jbe 0x4c4962
mov eax, dword [ebp - 4]
add eax, 0xd794
mov edx, 0x4c4dc4
call fcn.00402b74
jae 0x4c4962
jmp 0x4c4962
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x4c4dd0
lea eax, [ebp - 0x750]
mov edx, dword [ebp - 4]
add edx, 0xd794
call fcn.00403e18
push dword [ebp - 0x750]
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00403f34
push dword [ebp - 0x24]
lea eax, [ebp - 0x754]
mov edx, dword [ebp - 4]
add edx, 0xd77e
call fcn.00403e18
push dword [ebp - 0x754]
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f34
xor edx, edx
push ebp
push 0x4c4b4f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
add eax, 0xd768
mov edx, 0x4c4dd4
call fcn.00402b74
ja 0x4c4a0c
mov eax, dword [ebp - 4]
add eax, 0xd768
mov edx, 0x4c4ddc
call fcn.00402b74
jae 0x4c4b45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd654]
test eax, eax
jle 0x4c4b45
cmp eax, 0x33
jge 0x4c4b45
mov esi, eax
test esi, esi
jle 0x4c4b45
mov ebx, 1
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xd654]
add eax, 0x20ad
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x758]
call fcn.004092b4
push dword [ebp - 0x758]
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f34
lea eax, [ebp - 0x75c]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e74
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebp - 0x20]
call fcn.0040407c
mov eax, dword [ebp - 0x75c]
call fcn.00409360
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xd654]
add eax, 0x20ad
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c4abb
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4c4b3d
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xcb94], 0x10
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00409518
lea eax, [ebp - 0x764]
mov edx, dword [ebp - 4]
add edx, 0xd77e
call fcn.00403e18
mov eax, dword [ebp - 0x764]
lea edx, [ebp - 0x760]
call fcn.0040909c
mov edx, dword [ebp - 0x760]
mov eax, dword [ebp - 4]
add eax, 0x5fd20
call fcn.00403c48
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403f84
je 0x4c4b45
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404038
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404038
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4c4b45
inc ebx
dec esi
jne 0x4c4a35
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4b83
mov eax, dword [ebp - 0xc]
call fcn.004094f4
test al, al
je 0x4c4b6f
mov eax, dword [ebp - 0xc]
call fcn.00409540
mov eax, dword [ebp - 0x14]
call fcn.004094f4
test al, al
je 0x4c4b83
mov eax, dword [ebp - 0x14]
call fcn.00409540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4bb6
cmp dword [ebp - 8], 1
je 0x4c4c73
cmp dword [ebp - 0x24], 0
je 0x4c4c73
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x5fcf4]
push 0x4c4dd0
push 0x4c4df8
push 0x4c4d5c
push 0x4c4d68
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00403f34
lea edx, [ebp - 0x76c]
mov eax, dword [0x4e6268]
mov eax, dword [eax]
call fcn.00450824
mov eax, dword [ebp - 0x76c]
lea edx, [ebp - 0x768]
call fcn.004095d8
mov edx, dword [ebp - 0x768]
lea eax, [ebp - 0xc]
mov ecx, 0x4c4e08
call fcn.00403ec0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x73c]
call fcn.0040634e
lea eax, [ebp - 0x73c]
call fcn.00406776
call fcn.00402864
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x73c]
call fcn.0040420c
call fcn.004069bb
call fcn.00402864
lea eax, [ebp - 0x73c]
call fcn.004064b8
call fcn.00402864
cmp dword [ebp - 8], 0
jne 0x4c4cb1
mov eax, dword [ebp - 4]
mov byte [eax + 0xd628], 0
lea eax, [ebp - 0x86c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc9fc]
mov ecx, 0xff
call fcn.00403e50
lea edx, [ebp - 0x86c]
mov eax, dword [ebp - 4]
add eax, 0xd7c3
mov cl, 0x14
call fcn.00402b44
mov ebx, dword [ebp - 8]
mov ecx, 1
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004bfe58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4d05
lea eax, [ebp - 0x76c]
mov edx, 0xc
call fcn.00403c18
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403c18
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403c18
ret