Function at 0x14000f090
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 0x14000f54f
movaps xmm0, xmmword [0x140048250]
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 0x14000f110
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 0x14000f5c9
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 0x14000f1fe
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x14000f1c2
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.14003eef0
test rax, rax
je 0x14000f302
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rdx, qword [rbp + 7]
jmp 0x14000f1fa
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000f1e5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000f5bd
jmp 0x14000f19f
test rcx, rcx
je 0x14000f1f5
call fcn.14003eef0
mov rdx, qword [rbp + 7]
jmp 0x14000f1f7
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 [0x140047678]
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.14003e5c0
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 0x14000f2be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f2b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f2b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003ef34
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 0x14000f310
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f309
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003ef34
xor eax, eax
test bl, bl
je 0x14000f513
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 0x14000f3c1
mov rdi, r15
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14000f387
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003eef0
test rax, rax
je 0x14000f4d4
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000f3bd
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000f3b0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000f5c3
jmp 0x14000f368
test rcx, rcx
je 0x14000f3ba
call fcn.14003eef0
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 [0x140047678]
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.14003e5c0
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.14003ec54
shr rax, 0x20
test eax, eax
jne 0x14000f5aa
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14000f490
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f48b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f48b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003ef34
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 0x14000f4e0
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f4db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f4db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003ef34
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x11]
call fcn.140006000
test al, al
jne 0x14000f513
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 0x14000f583
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000f545
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f545
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14003ef34
jmp 0x14000f583
mov ecx, 0x50
call fcn.14003eef0
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.14000cc90
nop
mov qword [0x1400c0d30], rax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14003eed0
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