Function at 0x140003e90
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x14004a058]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r13, r9
mov r12d, r8d
mov rbx, rdx
mov rdi, rcx
mov r15, qword [rbp + 0x1a0]
mov qword [rsp + 0x58], r15
xor esi, esi
mov dword [rsp + 0x50], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x70], 0x68
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea edx, [rsi + 1]
lea rcx, [rbp]
call fcn.1400018d0
nop
lea rdx, [0x140034aa8]
lea rcx, [rbp + 0x10]
call fcn.1400010c0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140003f37
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400014b0
mov rcx, rax
lea rdx, [0x140034aa8]
call fcn.1400010c0
cmp qword [rbx + 0x10], 0
je 0x140003f82
lea rdx, [0x140034aac]
lea rcx, [rbp + 0x10]
call fcn.1400010c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140003f76
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400014b0
nop
mov qword [rbp + 0x100], rsi
mov r14, rsi
mov qword [rbp + 0x110], rsi
mov edi, 7
mov qword [rbp + 0x118], rdi
mov word [rbp + 0x100], si
mov dword [rsp + 0x50], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rcx, qword [rbp + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140003fef
mov rax, qword [rbp + 0x58]
mov r8, qword [rax]
test r8, r8
je 0x140003fef
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x80]
cmovb r8, qword [rbp + 0x80]
sub r8, rdx
sar r8, 1
jmp 0x140004025
test cl, 4
jne 0x14000401c
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000401c
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x140004025
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140004044
lea rcx, [rbp + 0x100]
call fcn.140004ed0
mov rdi, qword [rbp + 0x118]
mov r14, qword [rbp + 0x110]
cmp r14, rdi
jae 0x140004079
lea rax, [r14 + 1]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x100]
cmp rdi, 8
cmovae rax, qword [rbp + 0x100]
mov dword [rax + r14*2], esi
mov rsi, qword [rbp + 0x100]
xor edi, edi
jmp 0x14000415e
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x14000425f
lea r15, [r14 + 1]
mov rcx, r15
or rcx, 7
cmp rcx, rbx
ja 0x1400040c2
mov rdx, rdi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rdi, rax
ja 0x1400040c2
lea rax, [rdi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x100]
call fcn.140004c70
mov rsi, rax
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rdi, 8
jb 0x140004140
mov rbx, qword [rbp + 0x100]
mov rdx, rbx
call fcn.1400145d0
xor eax, eax
mov dword [r14 + rsi], eax
lea rdx, [rdi*2 + 2]
cmp rdx, 0x1000
jb 0x140004134
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140004265
mov rbx, rcx
mov rcx, rbx
call fcn.1400124f4
xor edi, edi
jmp 0x140004152
lea rdx, [rbp + 0x100]
call fcn.1400145d0
xor edi, edi
mov dword [r14 + rsi], edi
mov r15, qword [rsp + 0x58]
mov qword [rbp + 0x100], rsi
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rdx, rsi
bts r12d, 0x1a
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400041b2
xor bl, bl
jmp 0x1400041cf
mov rax, qword [rsp + 0x60]
mov qword [r13], rax
mov eax, dword [rsp + 0x70]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x140004211
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000420c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004259
call fcn.1400124f4
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], di
lea rcx, [rbp]
call fcn.1400029d0
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140012b20
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400190b8
nop
call fcn.140004c50
int3
call fcn.1400190b8
int3