Function at 0x4a4358
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xed
push 0
push 0
dec ecx
jne 0x4a4360
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4a80
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b3dac
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x744]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
mov eax, dword [ebp - 0x744]
lea edx, [ebp - 0x740]
call fcn.0040958c
mov edx, dword [ebp - 0x740]
lea eax, [ebp - 0xc]
mov ecx, 0x4a4a98
call fcn.00403eb0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4ffac]
lea eax, [ebp - 0x14]
mov ecx, 0x4a4a98
call fcn.00403eb0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4ffa8]
lea eax, [ebp - 0x10]
mov ecx, 0x4a4aac
call fcn.00403eb0
lea eax, [ebp - 0x24]
mov edx, 0x4a4abc
call fcn.00403c7c
mov eax, dword [ebp - 0xc]
call fcn.004094a8
test al, al
jne 0x4a442f
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403c7c
lea eax, [ebp - 0x24]
mov edx, 0x4a4ad0
call fcn.00403c7c
mov eax, dword [ebp - 0xc]
call fcn.004094a8
test al, al
jne 0x4a442f
lea eax, [ebp - 0x24]
call fcn.00403be4
push 0x3e8
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b70b0
dec eax
jne 0x4a49a7
push dword [ebp - 0x24]
push 0x4a4ae0
push 0x4a4af0
push 0x4a4afc
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f24
xor edx, edx
push ebp
push 0x4a497e
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.0040633e
mov eax, dword [0x4cf300]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.00406875
call fcn.00402854
mov edx, 0x400
lea eax, [ebp - 0x170]
call fcn.004068ac
call fcn.00402854
push 0
lea edx, [ebp - 0x15]
mov ecx, 1
lea eax, [ebp - 0x170]
call fcn.004063e0
call fcn.00402854
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.004063e0
call fcn.00402854
lea eax, [ebp - 0x170]
call fcn.004064a8
call fcn.00402854
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x170]
call fcn.0040633e
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.0040688c
call fcn.00402854
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.00406444
call fcn.00402854
lea eax, [ebp - 0x170]
call fcn.004064a8
call fcn.00402854
push 2
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b70b0
dec eax
jne 0x4a4974
push dword [ebp - 0x24]
push 0x4a4b08
push 0x4a4af0
push 0x4a4afc
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f24
mov ebx, 0x400
lea eax, [ebp - 0x570]
mov dl, byte [ebp - 0x15]
sub byte [eax], dl
inc eax
dec ebx
jne 0x4a4593
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.0040688c
call fcn.00402854
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.00406444
call fcn.00402854
mov edx, 0xa
lea eax, [ebp - 0x170]
call fcn.004068ac
call fcn.00402854
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0xb3b8]
mov ecx, 0x1b0
lea eax, [ebp - 0x170]
call fcn.004063e0
call fcn.00402854
lea eax, [ebp - 0x170]
call fcn.004064a8
call fcn.00402854
mov eax, dword [ebp - 0x10]
call fcn.004094f4
call fcn.0040a464
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
mov edx, 0x4a4b18
call fcn.0040b030
push dword [ebp - 0x24]
lea eax, [ebp - 0x748]
mov edx, dword [ebp - 4]
add edx, 0xb519
call fcn.00403e08
push dword [ebp - 0x748]
push 0x4a4af0
push 0x4a4afc
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f24
lea eax, [ebp - 0x74c]
mov edx, dword [ebp - 4]
add edx, 0xb519
call fcn.00403e08
mov eax, dword [ebp - 0x74c]
mov edx, dword [ebp - 0x1c]
call fcn.00403f74
ja 0x4a46a4
mov eax, dword [ebp - 4]
add eax, 0xb519
mov edx, 0x4a4b24
call fcn.00402b64
jae 0x4a494c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b30
call fcn.00402b64
jae 0x4a46c9
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffbc]
call fcn.00403c7c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b30
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402be8
jne 0x4a46f3
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffb8]
call fcn.00403c7c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b34
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402be8
jne 0x4a471d
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffc0]
call fcn.00403c7c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b38
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402be8
jne 0x4a4747
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffc8]
call fcn.00403c7c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b3c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402be8
jne 0x4a4771
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffcc]
call fcn.00403c7c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b40
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402be8
jne 0x4a479b
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffd0]
call fcn.00403c7c
mov eax, dword [ebp - 4]
add eax, 0xb524
mov edx, 0x4a4b40
call fcn.00402b64
jbe 0x4a47c0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4ffc4]
call fcn.00403c7c
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x4a4b4c
lea eax, [ebp - 0x750]
mov edx, dword [ebp - 4]
add edx, 0xb524
call fcn.00403e08
push dword [ebp - 0x750]
push 0x4a4af0
push 0x4a4afc
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00403f24
mov eax, dword [ebp - 4]
add eax, 0xb4f8
mov edx, 0x4a4b50
call fcn.00402b64
ja 0x4a4828
mov eax, dword [ebp - 4]
add eax, 0xb4f8
mov edx, 0x4a4b58
call fcn.00402b64
jae 0x4a4974
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb3e4]
test eax, eax
jle 0x4a4974
cmp eax, 0x33
jge 0x4a4974
mov esi, eax
test esi, esi
jle 0x4a4974
mov ebx, 1
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xb3e4]
add eax, 0x20ad
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x754]
call fcn.00409268
push dword [ebp - 0x754]
push 0x4a4af0
push 0x4a4afc
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f24
lea eax, [ebp - 0x758]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e64
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebp - 0x20]
call fcn.0040406c
mov eax, dword [ebp - 0x758]
call fcn.00409314
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xb3e4]
add eax, 0x20ad
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4a48d7
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a4942
mov dword [ebp - 8], 1
lea eax, [ebp - 0x760]
mov edx, dword [ebp - 4]
add edx, 0xb50e
call fcn.00403e08
mov eax, dword [ebp - 0x760]
lea edx, [ebp - 0x75c]
call fcn.00409084
mov edx, dword [ebp - 0x75c]
mov eax, dword [ebp - 4]
add eax, 0x4fff0
call fcn.00403c38
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403f74
je 0x4a4974
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404028
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404028
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4a4974
inc ebx
dec esi
jne 0x4a4851
jmp 0x4a4974
mov eax, dword [ebp - 0xc]
call fcn.004094a8
test al, al
je 0x4a4960
mov eax, dword [ebp - 0xc]
call fcn.004094f4
mov eax, dword [ebp - 0x14]
call fcn.004094a8
test al, al
je 0x4a4974
mov eax, dword [ebp - 0x14]
call fcn.004094f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a49a7
cmp dword [ebp - 8], 1
je 0x4a4a33
cmp dword [ebp - 0x24], 0
je 0x4a4a33
lea edx, [ebp - 0x768]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
mov eax, dword [ebp - 0x768]
lea edx, [ebp - 0x764]
call fcn.0040958c
mov edx, dword [ebp - 0x764]
lea eax, [ebp - 0xc]
mov ecx, 0x4a4b74
call fcn.00403eb0
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x73c]
call fcn.0040633e
lea eax, [ebp - 0x73c]
call fcn.00406766
call fcn.00402854
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x73c]
call fcn.004041fc
call fcn.004069ab
call fcn.00402854
lea eax, [ebp - 0x73c]
call fcn.004064a8
call fcn.00402854
mov ebx, dword [ebp - 8]
mov ecx, 1
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004b3dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4a87
lea eax, [ebp - 0x768]
mov edx, 0xb
call fcn.00403c08
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403c08
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403c08
ret