Function at 0x4af2bc
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x4af2c4
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bbc
lea eax, [ebp - 0x160]
mov edx, dword [0x407d1c]
call fcn.00405188
xor eax, eax
push ebp
push 0x4af620
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.0040dc50
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 4]
mov ecx, 0x4af634
call fcn.00404a18
lea eax, [ebp - 8]
mov ecx, 0x4af640
mov edx, dword [ebp - 4]
call fcn.00404a18
lea ecx, [ebp - 0x160]
mov edx, dword [0x4b327c]
mov eax, dword [ebp - 8]
call fcn.004096d8
test eax, eax
jne 0x4af5d9
mov eax, dword [ebp - 0x158]
cmp eax, dword [0x4b327c]
jne 0x4af378
mov eax, dword [ebp - 0x154]
mov edx, 0x4af64c
call fcn.00404b18
je 0x4af378
mov eax, dword [ebp - 0x154]
mov edx, 0x4af658
call fcn.00404b18
jne 0x4af3b1
cmp dword [ebp - 0x158], 0x30
jne 0x4af5c6
mov eax, dword [ebp - 0x154]
mov edx, 0x4af64c
call fcn.00404b18
je 0x4af5c6
mov eax, dword [ebp - 0x154]
mov edx, 0x4af658
call fcn.00404b18
je 0x4af5c6
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404a18
mov edx, dword [ebp - 0x168]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404a18
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x4b6308]
mov eax, dword [eax + 0x2fc]
call fcn.00457e28
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x4af664
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404a8c
mov eax, dword [ebp - 0x170]
call fcn.00409530
test al, al
je 0x4af5c6
push dword [ebp - 4]
push dword [ebp - 0x154]
push 0x4af67c
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.00404a8c
mov eax, dword [ebp - 0x174]
call fcn.00409530
test al, al
je 0x4af5c6
mov eax, 0x4b630c
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00404a18
lea eax, [ebp - 0x178]
mov ecx, 0x4af698
mov edx, dword [0x4b630c]
call fcn.00404a18
mov eax, dword [ebp - 0x178]
call fcn.00409540
test al, al
jne 0x4af4b7
lea eax, [ebp - 0x17c]
mov ecx, 0x4af698
mov edx, dword [0x4b630c]
call fcn.00404a18
mov eax, dword [ebp - 0x17c]
call fcn.00409564
push 0
push dword [0x4b630c]
push 0x4af698
lea edx, [ebp - 0x188]
mov eax, dword [0x4b3800]
mov eax, dword [eax]
call fcn.00478290
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.004098c8
push dword [ebp - 0x184]
lea eax, [ebp - 0x180]
mov edx, 3
call fcn.00404a8c
mov eax, dword [ebp - 0x180]
call fcn.00404bcc
push eax
lea edx, [ebp - 0x18c]
mov eax, dword [0x4b3800]
mov eax, dword [eax]
call fcn.00478290
mov eax, dword [ebp - 0x18c]
call fcn.00404bcc
push eax
call sub.kernel32.dll_CopyFileA
push 5
lea eax, [ebp - 0x190]
mov ecx, 0x4af6a8
mov edx, dword [0x4b630c]
call fcn.00404a18
mov eax, dword [ebp - 0x190]
call fcn.00404bcc
push eax
push 0
push dword [0x4b630c]
push 0x4af698
lea edx, [ebp - 0x19c]
mov eax, dword [0x4b3800]
mov eax, dword [eax]
call fcn.00478290
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.004098c8
push dword [ebp - 0x198]
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00404a8c
mov eax, dword [ebp - 0x194]
call fcn.00404bcc
push eax
push 0x4af6b0
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
push 0x10
mov eax, dword [0x4b3800]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4af5d9
lea eax, [ebp - 0x160]
call fcn.00409728
test eax, eax
je 0x4af346
lea eax, [ebp - 0x160]
call fcn.0040974c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af627
lea eax, [ebp - 0x19c]
mov edx, 0xf
call fcn.00404730
lea eax, [ebp - 0x160]
mov edx, dword [0x407d1c]
call fcn.00405258
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404730
ret