Function at 0x49f990
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f29d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa30
mov eax, dword [0x566040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x14]
mov dword [eax], 1
call fcn.0041c830
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
push dword [ebx + 0xc]
call fcn.004212e0
test al, al
jne 0x49fa57
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x49fc16
mov ecx, dword [ebp - 0x30]
mov eax, 0x6614bc37
sub ecx, esi
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0xa08
mov eax, esi
cmp ecx, 0x1000
jb 0x49fa50
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49fc38
push ecx
push esi
jmp 0x49fc0e
mov ecx, dword [ebp - 0x34]
mov eax, 0x6614bc37
mov edi, dword [ebp - 0x38]
xor esi, esi
sub ecx, edi
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x49fa8e
mov edx, dword [ebx + 0x10]
mov eax, edi
nop dword [eax]
cmp dword [eax], edx
je 0x49fad9
inc esi
add eax, 0xa08
cmp esi, ecx
jb 0x49fa80
test edi, edi
je 0x49fc16
mov ecx, dword [ebp - 0x30]
mov eax, 0x6614bc37
sub ecx, edi
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0xa08
mov eax, edi
cmp ecx, 0x1000
jb 0x49fc0c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49fc38
jmp 0x49fc0c
imul esi, esi, 0xa08
mov ecx, 0x282
add esi, edi
lea edi, [ebp - 0xa40]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x49fb40
mov ecx, dword [ebp - 0x30]
mov eax, 0x6614bc37
sub ecx, esi
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0xa08
mov eax, esi
cmp ecx, 0x1000
jb 0x49fb36
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49fc38
push ecx
push esi
call fcn.004d3111
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49fb60
sub ecx, edx
lea eax, [ebp - 0x838]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416cf0
cmp dword [ebp - 0x1c], 0
jne 0x49fb89
xor esi, esi
jmp 0x49fbd2
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmova eax, dword [ebp - 0x2c]
push 1
push 0
push 0
push eax
push 0x521f8c
push 0
call esi
cmp eax, 0x20
ja 0x49fbcd
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push 0x521f98
push 0x521f8c
push 0
call esi
mov esi, 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49fc08
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49fbfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49fc38
push ecx
push edx
call fcn.004d3111
add esp, 8
mov eax, esi
jmp 0x49fc18
push ecx
push edi
call fcn.004d3111
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d30fe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004e2a5c
int3