Function at 0x1400edcf0
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 0x1400edd27
xor edi, edi
mov dword [rsp + 0x60], 6
jmp 0x1400edd56
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 0x1400edf70
movsxd rax, edi
xor r13d, r13d
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1400edd93
test esi, esi
js 0x1400edd93
cmp esi, dword [rax]
jge 0x1400edd93
mov rax, qword [rax + 8]
mov rdi, qword [r13 + rax]
jmp 0x1400edd95
xor edi, edi
mov rax, qword [rbx + 0x28]
test byte [rax + 0x14], 0x10
jne 0x1400eddcf
test dword [rdi + 0x40], 0x200
je 0x1400eddcf
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 0x1400edf72
cmp qword [rsp + 0x68], 0
jne 0x1400ede07
test dword [rdi + 0x40], 0x400
je 0x1400ede07
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 0x1400edf72
mov rcx, rdi
call fcn.1400eae20
mov edx, eax
cmp ebp, 0xffffffff
je 0x1400ede3f
test ebp, ebp
je 0x1400ede2f
test eax, eax
je 0x1400ede4e
mov rcx, qword [rbx + 0x28]
test byte [rcx + 0x14], 0x20
je 0x1400ede75
cmp eax, 1
je 0x1400ede75
jmp 0x1400ede4e
test eax, eax
je 0x1400ede75
mov dword [rbx + 0xb8], 0x25
jmp 0x1400ede58
mov rax, qword [rbx + 0x28]
test byte [rax + 0x14], 0x20
je 0x1400ede75
cmp edx, 1
jbe 0x1400ede75
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 0x1400edf72
mov rax, qword [rbx + 0x28]
cmp dword [rax + 0x18], 0
jle 0x1400edece
mov edx, dword [rsp + 0x60]
xor r8d, r8d
test ebp, ebp
setg r8b
mov rcx, rdi
call fcn.1400ea560
test eax, eax
je 0x1400edea7
mov rcx, qword [rbx + 0x28]
test byte [rcx + 0x14], 0x20
je 0x1400edece
cmp eax, 1
je 0x1400edece
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 0x1400edf72
cmp esi, 1
jle 0x1400edf0e
test byte [rdi + 0x40], 0x20
jne 0x1400edf0e
mov eax, dword [rdi + 0x38]
cmp eax, 0xffffffff
je 0x1400edf0e
inc eax
add eax, r15d
cmp r12d, eax
jle 0x1400edf0e
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 0x1400edf72
mov eax, dword [rdi + 0x40]
test al, 0x20
jne 0x1400edf18
inc r12d
bt eax, 0xa
jae 0x1400edf57
mov eax, dword [rdi + 0x3c]
cmp eax, 0xffffffff
je 0x1400edf4d
cmp esi, eax
jle 0x1400edf4d
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 0x1400edf72
inc r15d
xor ebp, ebp
lea ecx, [rbp + 1]
jmp 0x1400edf5e
mov ecx, 1
mov ebp, ecx
inc esi
add r13, 8
cmp esi, dword [rbx + 0x9c]
jl 0x1400edd74
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