Function at 0x14007f000
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x160
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [rdx]
mov rbx, r9
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x38], rcx
mov r12d, 1
test rax, rax
je 0x14007f057
cmp byte [rax], 0
mov qword [rsp + 0x20], r12
jne 0x14007f060
mov qword [rsp + 0x20], 0
xor dil, dil
xor esi, esi
xor r14b, r14b
xor r15b, r15b
xor ebp, ebp
test rbx, rbx
jne 0x14007f100
lea rcx, [0x1402d46e0]
call fcn.140228ee8
mov byte [rsp + 0x40], sil
test rax, rax
je 0x14007f612
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x40], sil
je 0x14007f612
lea rcx, [rsp + 0x40]
call qword [case.0x1400656b3.0]
mov rdi, rax
test rax, rax
je 0x14007f612
lea r9, str._netrc
mov rdx, rax
lea r8, [0x1402d2f08]
lea rcx, [0x1402d0368]
call fcn.14006acb0
mov rcx, rdi
mov rbx, rax
call qword [fcn.1402196e8]
test rbx, rbx
jne 0x14007f0fc
or eax, 0xffffffff
jmp 0x14007f615
movzx edi, r12b
lea rdx, [0x1402d05a8]
mov rcx, rbx
call fcn.140219988
mov qword [rsp + 0x28], rax
test dil, dil
je 0x14007f127
mov rcx, rbx
call qword [fcn.1402196e8]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14007f612
mov rdi, qword [rsp + 0x38]
nop word [rax + rax]
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.1402282e0
test rax, rax
je 0x14007f608
cmp byte [rsp + 0x40], 0
lea rbx, [rsp + 0x40]
je 0x14007f25b
nop dword [rax + rax]
movsx edx, byte [rbx]
lea rcx, [0x1402d46f0]
call fcn.14021125c
test rax, rax
je 0x14007f25b
inc rbx
cmp byte [rbx], 0
jne 0x14007f170
xor r10d, r10d
mov ebx, r10d
test rbx, rbx
je 0x14007f5fa
mov rax, qword [rsp + 0x30]
mov r8, qword [rax]
test r8, r8
je 0x14007f1c4
cmp byte [r8], 0
je 0x14007f1c4
mov rax, qword [r13]
test rax, rax
je 0x14007f1c4
cmp byte [rax], 0
jne 0x14007f608
mov ecx, esi
test esi, esi
je 0x14007f4ae
sub ecx, 1
je 0x14007f440
sub ecx, 1
jne 0x14007f56c
test r14b, r14b
je 0x14007f2d6
cmp qword [rsp + 0x20], 0
je 0x14007f2ab
movzx eax, byte [r8]
test al, al
je 0x14007f22f
nop dword [rax]
movzx edx, byte [rbx]
test dl, dl
je 0x14007f22f
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x14007f211
sub al, 0x20
lea ecx, [rdx - 0x61]
cmp cl, 0x19
ja 0x14007f21c
sub dl, 0x20
cmp al, dl
jne 0x14007f22f
movzx eax, byte [r8 + 1]
inc r8
inc rbx
test al, al
jne 0x14007f200
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f23d
sub dl, 0x20
movzx ecx, byte [rbx]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f24a
sub cl, 0x20
cmp dl, cl
mov ebp, r10d
sete bpl
xor r14b, r14b
jmp 0x14007f56c
cmp byte [rbx], 0
je 0x14007f190
movzx eax, byte [rbx + 1]
lea rdi, [rbx + 1]
test al, al
je 0x14007f5f2
nop dword [rax]
nop dword [rax + rax]
movsx edx, al
lea rcx, [0x1402d46f0]
call fcn.14021125c
test rax, rax
jne 0x14007f5e7
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x14007f280
xor r10d, r10d
jmp 0x14007f196
mov rcx, r8
call qword [fcn.1402196e8]
mov rcx, rbx
call qword [case.0x1400656b3.0]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
test rax, rax
je 0x14007f604
xor r14b, r14b
jmp 0x14007f56c
test r15b, r15b
je 0x14007f30f
test ebp, ebp
jne 0x14007f2e7
cmp qword [rsp + 0x20], 0
jne 0x14007f307
mov rcx, qword [r13]
call qword [fcn.1402196e8]
mov rcx, rbx
call qword [case.0x1400656b3.0]
mov qword [r13], rax
test rax, rax
je 0x14007f604
xor r15b, r15b
jmp 0x14007f56c
mov r9, rbx
lea r8, str.login
nop dword [rax]
movzx ecx, byte [r9]
test cl, cl
je 0x14007f350
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f336
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f340
sub cl, 0x20
cmp dl, cl
jne 0x14007f350
inc r8
inc r9
cmp byte [r8], 0
jne 0x14007f320
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f35e
sub dl, 0x20
movzx ecx, byte [r9]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f36c
sub cl, 0x20
cmp dl, cl
jne 0x14007f378
mov r14b, 1
jmp 0x14007f56c
mov r9, rbx
lea r8, str.password
movzx ecx, byte [r9]
test cl, cl
je 0x14007f3b2
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f398
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f3a2
sub cl, 0x20
cmp dl, cl
jne 0x14007f3b2
inc r8
inc r9
cmp byte [r8], 0
jne 0x14007f382
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f3c0
sub dl, 0x20
movzx ecx, byte [r9]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f3ce
sub cl, 0x20
cmp dl, cl
jne 0x14007f3da
mov r15b, 1
jmp 0x14007f56c
lea r8, str.machine
movzx ecx, byte [rbx]
test cl, cl
je 0x14007f410
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f3f6
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f400
sub cl, 0x20
cmp dl, cl
jne 0x14007f410
inc r8
inc rbx
cmp byte [r8], 0
jne 0x14007f3e1
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f41e
sub dl, 0x20
movzx ecx, byte [rbx]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f42b
sub cl, 0x20
cmp dl, cl
jne 0x14007f56c
mov esi, 1
mov ebp, r10d
jmp 0x14007f56c
mov rax, qword [rsp + 0x38]
mov r8, rax
cmp byte [rax], 0
je 0x14007f47f
nop dword [rax]
movzx ecx, byte [rbx]
test cl, cl
je 0x14007f47f
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f465
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f46f
sub cl, 0x20
cmp dl, cl
jne 0x14007f47f
inc r8
inc rbx
cmp byte [r8], 0
jne 0x14007f450
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f48d
sub dl, 0x20
movzx ecx, byte [rbx]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f49a
sub cl, 0x20
cmp dl, cl
mov esi, 2
cmove r12d, r10d
cmovne esi, r10d
jmp 0x14007f56c
mov r9, rbx
lea r8, str.machine
movzx ecx, byte [r9]
test cl, cl
je 0x14007f4e8
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f4ce
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f4d8
sub cl, 0x20
cmp dl, cl
jne 0x14007f4e8
inc r8
inc r9
cmp byte [r8], 0
jne 0x14007f4b8
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f4f6
sub dl, 0x20
movzx ecx, byte [r9]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f504
sub cl, 0x20
cmp dl, cl
jne 0x14007f50f
mov esi, 1
jmp 0x14007f56c
lea r8, [0x1402d4700]
movzx ecx, byte [rbx]
test cl, cl
je 0x14007f545
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f52b
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f535
sub cl, 0x20
cmp dl, cl
jne 0x14007f545
inc r8
inc rbx
cmp byte [r8], 0
jne 0x14007f516
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x14007f553
sub dl, 0x20
movzx ecx, byte [rbx]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14007f560
sub cl, 0x20
cmp dl, cl
jne 0x14007f56c
mov esi, 2
mov r12d, r10d
cmp byte [rdi], 0
mov rbx, rdi
je 0x14007f5a1
nop dword [rax]
nop dword [rax + rax]
movsx edx, byte [rbx]
lea rcx, [0x1402d46f0]
call fcn.14021125c
test rax, rax
je 0x14007f5a1
inc rbx
cmp byte [rbx], 0
jne 0x14007f580
jmp 0x14007f190
cmp byte [rbx], 0
je 0x14007f190
movzx eax, byte [rbx + 1]
lea rdi, [rbx + 1]
test al, al
je 0x14007f5f2
nop word [rax + rax]
movsx edx, al
lea rcx, [0x1402d46f0]
call fcn.14021125c
test rax, rax
jne 0x14007f5e7
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x14007f5c0
xor r10d, r10d
jmp 0x14007f196
cmp byte [rdi], 0
je 0x14007f5f2
mov byte [rdi], 0
inc rdi
xor r10d, r10d
jmp 0x14007f196
mov rax, qword [rsp + 0x28]
jmp 0x14007f140
or r12d, 0xffffffff
mov rcx, qword [rsp + 0x28]
call fcn.140219a18
mov eax, r12d
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401ef4e0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret