Function at 0x140135f30
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x40], rcx
mov ecx, 1
mov rax, r9
mov edi, ecx
mov dword [rsp + 0x28], ecx
xor ecx, ecx
cmp byte [rdx], cl
mov ebx, ecx
mov qword [rsp + 0x50], rax
setne bl
xor bpl, bpl
xor r14b, r14b
mov qword [rsp + 0x38], r8
mov r12, rdx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], ecx
mov esi, ecx
mov r15d, ecx
test r9, r9
jne 0x14013602e
lea rcx, str.HOME
call fcn.140170c18
mov byte [rsp + 0x60], sil
test rax, rax
je 0x140135fe1
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rsp + 0x60], sil
je 0x140135fe1
lea rcx, [rsp + 0x60]
call qword [fcn.140191714]
mov r13, rax
jmp 0x140135fe4
xor r13d, r13d
mov qword [rsp + 0x30], r13
test r13, r13
je 0x140136022
lea r9, str._netrc
lea r8, [0x1401e80f8]
lea rcx, [0x1401e4d48]
mov rdx, r13
mov dword [rsp + 0x20], edi
call fcn.1401321e0
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14013602a
mov rcx, r13
call qword [fcn.1401673d0]
or eax, 0xffffffff
jmp 0x1401362f6
mov dword [rsp + 0x24], edi
lea rdx, [0x1401e6450]
mov rcx, rax
call fcn.14016e020
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401362d0
mov rdi, qword [rsp + 0x40]
movsxd r13, ebx
nop word [rax + rax]
lea rcx, [rsp + 0x170]
mov r8, rax
mov edx, 0x100
call fcn.14017064c
test rax, rax
je 0x1401362c2
cmp byte [rsp + 0x170], 0
lea rbx, [rsp + 0x170]
je 0x140136121
nop word [rax + rax]
movsx edx, byte [rbx]
lea rcx, [0x1401e80fc]
call fcn.14016eefc
test rax, rax
je 0x140136121
inc rbx
cmp byte [rbx], 0
jne 0x1401360a0
xor ebx, ebx
nop
test rbx, rbx
je 0x1401362b8
cmp byte [r12], 0
mov r9, qword [rsp + 0x38]
je 0x1401360df
cmp byte [r9], 0
jne 0x1401362c2
mov ecx, esi
test esi, esi
je 0x140136216
dec ecx
je 0x1401361f2
dec ecx
je 0x14013622f
dec ecx
jne 0x14013622f
test bpl, bpl
je 0x14013617b
mov rdx, rbx
mov rcx, r12
test r13, r13
je 0x140136168
call fcn.14013c9f0
xor bpl, bpl
mov r15d, eax
jmp 0x14013622f
cmp byte [rbx], 0
je 0x1401360bc
movzx eax, byte [rbx + 1]
lea rdi, [rbx + 1]
test al, al
je 0x1401360c0
nop word [rax + rax]
lea rcx, [0x1401e80fc]
movsx edx, al
call fcn.14016eefc
test rax, rax
jne 0x1401362a4
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140136140
jmp 0x1401360c0
mov r8d, 0x3f
call fcn.14016fc40
xor bpl, bpl
jmp 0x14013622f
test r14b, r14b
je 0x1401361a3
test r15d, r15d
jne 0x14013618a
test r13, r13
jne 0x14013619b
mov r8d, 0x3f
mov rdx, rbx
mov rcx, r9
call fcn.14016fc40
xor r14b, r14b
jmp 0x14013622f
lea rcx, str.login
mov rdx, rbx
call fcn.14013c9f0
test eax, eax
je 0x1401361bb
mov bpl, 1
jmp 0x14013622f
lea rcx, str.password
mov rdx, rbx
call fcn.14013c9f0
test eax, eax
je 0x1401361d3
mov r14b, 1
jmp 0x14013622f
lea rcx, str.machine
mov rdx, rbx
call fcn.14013c9f0
test eax, eax
je 0x14013622f
mov eax, 1
xor r15d, r15d
mov esi, eax
jmp 0x14013622f
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.14013c9f0
test eax, eax
je 0x140136212
mov esi, 3
mov dword [rsp + 0x28], 0
jmp 0x14013622f
xor esi, esi
jmp 0x14013622f
lea rcx, str.machine
mov rdx, rbx
call fcn.14013c9f0
test eax, eax
mov eax, 1
cmovne esi, eax
cmp byte [rdi], 0
mov rbx, rdi
je 0x140136261
nop word [rax + rax]
movsx edx, byte [rbx]
lea rcx, [0x1401e80fc]
call fcn.14016eefc
test rax, rax
je 0x140136261
inc rbx
cmp byte [rbx], 0
jne 0x140136240
jmp 0x1401360bc
cmp byte [rbx], 0
je 0x1401360bc
movzx eax, byte [rbx + 1]
lea rdi, [rbx + 1]
test al, al
je 0x1401360c0
nop word [rax + rax]
lea rcx, [0x1401e80fc]
movsx edx, al
call fcn.14016eefc
test rax, rax
jne 0x1401362a4
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140136280
jmp 0x1401360c0
cmp byte [rdi], 0
je 0x1401360c0
mov byte [rdi], 0
inc rdi
jmp 0x1401360c0
mov rax, qword [rsp + 0x48]
jmp 0x140136060
mov rcx, qword [rsp + 0x48]
call fcn.1401679bc
mov edi, dword [rsp + 0x28]
cmp dword [rsp + 0x20], 0
je 0x1401362e2
mov rcx, qword [rsp + 0x30]
call qword [fcn.1401673d0]
cmp dword [rsp + 0x24], 0
je 0x1401362f4
mov rcx, qword [rsp + 0x50]
call qword [fcn.1401673d0]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140166980
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret