Function at 0x18000a420
Capabilities:
Delete file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x180131010]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rbx, rdx
mov qword [rbp - 0x70], rdx
xor esi, esi
cmp qword [rdx + 0x10], rsi
jne 0x18000a462
mov rdx, qword [rdx + 0x18]
jmp 0x18000a790
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000a485
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18000d700
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov r8d, 9
lea rdx, str.configs_
lea rcx, [rbp - 0x28]
call fcn.18000d700
nop
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
mov rcx, qword [rbp - 0x58]
sub rax, rcx
mov rdx, qword [rbp - 0x18]
cmp rax, rdx
jb 0x18000a804
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r9, qword [rbp - 0x68]
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.18000e330
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov r8d, 5
lea rdx, str..scfg
lea rcx, [rbp - 0x48]
call fcn.18000d700
nop
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbp + 8]
sub rdi, rdx
cmp rdi, rcx
jb 0x18000a7fe
lea r9, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r9, qword [rbp - 8]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000a576
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rbp - 8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18000e330
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.18000c2d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000a63d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007017c
movdqa xmm0, xmmword [0x180121900]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000a690
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a68a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a68a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007017c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x18000a6cf
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a6c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a6c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007017c
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18000a70e
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007017c
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18000a74d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a747
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a747
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007017c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18000a78c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a786
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007017c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000a7c2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000a7bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000a7f7
mov rcx, r8
call fcn.18007017c
xor al, al
mov byte [rbx], al
mov qword [rbx + 0x18], send
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.18006fda0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180001960
nop
call fcn.180001960
int3