Function at 0x14000c0a0
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x14004c028]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, rdx
mov qword [rbp - 0x11], rdx
mov rbx, rcx
xor edi, edi
add rcx, 0x70
mov qword [rbp - 0x19], rcx
mov rdx, rcx
mov rcx, rax
call fcn.140006400
test al, al
jne 0x14000c55e
movaps xmm0, xmmword [0x140042f50]
movups xmmword [rbx + 0x60], xmm0
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x14000c120
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140002100
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov rdx, qword [rbp + 7]
sub rax, rdx
cmp rax, 9
jb 0x14000c5cc
lea r12, [rbp - 9]
mov r13, qword [rbp + 0xf]
cmp r13, 0x10
setae byte [rbp - 0x79]
mov r14, qword [rbp - 9]
cmovae r12, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
lea r15, [rdx + 9]
mov edi, 0xf
mov ebx, edi
lea rsi, [rbp - 0x59]
lea eax, [rdi + 7]
cmp r15, rbx
jbe 0x14000c20d
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x14000c1a2
mov rbx, rcx
jmp 0x14000c1a9
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14000c1f4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c5d2
mov rcx, rax
call fcn.140039c00
test rax, rax
je 0x14000c311
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rdx, qword [rbp + 7]
jmp 0x14000c209
test rcx, rcx
je 0x14000c204
call fcn.140039c00
mov rdx, qword [rbp + 7]
jmp 0x14000c206
xor eax, eax
mov rsi, rax
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], rbx
mov r8, rdx
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.load.dll]
mov r12, qword [rbp + 7]
movsd qword [r12 + rsi], xmm0
movzx eax, byte [0x140042248]
mov byte [r12 + rsi + 8], al
mov byte [rsi + r15], 0
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rax, qword [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
call fcn.1400392c0
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.1400043e0
nop
lea rcx, [rbp - 0x39]
call fcn.140005d80
movzx ebx, al
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x14000c2cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c2c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c2c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], ax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14000c31f
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c318
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c318
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
xor eax, eax
test bl, bl
je 0x14000c522
lea rsi, [rbp - 9]
cmp byte [rbp - 0x79], 0
cmovne rsi, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
lea rbx, [rbp - 0x59]
cmp r15, 0xf
jbe 0x14000c3d0
mov rdi, r15
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14000c36b
mov rdi, rcx
jmp 0x14000c378
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
mov rcx, rdi
add rcx, 1
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x14000c3bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c5d8
mov rcx, rax
call fcn.140039c00
test rax, rax
je 0x14000c4e3
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000c3cc
test rcx, rcx
je 0x14000c3c9
call fcn.140039c00
mov rbx, rax
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], rdi
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.load.dll]
movsd qword [r12 + rbx], xmm0
movzx eax, byte [0x140042248]
mov byte [r12 + rbx + 8], al
mov byte [rbx + r15], 0
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rax, qword [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
call fcn.1400392c0
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.1400043e0
nop
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
call fcn.140039954
shr rax, 0x20
test eax, eax
jne 0x14000c5b9
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x14000c49f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c49a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c49a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], ax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14000c4ef
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039c44
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x11]
call fcn.140006400
test al, al
jne 0x14000c522
xor r9d, r9d
lea r8, str.diablo
lea rdx, str.Please_re_open_the_loader
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
cmp r13, 0x10
jb 0x14000c592
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000c554
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c554
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140039c44
jmp 0x14000c592
mov ecx, 0x50
call fcn.140039c00
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov rcx, rax
call fcn.140009da0
nop
mov qword [0x1400a72e8], rax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140039be0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, str.remove
call fcn.140005440
nop
call fcn.140001840
int3
call fcn.1400017a0
int3
call fcn.1400017a0
int3