Function at 0x4af7e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
mov eax, dword [ebp - 8]
call fcn.00404b70
xor eax, eax
push ebp
push 0x4afcb0
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4af850
mov byte [ebp - 9], 0
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x308]
xor edx, edx
call fcn.00440110
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x300]
mov dl, 1
call fcn.00440110
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x84]
or ecx, 0xffffffff
mov eax, 0x4afccc
call fcn.00409bbc
mov edx, dword [ebp - 0x84]
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x2fc]
call fcn.00440220
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00404758
mov eax, dword [ebp - 0x18]
call fcn.004091ec
test al, al
je 0x4af8df
mov eax, dword [ebp - 0x18]
call fcn.00404b80
mov edx, eax
lea eax, [ebp - 0x88]
call fcn.004048b8
mov eax, dword [ebp - 0x88]
call fcn.004091fc
xor eax, eax
push ebp
push 0x4afbfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x416ad0]
call fcn.0040389c
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x416ad0]
call fcn.0040389c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
call fcn.00404758
mov eax, dword [0x4c7fb4]
mov edx, dword [0x4c7fb0]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], 0x4afdd4
mov eax, dword [0x4c7fb4]
mov edx, dword [0x4c7fb0]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4afe10
mov eax, dword [0x4c7fb4]
mov edx, dword [0x4c7fb0]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x4afe48
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4af98a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4c7fb4]
call fcn.00474548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af99d
cmp dword [ebp - 0x1c], 5
jle 0x4af9f3
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x2fc]
mov edx, 0x4afcec
call fcn.00440220
mov eax, dword [0x4c7fb4]
call fcn.004038cc
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.00440110
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00440110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4afc75
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041afbc
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 0x4afd18
call fcn.004af684
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4afa3f
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4afa3f
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 0x4afd24
call fcn.004af684
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4afa9b
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4afa9b
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x2fc]
mov edx, 0x4afd30
call fcn.00440220
mov eax, dword [0x4c7fb4]
call fcn.004038cc
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x308]
mov dl, 1
call fcn.00440110
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00440110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4afc75
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0041afbc
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
push edx
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0041b238
xor eax, eax
push ebp
push 0x4afaf7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 8]
call fcn.004b2bac
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x14]
call fcn.0041b698
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4afb56
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x84]
or ecx, 0xffffffff
mov eax, 0x4afd88
call fcn.00409bbc
mov edx, dword [ebp - 0x90]
mov eax, dword [0x4c7fb0]
mov eax, dword [eax + 0x2fc]
call fcn.00440220
mov eax, dword [0x4c6d64]
mov eax, dword [eax]
call fcn.00456870
push 0x7d0
call sub.KERNEL32.DLL_Sleep
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x44
call fcn.0040315c
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 1
mov word [ebp - 0x40], 1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 8]
call fcn.004b2bac
mov eax, dword [ebp - 0x94]
call fcn.00404b80
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4afc52
mov byte [ebp - 9], 1
mov eax, dword [0x4c7fb0]
mov dword [eax + 0x24c], 1
jmp 0x4afc75
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afcb7
lea eax, [ebp - 0x94]
mov edx, 5
call fcn.004046e4
lea eax, [ebp - 0x2c]
call fcn.004046c0
lea eax, [ebp - 0x18]
call fcn.004046c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e4
ret