Function at 0x14000cfe0
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x448]
sub rsp, 0x540
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003ae50]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov qword [rcx + 0x18], 7
xor esi, esi
mov qword [rcx + 0x10], rsi
mov word [rcx], si
lea ecx, [rsi + 0x30]
call fcn.140018b7c
mov qword [rbp - 8], rax
test rax, rax
je 0x14000d04f
mov rcx, rax
call fcn.14000ff30
mov rdi, rax
jmp 0x14000d052
mov rdi, rsi
mov r8d, 0xb
lea rdx, [0x140038258]
mov rcx, rdi
call fcn.14000ffb0
mov r8d, 0x10
lea rdx, [0x1400380f0]
mov rcx, rdi
call fcn.14000ffa0
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140010560
nop
mov r8d, 0x10
lea rdx, [0x140038100]
mov rcx, rdi
call fcn.14000ffa0
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140010560
nop
test rdi, rdi
je 0x14000d0c1
mov rcx, rdi
call fcn.14000ff70
mov rcx, rdi
call fcn.1400187b4
mov word [rbp + 0x10], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x12]
call fcn.140018cd0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x10]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.1400039a0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r9, [rcx - 1]
xor r8d, r8d
mov rcx, rbx
call fcn.14000b9e0
cmp rax, 0xffffffffffffffff
jne 0x14000d298
mov word [rbp + 0x220], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x222]
call fcn.140018cd0
mov dword [rbp - 8], 0x6e72654b
mov dword [rbp - 4], 0x32336c65
mov dword [rbp], 0x6c6c642e
mov byte [rbp + 4], 0
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x14000d19f
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14000d1e8
mov dword [rsp + 0x30], 0x53746547
mov dword [rsp + 0x34], 0x65747379
mov dword [rsp + 0x38], 0x7269446d
mov dword [rsp + 0x3c], 0x6f746365
mov dword [rsp + 0x40], 0x577972
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d1e8
mov edx, 0x104
lea rcx, [rbp + 0x220]
call rax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
mov r8d, 1
lea rdx, [0x14002c120]
lea rcx, [rsp + 0x30]
call fcn.1400039a0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x30]
call fcn.14000cf70
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140008f20
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d20
nop
cmp qword [rbp - 0x40], 8
jb 0x14000d256
mov rcx, qword [rbp - 0x58]
call fcn.1400187b4
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
cmp qword [rbp - 0x18], 8
jb 0x14000d276
mov rcx, qword [rbp - 0x30]
call fcn.1400187b4
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
cmp qword [rsp + 0x48], 8
jb 0x14000d298
mov rcx, qword [rsp + 0x30]
call fcn.1400187b4
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
mov dword [rbx + 0x50], esi
mov qword [rbx + 0x58], rsi
mov dword [rbx + 0x68], esi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
cmp qword [rsp + 0x70], 8
jb 0x14000d2d0
mov rcx, qword [rsp + 0x58]
call fcn.1400187b4
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
cmp qword [rbp - 0x68], 8
jb 0x14000d2f6
mov rcx, qword [rbp - 0x80]
call fcn.1400187b4
nop
jmp 0x14000d2f6
mov rax, rbx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400194d0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret