Function at 0x4e55a950
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x4e5a5e23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [ebp + 0x64]
push eax
lea ecx, [ebp - 0xc8]
call fcn.4e51b610
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x68]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x48], eax
jmp 0x4e55a9a2
mov ecx, dword [ebp + 0x48]
add ecx, 0x18
mov dword [ebp + 0x48], ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp], ecx
mov edx, dword [ebp + 0x48]
cmp edx, dword [ebp]
jne 0x4e55a9c2
mov dword [ebp + 0x18], 1
jmp 0x4e55a9c9
mov dword [ebp + 0x18], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
jne 0x4e55a9da
mov dword [ebp + 0x3c], 1
jmp 0x4e55a9e1
mov dword [ebp + 0x3c], 0
movzx ecx, byte [ebp + 0x3c]
test ecx, ecx
je 0x4e55aa65
movsx edx, byte [0x4e5ae39c]
test edx, edx
jne 0x4e55a9fd
mov dword [ebp + 0x30], 0
jmp 0x4e55aa2e
mov dword [ebp + 0x4c], 0x4e5ae39c
mov eax, dword [ebp + 0x4c]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x4c]
mov dl, byte [ecx]
mov byte [ebp + 0x53], dl
add dword [ebp + 0x4c], 1
cmp byte [ebp + 0x53], 0
jne 0x4e55aa0d
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + 0x30], ecx
mov edx, dword [ebp + 0x30]
push edx
push 0x4e5ae39c
lea ecx, [ebp - 0xc8]
call fcn.4e51dbc0
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x4e5ba7ac]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc8]
call fcn.4e51db00
jmp 0x4e55a999
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
push 0
push 0
lea ecx, [ebp - 0xac]
call fcn.4e524340
mov byte [ebp - 4], 1
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.4e563410
add esp, 8
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x68], 0x80
xor eax, eax
mov word [ebp - 0x62], ax
mov dword [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp + 0x54], eax
mov byte [ebp + 0x5b], 0
cmp dword [ebp + 0x70], 0
je 0x4e55ab31
push 2
push 1
push 0
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 0x54]
push edx
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax]
call fcn.4e573150
push eax
mov ecx, dword [ebp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov byte [ebp + 0x5b], 1
push 1
mov ecx, dword [ebp + 0x70]
call fcn.4e573350
jmp 0x4e55ab6b
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4e55ab64
push 2
push 1
push 0
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp + 0x54]
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
mov ecx, dword [ebp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov byte [ebp + 0x5b], 1
jmp 0x4e55ab6b
mov dword [ebp - 0x5c], 0
cmp dword [ebp + 0x74], 0
je 0x4e55ab9a
push 2
push 1
push 0
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp + 0x54]
push eax
mov ecx, dword [ebp + 0x74]
mov ecx, dword [ecx]
call fcn.4e573170
push eax
mov edx, dword [ebp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov byte [ebp + 0x5b], 1
jmp 0x4e55abd4
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4e55abcd
push 2
push 1
push 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0x54]
push ecx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
mov edx, dword [ebp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov byte [ebp + 0x5b], 1
jmp 0x4e55abd4
mov dword [ebp - 0x58], 0
cmp dword [ebp + 0x78], 0
je 0x4e55ac03
push 2
push 1
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 0x54]
push ecx
mov edx, dword [ebp + 0x78]
mov ecx, dword [edx]
call fcn.4e573170
push eax
mov eax, dword [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov byte [ebp + 0x5b], 1
jmp 0x4e55ac3d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4e55ac36
push 2
push 1
push 0
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x54]
push edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
mov eax, dword [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov byte [ebp + 0x5b], 1
jmp 0x4e55ac3d
mov dword [ebp - 0x54], 0
cmp dword [ebp + 0x74], 0
je 0x4e55ac4d
push 2
mov ecx, dword [ebp + 0x74]
call fcn.4e573350
cmp dword [ebp + 0x78], 0
je 0x4e55ac5d
push 2
mov ecx, dword [ebp + 0x78]
call fcn.4e573350
movzx ecx, byte [ebp + 0x5b]
test ecx, ecx
je 0x4e55ac71
mov edx, dword [ebp - 0x68]
or edx, 0x100
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.4e524340
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.4e563410
add esp, 8
cmp dword [ebp - 0x40], 0
jne 0x4e55acae
mov dword [ebp + 0x20], 1
jmp 0x4e55acb5
mov dword [ebp + 0x20], 0
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x4e55acc6
mov dword [ebp + 0x28], 0
jmp 0x4e55ace9
cmp dword [ebp - 0x3c], 8
jb 0x4e55acdd
mov eax, dword [ebp - 0xb0]
mov dword [ebp + 0x44], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp + 0x44], ecx
jmp 0x4e55ace3
lea edx, [ebp - 0x50]
mov dword [ebp + 0x44], edx
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x28], eax
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x28], ecx
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0x7c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4e55ad27
mov dword [ebp + 0x38], 1
jmp 0x4e55ad2e
mov dword [ebp + 0x38], 0
movzx ecx, byte [ebp + 0x38]
test ecx, ecx
jne 0x4e55ad77
mov edx, dword [ebp + 0x7c]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.4e55b8e0
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp + 0xc]
call fcn.4e55c610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe8]
call fcn.4e524520
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x4e55ad8a
mov dword [ebp + 0x34], 0
jmp 0x4e55ad91
mov dword [ebp + 0x34], 0x8000000
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x98], 8
jb 0x4e55adb4
mov edx, dword [ebp - 0xcc]
mov dword [ebp + 0x40], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp + 0x40], eax
jmp 0x4e55adbd
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x40], ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp + 0x5b]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x5c], 0
je 0x4e55adff
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x58], 0
je 0x4e55ae0f
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x54], 0
je 0x4e55ae1f
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x4e55aece
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
call fcn.4e584d20
add esp, 4
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 5
cmp dword [ebp + 0x24], 0
je 0x4e55ae68
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, dword [ebp + 0x24]
call fcn.4e55a640
mov dword [ebp + 0x1c], eax
jmp 0x4e55ae6f
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 4], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.4e524520
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.4e524340
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.4e524340
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.4e514040
mov eax, dword [ebp + 4]
jmp 0x4e55af63
push str.Cannot_launch_process
lea ecx, [ebp - 0x100]
call fcn.4e513ee0
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp + 0x64]
push edx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x12c]
call fcn.4e54e1e0
push 0x4e5cf96c
lea ecx, [ebp - 0x12c]
push ecx
call fcn.4e58707b
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x100]
call fcn.4e514040
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.4e524520
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.4e524340
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.4e524340
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.4e514040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x5c
mov esp, ebp
pop ebp
ret