Function at 0x4eeb44
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4eeb4c
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4eee98
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0xb54], 1
jne 0x4eeb8c
push 0
mov ecx, 0x4eeea8
mov edx, 0x4eeeb4
mov eax, dword [0x50b418]
mov eax, dword [eax]
call fcn.00453df0
jmp 0x4eee53
mov eax, dword [ebx + 0xa0c]
mov eax, dword [eax + 0x254]
call fcn.004637d0
test eax, eax
jne 0x4eebbe
push 0
mov ecx, 0x4eeea8
mov edx, 0x4eeee4
mov eax, dword [0x50b418]
mov eax, dword [eax]
call fcn.00453df0
jmp 0x4eee53
mov eax, dword [ebx + 0xa5c]
cmp byte [eax + 0x47], 0
jne 0x4eebeb
mov eax, dword [ebx + 0x14fe0]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x15194]
cmp byte [edx + eax*8 + 0xe], 0
jbe 0x4eebeb
mov byte [ebx + 0x14400], 0
mov eax, dword [ebx + 0xa0c]
call fcn.00465370
call fcn.00463028
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x15194]
cmp byte [edx + eax*8 + 0xe], 5
je 0x4eec33
mov eax, dword [ebx + 0xa0c]
call fcn.00465370
call fcn.00463028
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x15194]
cmp byte [edx + eax*8 + 0xe], 6
jne 0x4eec3a
mov byte [ebx + 0x14400], 0
cmp byte [ebx + 0x14400], 1
jne 0x4eec71
mov eax, dword [ebx + 0xa0c]
mov eax, dword [eax + 0x254]
call fcn.004637d0
test eax, eax
jle 0x4eec71
mov eax, dword [ebx + 0xa0c]
call fcn.00465370
call fcn.00463028
mov edx, eax
mov eax, ebx
call fcn.004f30f0
cmp byte [ebx + 0x15564], 0
jne 0x4eed9c
mov eax, dword [ebx + 0xa0c]
mov eax, dword [eax + 0x254]
call fcn.004637d0
test eax, eax
jle 0x4eed84
mov eax, dword [ebx + 0x2d4]
add eax, 0x68
mov edx, 0x4eef08
call fcn.00403d20
mov eax, dword [ebx + 0x2d4]
add eax, 0x70
call fcn.00403ccc
mov esi, dword [ebx + 0x2d4]
mov eax, dword [0x4eef14]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x58]
mov edx, 0x4eef20
call fcn.00403d20
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4eed9c
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x2d4]
call fcn.00459b24
push dword [ebp - 0xc]
push 0x4eef44
mov eax, ebx
call fcn.0043b548
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00409458
push dword [ebp - 0x10]
push 0x4eef44
call fcn.0040a76c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x14]
mov eax, 0x4eef54
call fcn.0040b368
push dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040400c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 0x4eef68
mov edx, dword [ebx + 0x15560]
call fcn.00403f98
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.004ebb5c
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x2d4]
call fcn.00459b24
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, ebx
call fcn.004f815c
jmp 0x4eed9c
push 0
mov ecx, 0x4eeea8
mov edx, 0x4eef74
mov eax, dword [0x50b418]
mov eax, dword [eax]
call fcn.00453df0
cmp byte [ebx + 0x15564], 2
jne 0x4eee40
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x151a4]
call fcn.00409274
mov eax, dword [ebp - 0x28]
call fcn.00403f4c
sub eax, 4
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x151a4]
call fcn.00409274
mov eax, dword [ebp - 0x2c]
mov edx, 1
pop ecx
call fcn.00404154
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, 0x4eef8c
call fcn.00403f98
cmp byte [ebx + 0x161d0], 1
jne 0x4eee31
push 0xe4
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x151a4]
mov eax, ebx
call fcn.004d9d7c
dec eax
jne 0x4eee31
push 0
mov eax, dword [ebp - 4]
call fcn.00404110
push eax
mov eax, dword [ebx + 0x151a4]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
xor ecx, ecx
mov edx, dword [ebx + 0x151a4]
mov eax, ebx
call fcn.004f815c
mov eax, dword [ebx + 0xa5c]
cmp byte [eax + 0x47], 1
jne 0x4eee53
mov byte [ebx + 0x15598], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eee9f
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403cf0
lea eax, [ebp - 0x20]
call fcn.00403ccc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403cf0
lea eax, [ebp - 0xc]
call fcn.00403ccc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cf0
ret