Function at 0x1400df10c
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.1400f1270
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 [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov r14b, r8b
mov r15, rdx
mov r13d, 0x800
xor r12d, r12d
test r9, r9
jne 0x1400df1c9
mov dword [rsp + 0x20], r13d
lea r9, [0x14010f1a8]
lea r8, [rsp + 0x50]
lea rdx, str.ExternalViewer
lea rcx, [0x1401100d0]
call fcn.14009f9e4
mov r8d, r13d
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400df1e3
mov r8d, r13d
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call fcn.14008e2e4
jmp 0x1400df1e3
lea rcx, [rsp + 0x50]
sub rcx, r9
movzx eax, word [r9]
mov word [rcx + r9], ax
lea r9, [r9 + 2]
test ax, ax
jne 0x1400df1d1
cmp word [rsp + 0x50], r12w
jne 0x1400df1f2
xor al, al
jmp 0x1400df3e2
mov r8, r13
mov rdx, r15
lea rcx, [rbp + 0xf50]
call fcn.14008e2e4
mov rdx, r13
lea rcx, [rbp + 0xf50]
call fcn.1400a8580
lea rcx, [rsp + 0x50]
call fcn.140069390
test al, al
jne 0x1400df306
mov eax, 0x22
cmp word [rsp + 0x50], ax
jne 0x1400df242
mov edx, eax
lea rcx, [rsp + 0x52]
call fcn.1400f2430
jmp 0x1400df2e5
lea rax, [rsp + 0x50]
jmp 0x1400df2e5
lea rdx, [0x14011f058]
mov rcx, rax
call fcn.1400fd108
mov rbx, rax
test rax, rax
je 0x1400df306
mov rdi, rax
movzx ecx, word [rax]
jmp 0x1400df276
add rdi, 2
movzx ecx, word [rdi]
call fcn.14008dea4
test al, al
jne 0x1400df26f
mov r8, r13
mov rdx, rdi
lea rcx, [rbp + 0x1f50]
call fcn.14008e2e4
mov r8, r13
lea rdx, [0x140113c64]
lea rcx, [rbp + 0x1f50]
call fcn.14008e2ac
mov r8, r13
lea rdx, [rbp + 0xf50]
lea rcx, [rbp + 0x1f50]
call fcn.14008e2ac
movzx esi, word [rbx]
mov word [rbx], r12w
mov eax, 0x22
cmp word [rsp + 0x50], ax
je 0x1400df2f0
lea rcx, [rsp + 0x50]
call fcn.140069390
test al, al
jne 0x1400df2f0
mov word [rbx], si
lea rax, [rdi + 2]
test rax, rax
jne 0x1400df24c
jmp 0x1400df306
mov r8, r13
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.14008e2e4
mov ecx, dword [0x1401df220]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401b21c0], ecx
jle 0x1400df364
lea rcx, [0x1401b21c0]
call fcn.1400f1a08
cmp dword [0x1401b21c0], 0xffffffff
jne 0x1400df364
lea rcx, [0x1401b20be]
call fcn.14008b530
nop
lea rcx, [0x14010df84]
call fcn.1400f1818
nop
lea rcx, [0x1401b21c0]
call fcn.1400f19a8
mov r8b, 1
mov rdx, r15
lea rbx, [0x1401ae090]
mov rcx, rbx
call fcn.1400df9bc
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.1400e0aac
test al, al
jne 0x1400df3b4
mov rcx, rbx
call fcn.1400de6b8
jmp 0x1400df1eb
test r14b, r14b
je 0x1400df3d8
cmp qword [0x1401ae090], r12
je 0x1400df3d8
mov r8, rbx
mov edx, 0x10000
lea rcx, [0x1400de9a4]
call fcn.1400f8df8
jmp 0x1400df3e0
mov rcx, rbx
call fcn.1400de6b8
mov al, 1
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400f12e0
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