Function at 0x42f800
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x14
call fcn.004ae4c0
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 0x42f835
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], 6
jmp 0x42f868
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 sub.MSVCR90.dll_getenv
add esp, 4
test eax, eax
je 0x42f85e
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 0x42fa23
mov eax, dword [esi + 0x54]
push ebp
push eax
call fcn.00435650
mov ecx, dword [esi + 0x14]
add esp, 8
test byte [ecx + 0xc], 0x10
mov edi, eax
jne 0x42f8af
test dword [edi + 0x28], 0x200
je 0x42f8af
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 0x42fa28
cmp dword [esp + 0x10], 0
jne 0x42f8dc
test dword [edi + 0x28], 0x400
je 0x42f8dc
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 0x42fa28
push edi
call fcn.00439370
mov ecx, dword [esp + 0x10]
add esp, 4
cmp ecx, 0xffffffff
je 0x42f911
test ecx, ecx
je 0x42f904
test eax, eax
je 0x42f923
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x42f944
cmp eax, 1
jmp 0x42f921
test eax, eax
je 0x42f944
mov dword [esi + 0x64], 0x25
jmp 0x42f92a
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x42f944
cmp eax, 1
je 0x42f944
test eax, eax
je 0x42f944
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 0x42fa28
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x10], 0
jle 0x42f992
mov eax, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setg dl
push edx
push eax
push edi
call fcn.00439780
add esp, 0xc
test eax, eax
je 0x42f975
mov ecx, dword [esi + 0x14]
test byte [ecx + 0xc], 0x20
je 0x42f992
cmp eax, 1
je 0x42f992
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 0x42fa28
cmp ebp, 1
jle 0x42f9cc
test byte [edi + 0x28], 0x20
jne 0x42f9cc
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x42f9cc
mov edx, dword [esp + 0x18]
lea eax, [eax + edx + 1]
cmp dword [esp + 0x14], eax
jle 0x42f9cc
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 0x42fa28
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x42f9d7
inc dword [esp + 0x14]
test eax, 0x400
je 0x42fa11
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x42fa03
cmp ebp, eax
jle 0x42fa03
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 0x42fa28
inc dword [esp + 0x18]
mov dword [esp + 0xc], 0
jmp 0x42fa19
mov dword [esp + 0xc], 1
inc ebp
cmp ebp, dword [esi + 0x50]
jl 0x42f871
mov eax, 1
pop edi
pop ebp
pop ebx
add esp, 0x14
ret