Function at 0x49f0c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530066
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x44
xor edi, edi
lea ecx, [ebp - 0x114]
push edi
push ecx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xd0], eax
call fcn.004ba010
xor eax, eax
add esp, 0xc
xor edx, edx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov eax, esi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x114], 0x44
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49f150
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402460
xor eax, eax
mov word [ebp - 0x48], ax
mov esi, 7
mov eax, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49f182
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x9c]
push 0x542a7c
push edx
mov byte [ebp - 4], 1
call fcn.00424740
push 0x542a7c
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 2
call fcn.00402b90
push 0x53e978
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 3
call fcn.00402b90
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 4
call fcn.00402bf0
add esp, 0x30
mov ebx, 8
cmp dword [ebp - 0x6c], ebx
jb 0x49f208
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0xa4], ebx
jb 0x49f22b
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x88], ebx
jb 0x49f257
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x34], ebx
jb 0x49f27d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], ebx
jb 0x49f29e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x54]
xor ecx, ecx
inc esi
mov eax, esi
mov edx, 2
mul edx
mov word [ebp - 0x2c], cx
seto cl
mov dword [ebp - 0x1c], edi
neg ecx
or ecx, eax
push ecx
call fcn.004b7ad5
add esp, 4
cmp dword [ebp - 0x50], 8
mov ebx, eax
mov eax, dword [ebp - 0x64]
jae 0x49f2d5
lea eax, [ebp - 0x64]
push eax
push esi
push ebx
call fcn.004bd49e
mov edx, dword [ebp - 0xcc]
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x114]
push ecx
push edi
push edi
push 0x20
push edi
push edi
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x49f335
mov eax, dword [ebp - 0xc4]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov eax, dword [ebp - 0xd0]
cmp eax, edi
je 0x49f32a
mov ecx, dword [ebp - 0xc8]
mov dword [eax], ecx
jmp 0x49f33b
mov edx, dword [ebp - 0xc8]
push edx
call esi
jmp 0x49f33b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
call fcn.004b9ded
add esp, 4
cmp dword [ebp - 0x50], 8
jb 0x49f356
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b9008
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret