Function at 0x140087610
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, qword [rcx + 0x40]
mov rbx, rcx
or ebp, 0xffffffff
xor r12d, r12d
xor r15d, r15d
lea ecx, [rbp + 2]
cmp qword [rbx + 0xe0], r12
je 0x140087647
xor edi, edi
mov dword [rsp + 0x60], 6
jmp 0x140087676
mov rax, qword [rbx + 0x28]
mov edi, dword [rax + 0x14]
shr edi, 6
and edi, ecx
lea rcx, str.OPENSSL_ALLOW_PROXY_CERTS
call qword [sym.imp.MSVCR120.dll_getenv]
mov ecx, 1
test rax, rax
mov rax, qword [rbx + 0x28]
mov eax, dword [rax + 0x18]
cmovne edi, ecx
mov dword [rsp + 0x60], eax
xor esi, esi
mov qword [rsp + 0x70], r13
cmp dword [rbx + 0x9c], esi
jle 0x140087890
movsxd rax, edi
xor r13d, r13d
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1400876b3
test esi, esi
js 0x1400876b3
cmp esi, dword [rax]
jge 0x1400876b3
mov rax, qword [rax + 8]
mov rdi, qword [r13 + rax]
jmp 0x1400876b5
xor edi, edi
mov rax, qword [rbx + 0x28]
test byte [rax + 0x14], 0x10
jne 0x1400876ef
test dword [rdi + 0x40], 0x200
je 0x1400876ef
mov rdx, rbx
xor ecx, ecx
mov dword [rbx + 0xb8], 0x22
mov dword [rbx + 0xb4], esi
mov qword [rbx + 0xc0], rdi
call r14
test eax, eax
je 0x140087892
cmp qword [rsp + 0x68], 0
jne 0x140087727
test dword [rdi + 0x40], 0x400
je 0x140087727
mov rdx, rbx
xor ecx, ecx
mov dword [rbx + 0xb8], 0x28
mov dword [rbx + 0xb4], esi
mov qword [rbx + 0xc0], rdi
call r14
test eax, eax
je 0x140087892
mov rcx, rdi
call fcn.140084730
mov edx, eax
cmp ebp, 0xffffffff
je 0x14008775f
test ebp, ebp
je 0x14008774f
test eax, eax
je 0x14008776e
mov rcx, qword [rbx + 0x28]
test byte [rcx + 0x14], 0x20
je 0x140087795
cmp eax, 1
je 0x140087795
jmp 0x14008776e
test eax, eax
je 0x140087795
mov dword [rbx + 0xb8], 0x25
jmp 0x140087778
mov rax, qword [rbx + 0x28]
test byte [rax + 0x14], 0x20
je 0x140087795
cmp edx, 1
jbe 0x140087795
mov dword [rbx + 0xb8], 0x18
mov rdx, rbx
xor ecx, ecx
mov dword [rbx + 0xb4], esi
mov qword [rbx + 0xc0], rdi
call r14
test eax, eax
je 0x140087892
mov rax, qword [rbx + 0x28]
cmp dword [rax + 0x18], 0
jle 0x1400877ee
mov edx, dword [rsp + 0x60]
xor r8d, r8d
test ebp, ebp
setg r8b
mov rcx, rdi
call fcn.140083e70
test eax, eax
je 0x1400877c7
mov rcx, qword [rbx + 0x28]
test byte [rcx + 0x14], 0x20
je 0x1400877ee
cmp eax, 1
je 0x1400877ee
mov rdx, rbx
xor ecx, ecx
mov dword [rbx + 0xb8], 0x1a
mov dword [rbx + 0xb4], esi
mov qword [rbx + 0xc0], rdi
call r14
test eax, eax
je 0x140087892
cmp esi, 1
jle 0x14008782e
test byte [rdi + 0x40], 0x20
jne 0x14008782e
mov eax, dword [rdi + 0x38]
cmp eax, 0xffffffff
je 0x14008782e
inc eax
add eax, r15d
cmp r12d, eax
jle 0x14008782e
mov rdx, rbx
xor ecx, ecx
mov dword [rbx + 0xb8], 0x19
mov dword [rbx + 0xb4], esi
mov qword [rbx + 0xc0], rdi
call r14
test eax, eax
je 0x140087892
mov eax, dword [rdi + 0x40]
test al, 0x20
jne 0x140087838
inc r12d
bt eax, 0xa
jae 0x140087877
mov eax, dword [rdi + 0x3c]
cmp eax, 0xffffffff
je 0x14008786d
cmp esi, eax
jle 0x14008786d
mov rdx, rbx
xor ecx, ecx
mov dword [rbx + 0xb8], 0x26
mov dword [rbx + 0xb4], esi
mov qword [rbx + 0xc0], rdi
call r14
test eax, eax
je 0x140087892
inc r15d
xor ebp, ebp
lea ecx, [rbp + 1]
jmp 0x14008787e
mov ecx, 1
mov ebp, ecx
inc esi
add r13, 8
cmp esi, dword [rbx + 0x9c]
jl 0x140087694
mov eax, ecx
mov r13, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret