Function at 0x14000e9a0
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 [0x140050040]
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.1400064e0
test al, al
jne 0x14000ee5f
movaps xmm0, xmmword [0x140046190]
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 0x14000ea20
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140002150
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov rdx, qword [rbp + 7]
sub rax, rdx
cmp rax, 9
jb 0x14000eed9
lea r12, [rbp - 9]
mov r13, qword [rbp + 0xf]
cmp r13, 0xf
seta byte [rbp - 0x79]
mov r14, qword [rbp - 9]
cmova 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]
movabs rax, 0x8000000000000000
lea r8d, [rdi + 7]
cmp r15, rbx
jbe 0x14000eb0e
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x14000ead2
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.14003d500
test rax, rax
je 0x14000ec12
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rdx, qword [rbp + 7]
jmp 0x14000eb0a
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000eaf5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000eecd
jmp 0x14000eaaf
test rcx, rcx
je 0x14000eb05
call fcn.14003d500
mov rdx, qword [rbp + 7]
jmp 0x14000eb07
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 [0x1400455c8]
mov byte [r12 + rsi + 8], al
mov byte [rsi + r15], 0
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rax, qword [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
call fcn.14003cbd0
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.1400044b0
nop
lea rcx, [rbp - 0x39]
call fcn.140005e60
movzx ebx, al
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14000ebce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ebc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ebc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
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, 0xf
jbe 0x14000ec20
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ec19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
xor eax, eax
test bl, bl
je 0x14000ee23
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 0x14000ecd1
mov rdi, r15
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14000ec97
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003d500
test rax, rax
je 0x14000ede4
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000eccd
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000ecc0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000eed3
jmp 0x14000ec78
test rcx, rcx
je 0x14000ecca
call fcn.14003d500
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 [0x1400455c8]
mov byte [r12 + rbx + 8], al
mov byte [rbx + r15], 0
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rax, qword [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
call fcn.14003cbd0
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.1400044b0
nop
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
call fcn.14003d264
shr rax, 0x20
test eax, eax
jne 0x14000eeba
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14000eda0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
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, 0xf
jbe 0x14000edf0
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000edeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000edeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d544
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x11]
call fcn.1400064e0
test al, al
jne 0x14000ee23
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, 0xf
jbe 0x14000ee93
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000ee55
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14003d544
jmp 0x14000ee93
mov ecx, 0x50
call fcn.14003d500
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.14000cc40
nop
mov qword [0x1400b0d50], rax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14003d4e0
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.140005520
nop
call fcn.1400017b0
int3
call fcn.1400017b0
int3
call fcn.140001850
int3