Function at 0x14003aa40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400e4918]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x34], r15d
lea rcx, [rbp + 0x80]
call fcn.140044150
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x14003aad3
lea r14, [rcx + 0xe]
mov qword [rbx + 0x10], r14
mov rsi, rbx
cmp rdx, 8
jb 0x14003aab6
mov rsi, qword [rbx]
lea rcx, [rsi + rcx*2]
mov r8d, 0x1c
lea rdx, str.debug_log.txt
call fcn.140078f30
mov word [rsi + r14*2], r15w
jmp 0x14003aaf9
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str.debug_log.txt
movzx r8d, byte [rsp + 0x30]
mov edx, SafeArrayDestroy
mov rcx, rbx
call fcn.14002b430
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
or edi, 2
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14003ab71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ab6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003aeac
call fcn.140076c28
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1400a8c90]
movdqu xmmword [rbp + 0x90], xmm1
mov word [rbp + 0x80], r15w
or edi, 8
mov dword [rsp + 0x34], edi
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [0x1400e4078]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14003abdd
mov rax, qword [0x1400e4048]
mov r8, qword [rax]
test r8, r8
je 0x14003abdd
mov rax, qword [0x1400e4028]
mov rdx, qword [rax]
cmp r8, qword [0x1400e4070]
cmovb r8, qword [0x1400e4070]
sub r8, rdx
sar r8, 1
jmp 0x14003ac1b
test cl, 4
jne 0x14003ac11
mov rax, qword [0x1400e4040]
mov r8, qword [rax]
test r8, r8
je 0x14003ac11
mov rax, qword [0x1400e4020]
mov rdx, qword [rax]
mov rax, qword [0x1400e4058]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
jmp 0x14003ac1b
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14003ac2c
lea rcx, [rbp + 0x80]
call fcn.140029330
and edi, 0xfffffff7
or edi, 4
or edi, 1
mov dword [rsp + 0x34], edi
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
lea rcx, [rsp + 0x50]
call fcn.140032680
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
cmp qword [rbp - 0x28], 0
jne 0x14003ade7
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.14002b870
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140075c38
nop
xor bl, bl
test dil, 1
je 0x14003ad49
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14003ad49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ad44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003aeb2
call fcn.140076c28
test bl, bl
je 0x14003ad7b
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae r8, qword [rbp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14003adbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003adb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003aea6
call fcn.140076c28
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400770b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, [0x1400ac85c]
lea rcx, [rsp + 0x50]
call fcn.14002b180
mov r8, qword [rbp + 0x90]
test r8, r8
je 0x14003ae29
add r8, r8
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140040100
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.14002b870
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140075c38
nop
lea rcx, [rbp + 0x60]
call fcn.140049f90
test al, al
je 0x14003acfb
mov bl, 1
jmp 0x14003acfd
call fcn.14007d764
nop
call fcn.14007d764
int3
call fcn.14007d764
int3