Function at 0x1008b2f0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x14
call fcn.100bff40
push ebx
mov ebx, dword [esi + 0x20]
push ebp
xor ebp, ebp
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0xc], 0xffffffff
cmp dword [esi + 0x7c], ebp
je 0x1008b325
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 6
jmp 0x1008b359
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
shr eax, 6
and eax, 1
push str.OPENSSL_ALLOW_PROXY_CERTS
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
je 0x1008b34f
mov dword [esp + 0x10], 1
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x50], ebp
jle 0x1008b514
mov eax, dword [esi + 0x54]
push ebp
push eax
call sym.LIBEAY32.dll_sk_value
mov ecx, dword [esi + 0x14]
add esp, 8
test byte [ecx + 0xc], 0x10
mov edi, eax
jne 0x1008b3a0
test dword [edi + 0x28], 0x200
je 0x1008b3a0
push esi
push 0
mov dword [esi + 0x64], 0x22
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], edi
call ebx
add esp, 8
test eax, eax
je 0x1008b519
cmp dword [esp + 0x10], 0
jne 0x1008b3cd
test dword [edi + 0x28], 0x400
je 0x1008b3cd
push esi
push 0
mov dword [esi + 0x64], 0x28
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], edi
call ebx
add esp, 8
test eax, eax
je 0x1008b519
push edi
call sym.LIBEAY32.dll_X509_check_ca
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x1008b402
test ecx, ecx
je 0x1008b3f5
test eax, eax
je 0x1008b414
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x1008b435
cmp eax, 1
jmp 0x1008b412
test eax, eax
je 0x1008b435
mov dword [esi + 0x64], 0x25
jmp 0x1008b41b
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x1008b435
cmp eax, 1
je 0x1008b435
test eax, eax
je 0x1008b435
mov dword [esi + 0x64], 0x18
push esi
push 0
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], edi
call ebx
add esp, 8
test eax, eax
je 0x1008b519
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x10], 0
jle 0x1008b483
mov eax, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call sym.LIBEAY32.dll_X509_check_purpose
add esp, 0xc
test eax, eax
je 0x1008b466
mov ecx, dword [esi + 0x14]
test byte [ecx + 0xc], 0x20
je 0x1008b483
cmp eax, 1
je 0x1008b483
push esi
push 0
mov dword [esi + 0x64], 0x1a
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], edi
call ebx
add esp, 8
test eax, eax
je 0x1008b519
cmp ebp, 1
jle 0x1008b4bd
test byte [edi + 0x28], 0x20
jne 0x1008b4bd
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x1008b4bd
mov edx, dword [esp + 0x18]
lea eax, [eax + edx + 1]
cmp dword [esp + 0x14], eax
jle 0x1008b4bd
push esi
push 0
mov dword [esi + 0x64], 0x19
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], edi
call ebx
add esp, 8
test eax, eax
je 0x1008b519
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x1008b4c8
inc dword [esp + 0x14]
test eax, 0x400
je 0x1008b502
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x1008b4f4
cmp ebp, eax
jle 0x1008b4f4
push esi
push 0
mov dword [esi + 0x64], 0x26
mov dword [esi + 0x60], ebp
mov dword [esi + 0x68], edi
call ebx
add esp, 8
test eax, eax
je 0x1008b519
inc dword [esp + 0x18]
mov dword [esp + 0xc], 0
jmp 0x1008b50a
mov dword [esp + 0xc], 1
inc ebp
cmp ebp, dword [esi + 0x50]
jl 0x1008b362
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x14
ret