Function at 0x4d3090
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x14
call fcn.004a2950
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 0x4d30c5
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 6
jmp 0x4d30f8
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 0x4d30ee
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 0x4d32b7
mov eax, dword [esi + 0x54]
push ebp
push eax
call fcn.004d8990
mov ecx, dword [esi + 0x14]
add esp, 8
test byte [ecx + 0x14], 0x10
mov edi, eax
jne 0x4d313f
test dword [edi + 0x28], 0x200
je 0x4d313f
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 0x4d32bc
cmp dword [esp + 0x10], 0
jne 0x4d316c
test dword [edi + 0x28], 0x400
je 0x4d316c
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 0x4d32bc
push edi
call fcn.004dcf80
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x4d31a1
test ecx, ecx
je 0x4d3194
test eax, eax
je 0x4d31b3
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x4d31d4
cmp eax, 1
jmp 0x4d31b1
test eax, eax
je 0x4d31d4
mov dword [esi + 0x64], 0x25
jmp 0x4d31ba
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x4d31d4
cmp eax, 1
je 0x4d31d4
test eax, eax
je 0x4d31d4
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 0x4d32bc
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
jle 0x4d3222
mov eax, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call fcn.004dd060
add esp, 0xc
test eax, eax
je 0x4d3205
mov ecx, dword [esi + 0x14]
test byte [ecx + 0x14], 0x20
je 0x4d3222
cmp eax, 1
je 0x4d3222
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 0x4d32bc
cmp ebp, 1
jle 0x4d325c
test byte [edi + 0x28], 0x20
jne 0x4d325c
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x4d325c
mov edx, dword [esp + 0x18]
lea eax, [eax + edx + 1]
cmp dword [esp + 0x14], eax
jle 0x4d325c
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 0x4d32bc
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x4d3268
add dword [esp + 0x14], 1
test eax, 0x400
je 0x4d32a3
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x4d3294
cmp ebp, eax
jle 0x4d3294
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 0x4d32bc
add dword [esp + 0x18], 1
mov dword [esp + 0xc], 0
jmp 0x4d32ab
mov dword [esp + 0xc], 1
add ebp, 1
cmp ebp, dword [esi + 0x50]
jl 0x4d3101
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x14
ret