Function at 0x49d3b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049fc
mov eax, dword [ebp - 0xc]
call fcn.004049fc
mov eax, dword [ebp + 8]
call fcn.004049fc
xor eax, eax
push ebp
push 0x49d5e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
jne 0x49d5b9
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040303c
mov eax, dword [ebp - 4]
call fcn.0049cfc0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0049d390
cmp dword [ebp - 8], 0
je 0x49d431
mov eax, dword [ebp - 8]
call fcn.00404a0c
mov ebx, eax
jmp 0x49d433
xor ebx, ebx
cmp dword [ebp - 0xc], 0
je 0x49d455
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, 0x49d5fc
call fcn.00404860
mov eax, dword [ebp - 0x54]
call fcn.00404a0c
mov esi, eax
jmp 0x49d457
xor esi, esi
cmp dword [ebp + 8], 0
je 0x49d469
mov eax, dword [ebp + 8]
call fcn.00404a0c
mov edi, eax
jmp 0x49d46b
xor edi, edi
mov eax, dword [ebp - 4]
add eax, 0x48
push eax
lea eax, [ebp - 0x50]
push eax
push edi
push 0
push 0x8000000
push 0xffffffffffffffff
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
test bl, bl
je 0x49d5b4
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 1
xor eax, eax
push ebp
push 0x49d5ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49ce5c]
call fcn.0049d618
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49cec4]
call fcn.0049d7f0
jmp 0x49d51b
mov eax, dword [0x5306f0]
mov eax, dword [eax]
call fcn.00447f38
push 0xff
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 4]
add eax, 0x48
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x49d50f
mov eax, dword [ebp - 4]
add eax, 0x58
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x49d553
call fcn.0040d9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d5b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x9a], 0
je 0x49d5ac
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
ret
call fcn.0040d9f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d5eb
lea eax, [ebp - 0x54]
call fcn.0040455c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404580
lea eax, [ebp + 8]
call fcn.0040455c
ret