Function at 0x10027ff0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x20
call fcn.1001d6a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0x14]
cmp eax, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], edi
jne 0x10028042
push 0x6d
push str..cryptox509x509_vfy.c
push 0x69
push 0x7f
push 0xb
call fcn.1001e430
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x1002808e
call fcn.1001e990
cmp eax, edi
mov dword [esi + 0x4c], eax
je 0x100280b0
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.1001ec90
add esp, 8
test eax, eax
je 0x100280b0
mov edx, dword [esi + 8]
push 0x7d
push str..cryptox509x509_vfy.c
push 3
add edx, 0x10
push 1
push edx
call fcn.1001fbc0
add esp, 0x14
mov dword [esi + 0x48], 1
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x100280b7
push eax
call fcn.1001e8b0
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x100280b7
push 0x85
jmp 0x10028243
push 0x7a
jmp 0x10028243
mov eax, dword [esi + 0x4c]
push eax
call fcn.1001ed80
mov edx, dword [esi + 0x4c]
mov ebx, eax
mov dword [esp + 0x18], ebx
lea ecx, [ebx - 1]
push ecx
push edx
call fcn.1001ed90
mov edi, eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x100281b4
push edi
call fcn.10021900
push edi
push edi
push esi
call dword [esi + 0x28]
add esp, 0x10
test eax, eax
jne 0x100281b4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100281b4
mov eax, dword [esp + 0x18]
xor ebx, ebx
push eax
call fcn.1001ed80
add esp, 4
test eax, eax
jle 0x10028148
mov ecx, dword [esp + 0x18]
push ebx
push ecx
call fcn.1001ed90
mov ebp, eax
push ebp
push edi
push esi
call dword [esi + 0x28]
add esp, 0x14
test eax, eax
jne 0x1002814a
mov edx, dword [esp + 0x18]
inc ebx
push edx
call fcn.1001ed80
add esp, 4
cmp ebx, eax
jl 0x1002811c
xor ebp, ebp
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x100281b4
mov eax, dword [esi + 0x4c]
push ebp
push eax
call fcn.1001ec90
add esp, 8
test eax, eax
je 0x1002823e
mov ecx, dword [esp + 0x10]
push 0xa6
push str..cryptox509x509_vfy.c
push 3
add ecx, 0x10
push 1
push ecx
call fcn.1001fbc0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.1001eb40
mov edi, dword [esi + 0x48]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
inc edi
inc eax
mov dword [esi + 0x48], edi
mov edi, dword [esp + 0x10]
cmp ecx, eax
mov dword [esp + 0x14], eax
jge 0x100280e7
mov ecx, dword [esi + 0x4c]
push ecx
call fcn.1001ed80
mov edx, dword [esi + 0x4c]
lea ebx, [eax - 1]
push ebx
push edx
call fcn.1001ed90
mov edi, eax
push edi
call fcn.10021910
push edi
push edi
push esi
call dword [esi + 0x28]
add esp, 0x1c
test eax, eax
je 0x10028298
mov eax, dword [esi + 0x4c]
push eax
call fcn.1001ed80
add esp, 4
cmp eax, 1
jne 0x1002833f
push edi
lea ecx, [esp + 0x14]
push esi
push ecx
call dword [esi + 0x24]
mov ebp, eax
add esp, 0xc
test ebp, ebp
jle 0x1002825b
mov edx, dword [esp + 0x10]
push edx
push edi
call fcn.10021920
add esp, 8
test eax, eax
jne 0x1002825b
push edi
call fcn.10022e40
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
push edi
push ebx
push eax
call fcn.1001edb0
add esp, 0x10
mov dword [esi + 0x48], 0
jmp 0x10028298
push 0xa3
push str..cryptox509x509_vfy.c
push 0x41
push 0x7f
push 0xb
call fcn.1001e430
add esp, 0x14
jmp 0x10028682
cmp ebp, 1
mov dword [esi + 0x5c], 0x12
mov dword [esi + 0x60], edi
mov dword [esi + 0x58], ebx
jne 0x1002827a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10022e40
add esp, 4
push esi
push 0
mov dword [esp + 0x2c], 1
call dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x10028682
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x20], ebx
jl 0x100282f2
push edi
call fcn.10021900
push edi
push edi
push esi
call dword [esi + 0x28]
add esp, 0x10
test eax, eax
jne 0x100282f2
push edi
lea edx, [esp + 0x14]
push esi
push edx
call dword [esi + 0x24]
add esp, 0xc
test eax, eax
jl 0x100286e2
je 0x100282f2
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x4c]
push edi
push eax
call fcn.1001ec90
add esp, 8
test eax, eax
je 0x100286be
mov eax, dword [esp + 0x20]
inc ebx
cmp eax, ebx
jge 0x100282a6
push edi
call fcn.10021900
push edi
push edi
push esi
call dword [esi + 0x28]
add esp, 0x10
test eax, eax
jne 0x100283ab
test ebp, ebp
je 0x10028371
push ebp
push edi
push esi
call dword [esi + 0x28]
add esp, 0xc
test eax, eax
je 0x10028371
mov ecx, dword [esi + 0x4c]
push ebp
push ecx
call fcn.1001ec90
add esp, 8
inc ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x5c], 0x13
mov dword [esp + 0x1c], 0
jmp 0x10028389
mov edx, dword [esi + 0x4c]
push edx
call fcn.1001ecb0
mov ecx, dword [esi + 0x48]
mov ebx, dword [esp + 0x18]
dec ecx
dec ebx
mov ebp, eax
mov dword [esi + 0x48], ecx
mov ecx, dword [esi + 0x4c]
lea eax, [ebx - 1]
push eax
push ecx
mov dword [esp + 0x28], ebp
call fcn.1001ed90
add esp, 0xc
mov edi, eax
jmp 0x100282a0
cmp dword [esi + 0x48], ebx
jl 0x1002837f
mov dword [esi + 0x5c], 0x14
jmp 0x10028386
mov dword [esi + 0x5c], 2
mov dword [esi + 0x60], edi
dec ebx
push esi
push 0
mov dword [esi + 0x58], ebx
mov dword [esp + 0x2c], 1
call dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x10028682
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0x20]
xor ebp, ebp
push str.OPENSSL_ALLOW_PROXY_CERTS
mov eax, dword [edx + 0xc]
mov dword [esp + 0x24], ebp
shr eax, 6
and eax, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0xffffffff
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x100283e9
mov dword [esp + 0x28], 1
mov eax, dword [esi + 0x48]
test eax, eax
jle 0x100285ab
mov eax, dword [esi + 0x4c]
push ebp
push eax
call fcn.1001ed90
mov ecx, dword [esi + 0x14]
mov edi, eax
add esp, 8
test byte [ecx + 0xc], 0x10
jne 0x10028431
mov eax, dword [edi + 0x28]
test ah, 2
je 0x10028431
push esi
push 0
mov dword [esi + 0x5c], 0x22
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100285b0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1002845e
mov eax, dword [edi + 0x28]
test ah, 4
je 0x1002845e
push esi
push 0
mov dword [esi + 0x5c], 0x28
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100285b0
push edi
call fcn.100244f0
mov ecx, dword [esp + 0x38]
add esp, 4
cmp ecx, 0xffffffff
je 0x10028495
test ecx, ecx
je 0x10028488
test eax, eax
je 0x100284a7
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x100284c4
cmp eax, 1
je 0x100284c4
jmp 0x100284a7
test eax, eax
je 0x100284c4
mov dword [esi + 0x5c], 0x25
jmp 0x100284ae
mov ecx, dword [esi + 0x14]
test byte [ecx + 0xc], 0x20
je 0x100284c4
cmp eax, 1
je 0x100284c4
test eax, eax
je 0x100284c4
mov dword [esi + 0x5c], 0x18
push esi
push 0
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100285b0
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
jle 0x10028513
mov edx, dword [esp + 0x34]
xor ecx, ecx
test edx, edx
setg cl
push ecx
push eax
push edi
call fcn.10024010
add esp, 0xc
test eax, eax
je 0x100284f6
mov edx, dword [esi + 0x14]
test byte [edx + 0xc], 0x20
je 0x10028513
cmp eax, 1
je 0x10028513
push esi
push 0
mov dword [esi + 0x5c], 0x1a
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100285b0
cmp ebp, 1
jle 0x1002854f
test byte [edi + 0x28], 0x20
jne 0x1002854f
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x1002854f
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 1]
mov eax, dword [esp + 0x20]
cmp eax, edx
jle 0x1002854f
push esi
push 0
mov dword [esi + 0x5c], 0x19
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100285b0
mov eax, dword [edi + 0x28]
test al, 0x20
jne 0x1002855a
inc dword [esp + 0x20]
test ah, 4
je 0x10028597
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x10028584
cmp ebp, eax
jle 0x10028584
push esi
push 0
mov dword [esi + 0x5c], 0x26
mov dword [esi + 0x58], ebp
mov dword [esi + 0x60], edi
call ebx
add esp, 8
test eax, eax
je 0x100285b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0
inc eax
mov dword [esp + 0x14], eax
jmp 0x1002859f
mov dword [esp + 0x34], 1
mov eax, dword [esi + 0x48]
inc ebp
cmp ebp, eax
jl 0x100283f4
mov eax, 1
test eax, eax
mov dword [esp + 0x34], eax
je 0x10028682
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x10028620
mov ecx, dword [esi + 0x4c]
mov ebp, dword [esi + 0x20]
push ecx
call fcn.1001ed80
mov edx, dword [esi + 0x4c]
mov edi, eax
dec edi
push edi
push edx
call fcn.1001ed90
mov ebx, eax
mov eax, dword [esi + 0x14]
push 0
mov ecx, dword [eax + 0x14]
push ecx
push ebx
call fcn.10031110
add esp, 0x18
cmp eax, 1
je 0x10028628
cmp eax, 2
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], ebx
jne 0x1002860d
mov dword [esi + 0x5c], 0x1c
jmp 0x10028614
mov dword [esi + 0x5c], 0x1b
push esi
push 0
call ebp
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10028682
mov edx, dword [esi + 0x4c]
push edx
push 0
call fcn.10028b40
push esi
call dword [esi + 0x2c]
add esp, 0xc
mov dword [esp + 0x34], eax
test eax, eax
je 0x10028682
mov eax, dword [esi + 0x1c]
push esi
test eax, eax
je 0x1002864e
call eax
jmp 0x10028653
call fcn.100286f0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x10028682
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1002867a
mov eax, dword [esi + 0x14]
test byte [eax + 0xc], 0x80
je 0x1002867a
push esi
call dword [esi + 0x3c]
add esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x10028690
mov ecx, dword [esi + 0x4c]
push ecx
push 0
call fcn.10028b40
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100286a1
push eax
call fcn.1001ed50
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100286b2
push eax
call fcn.10022e40
add esp, 4
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.10022e40
push 0xfa
push str..cryptox509x509_vfy.c
push 0x41
push 0x7f
push 0xb
call fcn.1001e430
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret