Function at 0x1400039b0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140017018]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r14, qword [rbp + 0x470]
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x214
mov r15d, r9d
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call sub.msvcrt.dll_memset
xor eax, eax
xor r12d, r12d
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x50], xmm0
cmp dword [rdi], r12d
je 0x140003c2b
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dword [rdi + 0x30], 6
jge 0x140003a54
mov ebx, 0x8007139f
jmp 0x140003c30
test rbx, rbx
je 0x140003c24
test rsi, rsi
je 0x140003c24
test r14, r14
je 0x140003c24
mov rdx, qword [rdi + 0x40]
sub rdx, rbx
movzx eax, word [rbx]
movzx ecx, word [rbx + rdx]
sub eax, ecx
jne 0x140003a89
add rbx, 2
test ecx, ecx
jne 0x140003a76
test eax, eax
je 0x140003a97
mov ebx, 0x80070005
jmp 0x140003c30
lea rax, [rbp - 0x20]
mov edx, 0x104
sub rsi, rax
lea rcx, [rbp - 0x20]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140003ac9
movzx eax, word [rsi + rcx]
test ax, ax
je 0x140003ac9
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003aa7
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r12w
je 0x140003c24
movzx eax, word [rbp - 0x20]
lea rcx, [rbp - 0x20]
jmp 0x140003afd
cmp ax, 0x2f
jne 0x140003af6
mov eax, 0x5c
mov word [rcx], ax
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x140003ae8
lea rcx, [rbp - 0x20]
call fcn.140006e14
test eax, eax
js 0x140003c24
lea rcx, [rbp - 0x20]
call fcn.140009f8c
test eax, eax
js 0x140003c24
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140002d5c
mov ebx, eax
test eax, eax
js 0x140003c30
cmp dword [rdi + 0x8c], r12d
jne 0x140003b54
lea rcx, [rbp - 0x20]
call fcn.14000744c
test eax, eax
je 0x140003a8d
mov esi, 0x10a
lea r8, [rbp + 0x1f0]
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.14000b528
mov ebx, eax
test eax, eax
js 0x140003c30
test r15d, r15d
je 0x140003b99
lea r8, str.__RegServer
mov edx, esi
lea rcx, [rbp + 0x1f0]
call fcn.140002578
mov ebx, eax
test eax, eax
js 0x140003c30
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], Ordinal_107
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x1f0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r12
xor ecx, ecx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x140003c05
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140003c30
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140003c30
mov r8, r14
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400028cc
mov ebx, eax
test eax, eax
js 0x140003c30
mov dword [rdi + 0x30], 8
jmp 0x140003c30
mov ebx, 0x80070057
jmp 0x140003c30
mov ebx, 0x8007000e
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140003c46
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140003c5c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
cmp dword [rdi], r12d
je 0x140003c71
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140001560
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret