Function at 0x4b6adc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 9], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b6e3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4b6e54
call fcn.004b6478
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, 1
push 0
push eax
push 0x4ff650
call fcn.00407514
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4b6b4c
mov eax, 0x4b6e74
call fcn.004b2594
xor edx, edx
push ebp
push 0x4b6dfe
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x2018
push 0
push 4
push 0x4ff650
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b6b84
mov eax, 0x4b6e88
call fcn.004b2594
push 0x2018
push 0
push 0
push 2
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4b6bab
mov eax, 0x4b6ea4
call fcn.004b2594
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, 0x2018
call fcn.00403544
mov eax, dword [ebp - 0x18]
mov dword [eax], 3
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0x2018
cmp bl, 1
cmc
sbb eax, eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
cmp byte [ebp - 9], 1
cmc
sbb eax, eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, 0x18
mov ecx, 0xfff
mov edx, esi
call fcn.0040a90c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_ReleaseMutex
test eax, eax
jne 0x4b6c0f
mov eax, 0x4b6ebc
call fcn.004b2594
lea edx, [ebp - 0x70]
mov eax, dword [0x50018c]
mov eax, dword [eax]
call fcn.0046ee20
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 4]
mov ecx, 0x4b6ed4
call fcn.00405188
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, 0x4b6ef0
call fcn.0040af98
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403544
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x84]
call fcn.00470284
mov eax, dword [ebp - 0x84]
call fcn.00405300
push eax
push 0
push 0x4000000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405300
push eax
mov eax, dword [ebp - 4]
call fcn.00405300
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4b6cbf
mov eax, 0x4b6f0c
call fcn.004b2594
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x6c]
call fcn.004b6790
cmp eax, 0x1c9b28da
je 0x4b6cf6
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x4b6f24
call fcn.004b2498
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
test esi, esi
je 0x4b6d2c
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x7c], 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, 0x4b6f50
call fcn.004b2498
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov edx, eax
dec edx
je 0x4b6d42
dec edx
je 0x4b6d54
dec edx
je 0x4b6d66
dec edx
je 0x4b6d78
jmp 0x4b6daa
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
mov eax, 0x4b6f7c
call fcn.004b25a8
jmp 0x4b6dc9
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
mov eax, 0x4b6f94
call fcn.004b24f0
jmp 0x4b6dc9
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
mov eax, 0x4b6fa8
call fcn.004b24f0
jmp 0x4b6dc9
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0xc]
test esi, 0x80000000
je 0x4b6dc9
lea eax, [ebp - 0x90]
movzx edx, bl
mov edx, dword [edx*4 + 0x4ff648]
call fcn.00405068
mov eax, dword [ebp - 0x90]
mov edx, esi
call fcn.004b25a8
jmp 0x4b6dc9
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x4b6fc0
call fcn.004b2498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6e05
cmp dword [ebp - 0x18], 0
je 0x4b6de5
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
cmp dword [ebp - 0x14], 0
je 0x4b6df4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret