Function at 0x4dc770
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x14
call fcn.00461520
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 0x4dc7a5
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 6
jmp 0x4dc7d8
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.MSVCR100.dll_getenv
add esp, 4
test eax, eax
je 0x4dc7ce
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 0x4dc993
mov eax, dword [esi + 0x54]
push ebp
push eax
call fcn.004a3b00
mov ecx, dword [esi + 0x14]
add esp, 8
test byte [ecx + 0x14], 0x10
mov edi, eax
jne 0x4dc81f
test dword [edi + 0x28], 0x200
je 0x4dc81f
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 0x4dc998
cmp dword [esp + 0x10], 0
jne 0x4dc84c
test dword [edi + 0x28], 0x400
je 0x4dc84c
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 0x4dc998
push edi
call fcn.004b07f0
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x4dc881
test ecx, ecx
je 0x4dc874
test eax, eax
je 0x4dc893
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x4dc8b4
cmp eax, 1
jmp 0x4dc891
test eax, eax
je 0x4dc8b4
mov dword [esi + 0x64], 0x25
jmp 0x4dc89a
mov edx, dword [esi + 0x14]
test byte [edx + 0x14], 0x20
je 0x4dc8b4
cmp eax, 1
je 0x4dc8b4
test eax, eax
je 0x4dc8b4
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 0x4dc998
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
jle 0x4dc902
mov eax, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call fcn.004b0920
add esp, 0xc
test eax, eax
je 0x4dc8e5
mov ecx, dword [esi + 0x14]
test byte [ecx + 0x14], 0x20
je 0x4dc902
cmp eax, 1
je 0x4dc902
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 0x4dc998
cmp ebp, 1
jle 0x4dc93c
test byte [edi + 0x28], 0x20
jne 0x4dc93c
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x4dc93c
mov edx, dword [esp + 0x18]
lea eax, [eax + edx + 1]
cmp dword [esp + 0x14], eax
jle 0x4dc93c
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 0x4dc998
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x4dc947
inc dword [esp + 0x14]
test eax, 0x400
je 0x4dc981
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x4dc973
cmp ebp, eax
jle 0x4dc973
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 0x4dc998
inc dword [esp + 0x18]
mov dword [esp + 0xc], 0
jmp 0x4dc989
mov dword [esp + 0xc], 1
inc ebp
cmp ebp, dword [esi + 0x50]
jl 0x4dc7e1
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x14
ret