Function at 0x1400dca14
Capabilities:
Create thread
Query environment variable

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.1400eeb60
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x3090], rbx
mov qword [rsp + 0x30a0], rsi
mov qword [rsp + 0x30a8], rdi
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov r14b, r8b
mov r15, rdx
mov r13d, 0x800
xor r12d, r12d
test r9, r9
jne 0x1400dcacc
mov dword [rsp + 0x20], r13d
lea r9, [0x14010d188]
lea r8, [rsp + 0x50]
lea rdx, str.ExternalViewer
lea rcx, [0x14010e0b0]
call fcn.14009f7ec
mov r8d, r13d
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400dcae6
mov r8d, r13d
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call fcn.14008e130
jmp 0x1400dcae6
lea rcx, [rsp + 0x50]
sub rcx, r9
movzx eax, word [r9]
mov word [rcx + r9], ax
lea r9, [r9 + 2]
test ax, ax
jne 0x1400dcad4
cmp word [rsp + 0x50], r12w
jne 0x1400dcaf5
xor al, al
jmp 0x1400dcce5
mov r8, r13
mov rdx, r15
lea rcx, [rbp + 0xf50]
call fcn.14008e130
mov rdx, r13
lea rcx, [rbp + 0xf50]
call fcn.1400a8334
lea rcx, [rsp + 0x50]
call fcn.140068fe0
test al, al
jne 0x1400dcc09
mov eax, 0x22
cmp word [rsp + 0x50], ax
jne 0x1400dcb45
mov edx, eax
lea rcx, [rsp + 0x52]
call fcn.1400efd40
jmp 0x1400dcbe8
lea rax, [rsp + 0x50]
jmp 0x1400dcbe8
lea rdx, [0x14011cf88]
mov rcx, rax
call fcn.1400fa9e8
mov rbx, rax
test rax, rax
je 0x1400dcc09
mov rdi, rax
movzx ecx, word [rax]
jmp 0x1400dcb79
add rdi, 2
movzx ecx, word [rdi]
call fcn.14008dcf0
test al, al
jne 0x1400dcb72
mov r8, r13
mov rdx, rdi
lea rcx, [rbp + 0x1f50]
call fcn.14008e130
mov r8, r13
lea rdx, [0x140111c44]
lea rcx, [rbp + 0x1f50]
call fcn.14008e0f8
mov r8, r13
lea rdx, [rbp + 0xf50]
lea rcx, [rbp + 0x1f50]
call fcn.14008e0f8
movzx esi, word [rbx]
mov word [rbx], r12w
mov eax, 0x22
cmp word [rsp + 0x50], ax
je 0x1400dcbf3
lea rcx, [rsp + 0x50]
call fcn.140068fe0
test al, al
jne 0x1400dcbf3
mov word [rbx], si
lea rax, [rdi + 2]
test rax, rax
jne 0x1400dcb4f
jmp 0x1400dcc09
mov r8, r13
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.14008e130
mov ecx, dword [0x1401dd210]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401b01b0], ecx
jle 0x1400dcc67
lea rcx, [0x1401b01b0]
call fcn.1400ef300
cmp dword [0x1401b01b0], 0xffffffff
jne 0x1400dcc67
lea rcx, [0x1401b00ae]
call fcn.14008b37c
nop
lea rcx, [0x14010b844]
call fcn.1400ef110
nop
lea rcx, [0x1401b01b0]
call fcn.1400ef2a0
mov r8b, 1
mov rdx, r15
lea rbx, [0x1401ac080]
mov rcx, rbx
call fcn.1400dd2b8
test r14b, r14b
sete al
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xf50]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.1400de3a8
test al, al
jne 0x1400dccb7
mov rcx, rbx
call fcn.1400dbfc0
jmp 0x1400dcaee
test r14b, r14b
je 0x1400dccdb
cmp qword [0x1401ac080], r12
je 0x1400dccdb
mov r8, rbx
mov edx, 0x10000
lea rcx, [0x1400dc2ac]
call fcn.1400f66d8
jmp 0x1400dcce3
mov rcx, rbx
call fcn.1400dbfc0
mov al, 1
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400eebd0
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret