Function at 0x4e54f0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x14
call fcn.00497d50
push ebx
mov ebx, dword [esi + 0x20]
push ebp
xor ebp, ebp
cmp dword [esi + 0x7c], ebp
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0xc], 0xffffffff
je 0x4e5525
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 6
jmp 0x4e5558
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x14]
shr eax, 6
and eax, 1
push str.OPENSSL_ALLOW_PROXY_CERTS
mov dword [esp + 0x14], eax
call sub.MSVCR80.dll_getenv
add esp, 4
test eax, eax
je 0x4e554e
mov dword [esp + 0x10], 1
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x50], ebp
jle 0x4e5717
mov eax, dword [esi + 0x54]
push ebp
push eax
call fcn.004cde80
mov ecx, dword [esi + 0x14]
add esp, 8
test byte [ecx + 0x14], 0x10
mov edi, eax
jne 0x4e559f
test dword [edi + 0x28], 0x200
je 0x4e559f
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 0x4e571c
cmp dword [esp + 0x10], 0
jne 0x4e55cc
test dword [edi + 0x28], 0x400
je 0x4e55cc
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 0x4e571c
push edi
call fcn.004d3870
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x4e5601
test ecx, ecx
je 0x4e55f4
test eax, eax
je 0x4e5613
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x4e5634
cmp eax, 1
jmp 0x4e5611
test eax, eax
je 0x4e5634
mov dword [esi + 0x64], 0x25
jmp 0x4e561a
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x4e5634
cmp eax, 1
je 0x4e5634
test eax, eax
je 0x4e5634
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 0x4e571c
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
jle 0x4e5682
mov eax, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call fcn.004d3950
add esp, 0xc
test eax, eax
je 0x4e5665
mov ecx, dword [esi + 0x14]
test byte [ecx + 0x14], 0x20
je 0x4e5682
cmp eax, 1
je 0x4e5682
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 0x4e571c
cmp ebp, 1
jle 0x4e56bc
test byte [edi + 0x28], 0x20
jne 0x4e56bc
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x4e56bc
mov edx, dword [esp + 0x18]
lea eax, [eax + edx + 1]
cmp dword [esp + 0x14], eax
jle 0x4e56bc
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 0x4e571c
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x4e56c8
add dword [esp + 0x14], 1
test eax, 0x400
je 0x4e5703
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x4e56f4
cmp ebp, eax
jle 0x4e56f4
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 0x4e571c
add dword [esp + 0x18], 1
mov dword [esp + 0xc], 0
jmp 0x4e570b
mov dword [esp + 0xc], 1
add ebp, 1
cmp ebp, dword [esi + 0x50]
jl 0x4e5561
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x14
ret