Function at 0x48e460
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10
call fcn.004f75e0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
or ebp, 0xffffffff
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
cmp dword [esi + 0x7c], 0
mov eax, dword [esi + 0x20]
mov dword [esp + 0x24], eax
je 0x48e4a4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 6
jmp 0x48e4d5
mov eax, dword [esi + 0x14]
push str.OPENSSL_ALLOW_PROXY_CERTS
mov edi, dword [eax + 0x14]
shr edi, 6
and edi, 1
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
mov ecx, 1
test eax, eax
mov eax, dword [esi + 0x14]
cmovne edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
xor ebx, ebx
cmp dword [esi + 0x50], ebx
jle 0x48e697
push ebx
push dword [esi + 0x54]
call fcn.0047afc0
mov ecx, dword [esi + 0x14]
add esp, 8
mov edi, eax
test byte [ecx + 0x14], 0x10
jne 0x48e51f
test dword [edi + 0x28], 0x200
je 0x48e51f
push esi
push 0
mov dword [esi + 0x64], 0x22
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edi
call dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x48e69c
cmp dword [esp + 0x18], 0
jne 0x48e54e
test dword [edi + 0x28], 0x400
je 0x48e54e
push esi
push 0
mov dword [esi + 0x64], 0x28
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edi
call dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x48e69c
push edi
call fcn.00481450
add esp, 4
mov ecx, eax
cmp ebp, 0xffffffff
je 0x48e581
test ebp, ebp
je 0x48e574
test ecx, ecx
je 0x48e593
mov eax, dword [esi + 0x14]
test byte [eax + 0x14], 0x20
je 0x48e5b2
cmp ecx, 1
jmp 0x48e591
test ecx, ecx
je 0x48e5b2
mov dword [esi + 0x64], 0x25
jmp 0x48e59a
mov eax, dword [esi + 0x14]
test byte [eax + 0x14], 0x20
je 0x48e5b2
cmp ecx, 1
je 0x48e5b2
test ecx, ecx
je 0x48e5b2
mov dword [esi + 0x64], 0x18
push esi
push 0
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edi
call dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x48e69c
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x18], 0
jle 0x48e605
xor eax, eax
test ebp, ebp
setg al
push eax
push dword [esp + 0x20]
push edi
call fcn.00481530
add esp, 0xc
test eax, eax
je 0x48e5e2
mov ecx, dword [esi + 0x14]
test byte [ecx + 0x14], 0x20
je 0x48e605
cmp eax, 1
je 0x48e605
mov ebp, dword [esp + 0x24]
push esi
push 0
mov dword [esi + 0x64], 0x1a
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edi
call ebp
add esp, 8
test eax, eax
je 0x48e69c
jmp 0x48e609
mov ebp, dword [esp + 0x24]
cmp ebx, 1
jle 0x48e644
test byte [edi + 0x28], 0x20
jne 0x48e644
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x48e644
mov ecx, dword [esp + 0x14]
inc ecx
add eax, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x48e648
push esi
push 0
mov dword [esi + 0x64], 0x19
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edi
call ebp
add esp, 8
test eax, eax
je 0x48e69c
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x48e654
inc ecx
mov dword [esp + 0x10], ecx
test eax, 0x400
je 0x48e688
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x48e680
cmp ebx, eax
jle 0x48e680
push esi
push 0
mov dword [esi + 0x64], 0x26
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], edi
call ebp
add esp, 8
test eax, eax
je 0x48e69c
inc dword [esp + 0x14]
xor ebp, ebp
jmp 0x48e68d
mov ebp, 1
inc ebx
cmp ebx, dword [esi + 0x50]
jl 0x48e4e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret