Function at 0x1400057c6
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x8b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x880], rcx
lea rax, [rbp + 0x41e]
mov qword [rbp + 0x828], rax
nop
nop
lea rcx, [rbp + 0x41f]
mov r8d, edx
lea rax, str.uuid.tmp
mov rdx, rax
call fcn.140032b00
lea rax, [rbp + 0x41f]
mov rcx, rax
call fcn.140032a60
mov rdx, rax
lea rax, [rbp + 0x41e]
lea rcx, [rbp + 0x3f0]
mov r8, rax
call fcn.1400c0030
lea rcx, [rbp + 0x42a]
mov r8d, ebx
lea rax, str.TEMP
mov rdx, rax
call fcn.1400305c0
lea rax, [rbp + 0x42a]
mov rcx, rax
call fcn.140030520
mov rcx, rax
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
mov rdx, rax
lea rcx, [rbp + 0x3d0]
lea rax, [rbp + 0x3f0]
mov r8, rax
call fcn.1400de5a0
lea rax, [rbp + 0x3f0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x41e]
mov rcx, rax
call fcn.1400afb10
nop
mov edx, 0x10
mov ecx, 8
call fcn.1400de3f0
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x1e0]
mov r8d, eax
call fcn.1400a29d0
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.1400bfd70
mov rax, qword [rbp + 0x880]
mov rcx, rax
call fcn.1400bfd70
lea rax, [rbp + 0x1e0]
add rax, 0xe8
mov rcx, rax
call fcn.14007fea0
xor eax, 1
test al, al
je 0x140005b4b
lea rsi, [rbp + 0x490]
mov edi, 2
mov rbx, rsi
lea rax, [rbp + 0x55a]
movzx r8d, byte [rbp - 0x48]
lea rdx, str.name
mov rcx, rax
call fcn.140030710
lea rax, [rbp + 0x55a]
mov rcx, rax
call fcn.140030670
mov qword [rbp + 0x550], rax
lea rax, [rbp + 0x560]
mov rcx, rax
call fcn.140003795
lea rdx, [rbp + 0x560]
lea rax, [rbp + 0x550]
mov r8, rdx
mov rdx, rax
mov rcx, rbx
call fcn.1400b7020
lea rbx, [rsi + 0x40]
sub rdi, 1
lea rax, [rbp + 0x593]
movzx r8d, byte [rbp - 0x47]
lea rdx, [0x1400e9424]
mov rcx, rax
call fcn.14002ef70
lea rax, [rbp + 0x593]
mov rcx, rax
call fcn.14002eed0
mov qword [rbp + 0x588], rax
mov edx, 0
mov ecx, 0
call sub.api_ms_win_crt_stdio_l1_1_0.dll__getcwd
mov qword [rbp + 0x598], rax
lea rdx, [rbp + 0x598]
lea rax, [rbp + 0x588]
mov r8, rdx
mov rdx, rax
mov rcx, rbx
call fcn.1400b70c0
add rbx, 0x40
sub rdi, 1
lea rax, [rbp + 0x5aa]
movzx r8d, byte [rbp - 0x46]
lea rdx, str.prog
mov rcx, rax
call fcn.140030860
lea rax, [rbp + 0x5aa]
mov rcx, rax
call fcn.1400307c0
mov qword [rbp + 0x5a0], rax
lea rax, [rbp + 0x5b0]
mov rcx, rax
call fcn.140003eb9
lea rdx, [rbp + 0x5b0]
lea rax, [rbp + 0x5a0]
mov r8, rdx
mov rdx, rax
mov rcx, rbx
call fcn.1400b7020
mov edi, 2
lea rax, [rbp + 0x490]
mov r14, rax
mov r15d, 3
lea rax, [rbp + 0x5df]
mov qword [rbp + 0x820], rax
nop
nop
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
lea r8, [rbp + 0x5dd]
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x450]
lea rcx, [rbp + 0x5df]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x5de]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call fcn.1400aa5b0
lea rax, [rbp + 0x430]
lea rdx, [rbp + 0x450]
mov rcx, rax
call fcn.140004792
lea rdx, [rbp + 0x430]
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.1400c08c0
lea rax, [rbp + 0x430]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x450]
mov rcx, rax
call fcn.1400aa620
lea rax, [rbp + 0x5df]
mov rcx, rax
call fcn.1400afa70
nop
lea rbx, [rbp + 0x490]
add rbx, 0xc0
lea rax, [rbp + 0x490]
cmp rbx, rax
je 0x140005b28
sub rbx, 0x40
mov rcx, rbx
call fcn.1400b73c0
jmp 0x140005b0e
lea rax, [rbp + 0x5b0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x560]
mov rcx, rax
call fcn.1400c0880
jmp 0x140005df8
mov rdx, qword [rbp + 0x880]
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.1400df200
lea rdi, [rbp + 0x640]
mov ebx, 3
mov rsi, rdi
lea rax, [rbp + 0x74a]
movzx r8d, byte [rbp - 0x45]
lea rdx, str.name
mov rcx, rax
call fcn.1400309b0
lea rax, [rbp + 0x74a]
mov rcx, rax
call fcn.140030910
mov qword [rbp + 0x740], rax
lea rax, [rbp + 0x750]
mov rcx, rax
call fcn.140003795
lea rdx, [rbp + 0x750]
lea rax, [rbp + 0x740]
mov r8, rdx
mov rdx, rax
mov rcx, rsi
call fcn.1400b7020
lea rsi, [rdi + 0x40]
sub rbx, 1
lea rax, [rbp + 0x783]
movzx r8d, byte [rbp - 0x44]
lea rdx, [0x1400e9424]
mov rcx, rax
call fcn.14002f0a0
lea rax, [rbp + 0x783]
mov rcx, rax
call fcn.14002f000
mov qword [rbp + 0x778], rax
mov edx, 0
mov ecx, 0
call sub.api_ms_win_crt_stdio_l1_1_0.dll__getcwd
mov qword [rbp + 0x788], rax
lea rdx, [rbp + 0x788]
lea rax, [rbp + 0x778]
mov r8, rdx
mov rdx, rax
mov rcx, rsi
call fcn.1400b70c0
add rsi, 0x40
sub rbx, 1
lea rax, [rbp + 0x79a]
movzx r8d, byte [rbp - 0x43]
lea rdx, str.uuid
mov rcx, rax
call fcn.140030b00
lea rax, [rbp + 0x79a]
mov rcx, rax
call fcn.140030a60
mov qword [rbp + 0x790], rax
mov rdx, qword [rbp + 0x880]
lea rax, [rbp + 0x790]
mov r8, rdx
mov rdx, rax
mov rcx, rsi
call fcn.1400b6f60
add rsi, 0x40
sub rbx, 1
lea rax, [rbp + 0x7aa]
movzx r8d, byte [rbp - 0x42]
lea rdx, str.prog
mov rcx, rax
call fcn.140030c50
lea rax, [rbp + 0x7aa]
mov rcx, rax
call fcn.140030bb0
mov qword [rbp + 0x7a0], rax
lea rax, [rbp + 0x7b0]
mov rcx, rax
call fcn.140003eb9
lea rdx, [rbp + 0x7b0]
lea rax, [rbp + 0x7a0]
mov r8, rdx
mov rdx, rax
mov rcx, rsi
call fcn.1400b7020
mov ebx, 3
lea rax, [rbp + 0x640]
mov r12, rax
mov r13d, 4
lea rax, [rbp + 0x7df]
mov qword [rbp + 0x818], rax
nop
nop
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r13
lea r8, [rbp + 0x7dd]
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x600]
lea rcx, [rbp + 0x7df]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x7de]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call fcn.1400aa5b0
lea rax, [rbp + 0x5e0]
lea rdx, [rbp + 0x600]
mov rcx, rax
call fcn.140004792
lea rdx, [rbp + 0x5e0]
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.1400c08c0
lea rax, [rbp + 0x5e0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x600]
mov rcx, rax
call fcn.1400aa620
lea rax, [rbp + 0x7df]
mov rcx, rax
call fcn.1400afa70
nop
lea rbx, [rbp + 0x640]
add rbx, 0x100
lea rax, [rbp + 0x640]
cmp rbx, rax
je 0x140005dda
sub rbx, 0x40
mov rcx, rbx
call fcn.1400b73c0
jmp 0x140005dc0
lea rax, [rbp + 0x7b0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x750]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.1400a2560
lea rax, [rbp + 0x804]
mov qword [rbp + 0x810], rax
nop
nop
lea rax, [rbp + 0x805]
movzx r8d, byte [rbp - 0x41]
lea rdx, str._register
mov rcx, rax
call fcn.140032d00
lea rax, [rbp + 0x805]
mov rcx, rax
call fcn.140032c60
mov rdx, rax
lea rcx, [rbp + 0x804]
lea rax, [rbp + 0x7e0]
mov r8, rcx
mov rcx, rax
call fcn.1400c0030
mov rcx, qword [rbp + 0x880]
lea rdx, [rbp + 0x1c0]
lea rax, [rbp + 0x7e0]
mov r9, rcx
mov r8, rdx
mov rdx, rax
lea rax, [0x1401230e0]
mov rcx, rax
call fcn.14000211c
cmp eax, 0xe8
sete bl
lea rax, [rbp + 0x7e0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x804]
mov rcx, rax
call fcn.1400afb10
nop
test bl, bl
je 0x140005efd
lea rdx, [rbp + 0x3d0]
lea rax, [rbp - 0x30]
mov r8d, 0x10
mov rcx, rax
call fcn.1400a29d0
mov rax, qword [rbp + 0x880]
lea rdx, [rbp - 0x30]
lea rcx, [rdx + 0x10]
mov rdx, rax
call fcn.1400de030
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400a2560
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400a3340
nop
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.1400c0880
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.1400a3340
lea rax, [rbp + 0x3d0]
mov rcx, rax
call fcn.1400c0880
jmp 0x14000614f
mov rax, qword [rbp + 0x880]
add rsp, 0x8b8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret