Function at 0x140082640
Capabilities:
Delete file
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x1401ed028]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1401cc89e]
lea rcx, [rsp + 0x220]
call fcn.1400259b0
nop
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x20]
call fcn.1400825d0
mov rcx, rax
call fcn.140082bf0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.1400259b0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140027020
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140032200
nop
lea rcx, [rsp + 0x140]
call fcn.140025900
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x21]
call fcn.1400825f0
mov rcx, rax
call fcn.140082bf0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400259b0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140027020
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140032200
nop
lea rcx, [rsp + 0x160]
call fcn.140025900
lea rcx, [rsp + 0x220]
call fcn.140027020
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xf0]
call fcn.1400848b0
nop
lea rcx, [rsp + 0xf0]
call fcn.14004f110
movzx eax, al
test eax, eax
jne 0x1400827a7
mov dword [rsp + 0x28], 1
jmp 0x1400827af
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0xf0]
call fcn.14004e820
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140082811
lea rcx, [rsp + 0x220]
call fcn.140027020
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x110]
call fcn.1400848b0
nop
lea rcx, [rsp + 0x110]
call fcn.14004f5b0
nop
lea rcx, [rsp + 0x110]
call fcn.14004e820
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x23]
call fcn.140082ae0
mov rcx, rax
call fcn.140082c30
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.1400259b0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140027020
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140032200
nop
lea rcx, [rsp + 0x180]
call fcn.140025900
cmp dword [0x140223028], 0
jne 0x14008290a
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x24]
call fcn.140082b10
mov rcx, rax
call fcn.140082b70
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.1400259b0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140027020
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140032200
nop
lea rcx, [rsp + 0x1a0]
call fcn.140025900
cmp dword [0x140223028], 1
jne 0x1400829a0
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x25]
call fcn.140082b40
mov rcx, rax
call fcn.140082b70
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.1400259b0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140027020
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140032200
nop
lea rcx, [rsp + 0x1c0]
call fcn.140025900
mov rax, qword [rsp + 0x260]
mov byte [rax], 1
mov dl, 1
mov rcx, qword [rsp + 0x260]
call fcn.1400810a0
lea rcx, [0x1402253d0]
call fcn.1400273c0
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x220]
call fcn.140027020
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400259b0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.1400315c0
cmp dword [0x140223028], 0
jne 0x140082aad
mov dword [0x140223028], 1
lea rcx, [0x1402253d0]
call fcn.1400273c0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x220]
call fcn.140027020
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400259b0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140031a90
lea rcx, [rsp + 0x220]
call fcn.140027020
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rcx, [rsp + 0x220]
call fcn.140025900
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400d63a0
add rsp, 0x250
pop rdi
ret