Function at 0x14000ebd0
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 [0x140052040]
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.140006000
test al, al
jne 0x14000f08f
movaps xmm0, xmmword [0x140048240]
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 0x14000ec50
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140001e80
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov rdx, qword [rbp + 7]
sub rax, rdx
cmp rax, 9
jb 0x14000f109
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 0x14000ed3e
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x14000ed02
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.14003e960
test rax, rax
je 0x14000ee42
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rdx, qword [rbp + 7]
jmp 0x14000ed3a
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000ed25
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000f0fd
jmp 0x14000ecdf
test rcx, rcx
je 0x14000ed35
call fcn.14003e960
mov rdx, qword [rbp + 7]
jmp 0x14000ed37
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 [0x140047658]
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.14003e030
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.1400041e0
nop
lea rcx, [rbp - 0x39]
call fcn.140005b80
movzx ebx, al
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14000edfe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000edf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000edf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
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 0x14000ee50
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
xor eax, eax
test bl, bl
je 0x14000f053
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 0x14000ef01
mov rdi, r15
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14000eec7
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003e960
test rax, rax
je 0x14000f014
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000eefd
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000eef0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000f103
jmp 0x14000eea8
test rcx, rcx
je 0x14000eefa
call fcn.14003e960
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 [0x140047658]
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.14003e030
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea r8, [rbp - 0x69]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.1400041e0
nop
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
call fcn.14003e6c4
shr rax, 0x20
test eax, eax
jne 0x14000f0ea
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14000efd0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000efcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000efcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
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 0x14000f020
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f01b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f01b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003e9a4
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x11]
call fcn.140006000
test al, al
jne 0x14000f053
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 0x14000f0c3
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000f085
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f085
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14003e9a4
jmp 0x14000f0c3
mov ecx, 0x50
call fcn.14003e960
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.14000ccb0
nop
mov qword [0x1400b2b00], rax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14003e940
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.140005240
nop
call fcn.1400014e0
int3
call fcn.1400014e0
int3
call fcn.140001580
int3