Function at 0x49efc4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xed
push 0
push 0
dec ecx
jne 0x49efcc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49f698
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004aae6c
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x744]
mov eax, dword [0x4c3254]
mov eax, dword [eax]
call fcn.0044fd68
mov eax, dword [ebp - 0x744]
lea edx, [ebp - 0x740]
call fcn.00409400
mov edx, dword [ebp - 0x740]
lea eax, [ebp - 0xc]
mov ecx, 0x49f6b0
call fcn.00403e8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4fa90]
lea eax, [ebp - 0x14]
mov ecx, 0x49f6b0
call fcn.00403e8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4fa8c]
lea eax, [ebp - 0x10]
mov ecx, 0x49f6c4
call fcn.00403e8c
lea eax, [ebp - 0x24]
mov edx, 0x49f6d4
call fcn.00403c58
mov eax, dword [ebp - 0xc]
call fcn.0040931c
test al, al
jne 0x49f09b
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403c58
lea eax, [ebp - 0x24]
mov edx, 0x49f6e8
call fcn.00403c58
mov eax, dword [ebp - 0xc]
call fcn.0040931c
test al, al
jne 0x49f09b
lea eax, [ebp - 0x24]
call fcn.00403bc0
push 0x3e8
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ae1d8
dec eax
jne 0x49f5bf
push dword [ebp - 0x24]
push 0x49f6f8
push 0x49f708
push 0x49f714
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f00
xor edx, edx
push ebp
push 0x49f596
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.0040629e
mov eax, dword [0x4c32ec]
mov byte [eax], 0
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.0040674d
call fcn.0040284c
mov edx, 0x400
lea eax, [ebp - 0x170]
call fcn.00406784
call fcn.0040284c
push 0
lea edx, [ebp - 0x15]
mov ecx, 1
lea eax, [ebp - 0x170]
call fcn.00406340
call fcn.0040284c
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.00406340
call fcn.0040284c
lea eax, [ebp - 0x170]
call fcn.00406408
call fcn.0040284c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x170]
call fcn.0040629e
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.00406764
call fcn.0040284c
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.004063a4
call fcn.0040284c
lea eax, [ebp - 0x170]
call fcn.00406408
call fcn.0040284c
push 2
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004ae1d8
dec eax
jne 0x49f58c
push dword [ebp - 0x24]
push 0x49f720
push 0x49f708
push 0x49f714
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f00
mov ebx, 0x400
lea eax, [ebp - 0x570]
mov dl, byte [ebp - 0x15]
sub byte [eax], dl
inc eax
dec ebx
jne 0x49f1ff
mov edx, 1
lea eax, [ebp - 0x170]
call fcn.00406764
call fcn.0040284c
push 0
lea edx, [ebp - 0x570]
mov ecx, 0x400
lea eax, [ebp - 0x170]
call fcn.004063a4
call fcn.0040284c
mov edx, 0xa
lea eax, [ebp - 0x170]
call fcn.00406784
call fcn.0040284c
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0xaea4]
mov ecx, 0x1b0
lea eax, [ebp - 0x170]
call fcn.00406340
call fcn.0040284c
lea eax, [ebp - 0x170]
call fcn.00406408
call fcn.0040284c
mov eax, dword [ebp - 0x10]
call fcn.00409368
call fcn.0040a2b0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1c]
mov edx, 0x49f730
call fcn.0040ae68
push dword [ebp - 0x24]
lea eax, [ebp - 0x748]
mov edx, dword [ebp - 4]
add edx, 0xb005
call fcn.00403de4
push dword [ebp - 0x748]
push 0x49f708
push 0x49f714
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f00
lea eax, [ebp - 0x74c]
mov edx, dword [ebp - 4]
add edx, 0xb005
call fcn.00403de4
mov eax, dword [ebp - 0x74c]
mov edx, dword [ebp - 0x1c]
call fcn.00403f50
ja 0x49f310
mov eax, dword [ebp - 4]
add eax, 0xb005
mov edx, 0x49f73c
call fcn.00402b40
jae 0x49f564
mov eax, dword [ebp - 4]
add eax, 0xb010
mov edx, 0x49f748
call fcn.00402b40
jae 0x49f335
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4faac]
call fcn.00403c58
mov eax, dword [ebp - 4]
add eax, 0xb010
mov edx, 0x49f748
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bc4
jne 0x49f35f
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4faa8]
call fcn.00403c58
mov eax, dword [ebp - 4]
add eax, 0xb010
mov edx, 0x49f74c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bc4
jne 0x49f389
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4fab0]
call fcn.00403c58
mov eax, dword [ebp - 4]
add eax, 0xb010
mov edx, 0x49f750
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402bc4
jne 0x49f3b3
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4fab8]
call fcn.00403c58
mov eax, dword [ebp - 4]
add eax, 0xb010
mov edx, 0x49f750
call fcn.00402b40
jbe 0x49f3d8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4fab4]
call fcn.00403c58
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x49f75c
lea eax, [ebp - 0x750]
mov edx, dword [ebp - 4]
add edx, 0xb010
call fcn.00403de4
push dword [ebp - 0x750]
push 0x49f708
push 0x49f714
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00403f00
mov eax, dword [ebp - 4]
add eax, 0xafe4
mov edx, 0x49f760
call fcn.00402b40
ja 0x49f440
mov eax, dword [ebp - 4]
add eax, 0xafe4
mov edx, 0x49f768
call fcn.00402b40
jae 0x49f58c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xaed0]
test eax, eax
jle 0x49f58c
cmp eax, 0x33
jge 0x49f58c
mov esi, eax
test esi, esi
jle 0x49f58c
mov ebx, 1
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xaed0]
add eax, 0x20ad
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x754]
call fcn.004090dc
push dword [ebp - 0x754]
push 0x49f708
push 0x49f714
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f00
lea eax, [ebp - 0x758]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e40
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebp - 0x20]
call fcn.00404048
mov eax, dword [ebp - 0x758]
call fcn.00409188
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4 + 0xaed0]
add eax, 0x20ad
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x49f4ef
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49f55a
mov dword [ebp - 8], 1
lea eax, [ebp - 0x760]
mov edx, dword [ebp - 4]
add edx, 0xaffa
call fcn.00403de4
mov eax, dword [ebp - 0x760]
lea edx, [ebp - 0x75c]
call fcn.00408f2c
mov edx, dword [ebp - 0x75c]
mov eax, dword [ebp - 4]
add eax, 0x4fae0
call fcn.00403c14
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00403f50
je 0x49f58c
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404004
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404004
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x49f58c
inc ebx
dec esi
jne 0x49f469
jmp 0x49f58c
mov eax, dword [ebp - 0xc]
call fcn.0040931c
test al, al
je 0x49f578
mov eax, dword [ebp - 0xc]
call fcn.00409368
mov eax, dword [ebp - 0x14]
call fcn.0040931c
test al, al
je 0x49f58c
mov eax, dword [ebp - 0x14]
call fcn.00409368
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f5bf
cmp dword [ebp - 8], 1
je 0x49f64b
cmp dword [ebp - 0x24], 0
je 0x49f64b
lea edx, [ebp - 0x768]
mov eax, dword [0x4c3254]
mov eax, dword [eax]
call fcn.0044fd68
mov eax, dword [ebp - 0x768]
lea edx, [ebp - 0x764]
call fcn.00409400
mov edx, dword [ebp - 0x764]
lea eax, [ebp - 0xc]
mov ecx, 0x49f784
call fcn.00403e8c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x73c]
call fcn.0040629e
lea eax, [ebp - 0x73c]
call fcn.0040663e
call fcn.0040284c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x73c]
call fcn.004041d8
call fcn.00406883
call fcn.0040284c
lea eax, [ebp - 0x73c]
call fcn.00406408
call fcn.0040284c
mov ebx, dword [ebp - 8]
mov ecx, 1
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004aaeac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f69f
lea eax, [ebp - 0x768]
mov edx, 0xb
call fcn.00403be4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403be4
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403be4
ret