Function at 0x4a6ad4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x584fa8]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0xc8], eax
push dword [ebp + 8]
call fcn.0051849a
add esp, 4
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 8], ebx
mov dword [ebx + 0x2c], eax
test ecx, ecx
je 0x4a6b1b
push ecx
call fcn.0051a200
add esp, 4
push edi
call fcn.0051849a
add esp, 4
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
cmp dword [esi + 0x48], edi
setne bl
shl ebx, 0x13
or ebx, 0x40c
cmp dword [eax + 0x1c], edi
je 0x4a6b55
call fcn.0045bf80
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
movzx eax, byte [ebp + 0x10]
lea ecx, [esp + 0x30]
pxor xmm0, xmm0
add esi, 4
movdqa xmmword [ecx], xmm0
push ecx
push esi
push edi
push edi
push ebx
push eax
push edi
push edi
mov ebx, dword [esp + 0x38]
push ebx
push dword [ebp + 8]
mov edi, dword [esp + 0x30]
push dword [edi + 0x10]
call dword [0x585c24]
test eax, eax
je 0x4a6c6c
lea eax, [esp + 0x30]
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x20]
movdqa xmmword [ecx], xmm0
push eax
call fcn.004a6640
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4a6bbd
push dword [esp + 0x20]
push eax
call dword [0x57e5dc]
test eax, eax
je 0x4a6c81
mov ecx, dword [edi + 0x14]
mov esi, dword [ebp + 0x1c]
lea eax, [ecx + 1]
cmp eax, 2
jb 0x4a6dba
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [ecx], 0xffffffff
push ecx
push 8
push eax
call dword [0x585c84]
test eax, eax
je 0x4a6d8b
mov eax, dword [esp + 0x4c]
lea ebx, [esp + 0x48]
xor ecx, ecx
mov dword [ebx], ecx
mov ecx, ebx
push eax
call fcn.004051c6
mov esi, dword [ebx]
mov edi, 0x48
push edi
call fcn.0050317c
add esp, 4
mov ebx, eax
push edi
xor eax, eax
push eax
push ebx
call fcn.005076c0
add esp, 0xc
lea eax, [esp + 0x50]
mov dword [eax], 0xffffffff
push eax
push edi
push ebx
push 0x1f
push esi
call dword [0x585c68]
test eax, eax
je 0x4a6ca2
mov esi, dword [ebx]
test esi, esi
je 0x4a6ca2
push 0x44
call fcn.0050317c
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, eax
push esi
call fcn.004a1dd4
mov al, 1
mov dword [esp + 0x14], eax
jmp 0x4a6cb2
call dword [0x57e6d0]
mov ecx, dword [ebp + 0x1c]
mov edi, 0x12
mov dword [ecx], eax
jmp 0x4a6e59
call dword [0x57e6d0]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push 0
push dword [esp + 0x24]
call dword [0x57e8a0]
mov edi, 0x14
jmp 0x4a6e50
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 8]
mov esi, dword [ebp + 0x1c]
push ebx
call fcn.005031ac
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00405190
cmp byte [esp + 0x14], 0
je 0x4a6d76
xor ecx, ecx
pcmpeqd xmm0, xmm0
lea eax, [edi + 0x30]
dec ecx
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x50]
mov ebx, ecx
push eax
push dword [esp + 0x10]
call fcn.004a71b8
lea eax, [esp + 0x1c]
xor ecx, ecx
push eax
push ecx
push ecx
push ebx
push ecx
mov ebx, dword [esp + 0x24]
push ebx
call fcn.00477d36
add esp, 0x18
lea ecx, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.004a72f6
push dword [esp + 0xc]
call fcn.005031ac
mov edx, ebx
add esp, 4
cmp dword [esp + 8], 0
jne 0x4a6d70
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x4a6d8f
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x4a6d8b
push eax
call fcn.005031ac
add esp, 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x50]
mov dword [ecx], eax
push edx
push ecx
call dword [0x585cb4]
test eax, eax
je 0x4a6e2e
lea ecx, [edi + 0x14]
call fcn.00405190
lea ecx, [esp + 0x1c]
call fcn.00405190
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.004a6800
test al, al
je 0x4a6df8
push dword [esp + 0x20]
call fcn.004a343b
add esp, 4
test eax, eax
mov dword [edi + 0x28], eax
je 0x4a6e13
lea esi, [esp + 0x50]
lea ecx, [esp + 0x20]
push esi
call fcn.004a68c0
mov ecx, edi
push esi
call fcn.004a6690
xor edi, edi
jmp 0x4a6e50
call dword [0x57e6d0]
mov dword [esi], eax
push 0
push dword [esp + 0x24]
call dword [0x57e8a0]
mov edi, 0x17
jmp 0x4a6e50
call dword [0x57e6d0]
mov dword [esi], eax
push 0
push dword [esp + 0x24]
call dword [0x57e8a0]
mov edi, 0x2b
jmp 0x4a6e50
call dword [0x57e6d0]
mov dword [esi], eax
push 0
push dword [esp + 0x24]
call dword [0x57e8a0]
lea ecx, [esp + 0x1c]
call fcn.00405190
mov edi, 0x15
lea ecx, [esp + 0x20]
call fcn.004a66e0
test ebx, ebx
je 0x4a6e66
push ebx
call fcn.0051a200
add esp, 4
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.005031f1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18