Function at 0x49f1a2
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x4e5f2d
call fcn.004bd677
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x44
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
pop esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa4]
push ebx
push eax
mov dword [ebp - 0x48], ebx
call fcn.004a35f0
push 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa4], esi
push ebx
push eax
call fcn.004a35f0
add esp, 0x18
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.0049f59f
test al, al
je 0x49f235
push ebp
pop ebp
pop edi
push edx
pop ebx
push esi
pop ecx
pop edi
pop edi
pop esp
pop eax
push ecx
push ecx
pop esi
push edi
push edx
push esi
pop esp
push eax
pop ebp
push edi
push esi
pop ecx
pop ebp
pop eax
push esp
pop ecx
pop edi
pop eax
pop esp
call fcn.0049f4d0
test al, al
je 0x49f252
pop esi
pop ebx
pop ecx
pop edx
pop edx
push eax
pop ebp
pop ebp
push esi
push ebp
push ebx
pop edx
push edx
push esp
pop edx
push edi
pop ebx
pop edx
pop ecx
push ecx
call fcn.0049fb48
test al, al
je 0x49f277
push eax
pop edi
pop edi
pop ecx
push edx
pop edx
push eax
push esi
pop esi
pop eax
push esi
push edx
push edi
push ebp
pop esi
push esi
pop ecx
push ebp
pop esp
push edx
push ecx
pop edi
pop esp
pop edi
pop ebp
push ebp
push ecx
push esi
mov ebx, dword [ebp - 0x4c]
xor edi, edi
test ebx, ebx
je 0x49f29a
cmp word [ebx], di
jne 0x49f289
mov eax, edi
jmp 0x49f290
push ebx
call fcn.004b009e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403330
or esi, 0xffffffff
cmp dword [ebp - 0x30], 0
jne 0x49f2c2
mov ebx, dword [ebp - 0x44]
cmp word [ebx], di
jne 0x49f2af
mov eax, edi
jmp 0x49f2b6
push ebx
call fcn.004b009e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403330
jmp 0x49f318
mov edi, 0x4eca8c
push edi
call fcn.004b009e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403330
mov ebx, dword [ebp - 0x44]
xor eax, eax
cmp word [ebx], ax
je 0x49f2e9
push ebx
call fcn.004b009e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404960
mov edi, 0x4eca90
push edi
call fcn.004b009e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00404960
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403d40
call fcn.0049fb03
test al, al
je 0x49f33a
push ecx
push esi
push edx
pop edx
push ecx
pop edi
push ecx
push esp
push edx
pop ecx
pop ebx
push esp
push esi
push eax
push ecx
push ebp
pop ebx
push esi
pop esp
push edi
pop esi
pop esi
or esi, 0xffffffff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.004031b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
pop ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x49f381
mov esi, ebx
jmp 0x49f428
cmp byte [ebp + 0x10], bl
je 0x49f397
cmp dword [ebp + 0x14], ebx
cmovg esi, dword [ebp + 0x14]
push esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x49f3b4
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x49f3b4
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
call fcn.0049f8db
test al, al
je 0x49f3dd
push edi
push ebx
pop edx
pop esi
push ebx
push eax
push eax
push edi
push esi
pop ecx
push ebx
pop ebx
pop esi
pop edx
push ecx
pop ecx
push esp
pop edi
push esp
pop edx
push ebp
push ebp
push eax
push ebx
pop esi
push edx
pop eax
push edx
pop ecx
push ecx
push esi
pop ebp
call fcn.0049f965
test al, al
je 0x49f3f8
pop esi
push ebx
pop eax
pop ebp
pop eax
push esp
push ecx
push edx
pop ebp
push eax
push esp
push ebx
push ebx
push esi
push ebp
pop ecx
pop ecx
push esp
call fcn.0049f515
test al, al
je 0x49f413
push esi
pop ebp
pop edx
push ebx
push esp
pop ebx
pop ecx
pop edi
pop edx
pop eax
push ebx
push ebx
push edx
push edx
push edi
push edx
pop ebp
push ecx
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
xor esi, esi
inc esi
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00403270
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403270
mov eax, esi
call fcn.004bd632
ret