Function at 0xf089c0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebx, dword [esp + 0x80]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x3c], edx
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0xf092f2
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [ebx + 0x54]
test edx, edx
je 0xf08e88
mov eax, dword [ebx + 0xc]
test eax, eax
je 0xf08e81
mov dword [esp], eax
call fcn.00ef4a00
mov edi, eax
test eax, eax
je 0xf08ee6
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5140
mov dword [esp + 0x30], eax
dec eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x34], edx
cmp dword [esp + 0x30], edx
jg 0xf08aad
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00efc580
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0xf08aad
mov eax, dword [ebx + 0xc]
test eax, eax
je 0xf08aad
xor esi, esi
jmp 0xf08a99
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00ef5160
mov ebp, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0xf08d80
inc esi
mov dword [esp], edi
call fcn.00ef5140
cmp esi, eax
jl 0xf08a70
mov dword [esp + 0x5c], 0
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5140
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov esi, eax
mov dword [esp], eax
call fcn.00efc690
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0xf08ef3
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
jl 0xf08b6d
lea ebp, [esp + 0x5c]
mov dword [esp + 0x40], edi
mov edi, eax
jmp 0xf08b4b
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call dword [ebx + 0x24]
cmp eax, 0
jl 0xf08e11
je 0xf08b65
mov esi, dword [esp + 0x5c]
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef4ef0
test eax, eax
je 0xf091b0
inc edi
cmp dword [esp + 0x34], edi
jl 0xf08b65
mov dword [esp], esi
call fcn.00efc580
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
je 0xf08b10
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x40]
mov dword [esp], esi
call fcn.00efc580
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0xf08be8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0xf08ba9
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0xf091f9
mov eax, dword [esp + 0x30]
cmp dword [ebx + 0x50], eax
jge 0xf091ef
mov eax, 2
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], esi
mov eax, dword [esp + 0x30]
dec eax
mov dword [ebx + 0x60], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x38]
test eax, eax
je 0xf08dd7
mov dword [esp + 0x48], 1
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0xf092c1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 6
mov eax, dword [ebx + 0x50]
test eax, eax
jle 0xf09094
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x4c], edi
mov edi, eax
jmp 0xf08c60
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0xf08c50
cmp ebp, eax
jg 0xf09060
inc dword [esp + 0x38]
xor edi, edi
inc ebp
cmp ebp, dword [ebx + 0x50]
jge 0xf09090
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov esi, eax
mov eax, dword [ebx + 0x14]
test byte [eax + 0xc], 0x10
jne 0xf08c84
test byte [esi + 0x29], 2
jne 0xf0902d
mov eax, dword [esp + 0x40]
test eax, eax
jne 0xf08c96
test byte [esi + 0x29], 4
jne 0xf09000
mov dword [esp], esi
call fcn.00eff250
cmp edi, 0xffffffff
je 0xf08fe0
test edi, edi
jne 0xf08fb0
test eax, eax
je 0xf08cd7
mov dword [ebx + 0x64], 0x25
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
je 0xf09024
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
jle 0xf08d33
test edi, edi
setg al
and eax, 0xff
mov dword [esp + 8], eax
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00efe9d0
test eax, eax
je 0xf08d0f
mov edx, dword [ebx + 0x14]
test byte [edx + 0xc], 0x20
je 0xf08d33
dec eax
je 0xf08d33
mov dword [ebx + 0x64], 0x1a
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
je 0xf09024
cmp ebp, 1
jle 0xf08f9c
mov eax, dword [esi + 0x28]
test al, 0x20
jne 0xf08d61
mov edx, dword [esi + 0x20]
cmp edx, 0xffffffff
je 0xf08d5d
mov ecx, dword [esp + 0x38]
lea edx, [ecx + edx + 1]
cmp dword [esp + 0x34], edx
jg 0xf08f78
inc dword [esp + 0x34]
test ah, 4
jne 0xf08c40
mov edi, 1
jmp 0xf08c56
mov dword [esp + 0x5c], ebp
test ebp, ebp
je 0xf08aad
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef4ef0
test eax, eax
jne 0xf08e20
mov dword [esp + 0x10], 0xdb
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.00eefad0
mov dword [esp + 0x2c], 0
mov eax, dword [ebx + 0x54]
call fcn.00f07720
xor eax, eax
test edi, edi
je 0xf08df5
mov dword [esp], edi
mov dword [esp + 0x28], eax
call fcn.00ef5100
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0xf08e11
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 0x28], eax
call fcn.00ef0f80
mov eax, dword [esp + 0x28]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xde
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov eax, dword [esp + 0x5c]
add eax, 0x10
mov dword [esp], eax
call fcn.00ef9c60
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00ef4dc0
inc dword [ebx + 0x50]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
jge 0xf08a43
jmp 0xf08aad
xor edi, edi
jmp 0xf08a0f
call fcn.00ef4b90
mov dword [ebx + 0x54], eax
test eax, eax
je 0xf08eab
mov edx, dword [ebx + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00ef4ef0
test eax, eax
jne 0xf08f3e
mov dword [esp + 0x10], 0xb2
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.00eefad0
xor edi, edi
mov dword [esp + 0x2c], 0
jmp 0xf08dd7
mov dword [esp + 0x10], 0xbd
jmp 0xf08dab
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5140
dec eax
je 0xf09232
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef4fc0
mov dword [esp + 0x2c], eax
dec dword [ebx + 0x50]
dec dword [esp + 0x30]
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov esi, eax
mov dword [esp + 0x48], 0
jmp 0xf08afa
mov dword [esp + 0x10], 0xb5
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov eax, dword [ebx + 8]
add eax, 0x10
mov dword [esp], eax
call fcn.00ef9c60
mov dword [ebx + 0x50], 1
jmp 0xf089f2
mov dword [ebx + 0x64], 0x19
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
je 0xf09024
mov eax, dword [esi + 0x28]
test al, 0x20
je 0xf08d5d
jmp 0xf08d61
test eax, eax
je 0xf08fc8
mov edx, dword [ebx + 0x14]
test byte [edx + 0xc], 0x20
je 0xf08cda
dec eax
je 0xf08cda
mov dword [ebx + 0x64], 0x18
jmp 0xf08cba
mov edx, dword [ebx + 0x14]
test byte [edx + 0xc], 0x20
je 0xf08cda
cmp eax, 1
je 0xf08cda
test eax, eax
je 0xf08cda
jmp 0xf08fc8
mov dword [ebx + 0x64], 0x28
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
jne 0xf08c96
mov edi, dword [esp + 0x4c]
jmp 0xf08dd7
mov dword [ebx + 0x64], 0x22
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
jne 0xf08c84
jmp 0xf09024
mov dword [ebx + 0x64], 0x26
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
jne 0xf08c50
jmp 0xf09024
mov edi, dword [esp + 0x4c]
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5140
dec eax
js 0xf0913d
mov dword [esp + 0x30], edi
mov ebp, eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov edi, eax
test ebp, ebp
je 0xf090c7
test byte [eax + 0x28], 0x20
jne 0xf0912f
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5140
lea esi, [eax - 1]
cmp ebp, esi
jl 0xf090e5
jmp 0xf0912f
dec esi
cmp esi, ebp
je 0xf0912f
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov eax, dword [eax + 0x4c]
test eax, eax
je 0xf090e0
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00f3e240
test eax, eax
je 0xf090e0
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], edi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x20]
test eax, eax
jne 0xf090e0
mov edi, dword [esp + 0x30]
jmp 0xf08dd7
dec ebp
cmp ebp, 0xffffffff
jne 0xf090ac
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x14]
test eax, eax
jg 0xf09328
mov eax, dword [ebx + 0x54]
call fcn.00f07720
mov dword [esp], ebx
call dword [ebx + 0x2c]
test eax, eax
je 0xf08dd7
mov eax, dword [ebx + 0x1c]
mov dword [esp], ebx
test eax, eax
je 0xf093eb
call eax
test eax, eax
je 0xf08dd7
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0xf08de1
mov edx, dword [ebx + 0x14]
test byte [edx + 0xc], 0x80
je 0xf08de1
mov dword [esp], ebx
call dword [ebx + 0x3c]
test eax, eax
jne 0xf08de1
jmp 0xf08dd7
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00ef0f80
mov dword [esp + 0x10], 0x132
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.00eefad0
xor eax, eax
jmp 0xf08e11
mov eax, 0x14
jmp 0xf08bbb
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef4ef0
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x64], 0x13
mov dword [esp + 0x2c], 0
jmp 0xf08bc1
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
lea eax, [esp + 0x5c]
mov dword [esp], eax
call dword [ebx + 0x24]
mov edx, eax
test eax, eax
jle 0xf092b2
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x28], edx
call fcn.00efc7b0
test eax, eax
mov edx, dword [esp + 0x28]
je 0xf093b0
mov dword [ebx + 0x64], 0x12
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x60], ebp
dec edx
jne 0xf09286
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00ef0f80
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x38]
test eax, eax
je 0xf08dcf
mov dword [esp + 0x48], 1
mov dword [esp + 0x2c], 0
jmp 0xf08afa
mov dword [ebx + 0x64], 0x12
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x60], ebp
jmp 0xf09286
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + 0xc]
mov dword [esp], str.OPENSSL_ALLOW_PROXY_CERTS
call sub.msvcrt.dll_getenv
test eax, eax
je 0xf093f5
mov dword [esp + 0x40], 1
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
jmp 0xf08c0a
mov dword [esp + 0x10], 0xa5
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x69
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.00eefad0
mov eax, 0xffffffff
jmp 0xf08e11
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5140
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef5160
mov esi, eax
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00f40020
cmp eax, 1
je 0xf0914c
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], esi
cmp eax, 2
sete al
and eax, 0xff
add eax, 0x1b
mov dword [ebx + 0x64], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [esp + 0x30]
test eax, eax
je 0xf08dd7
jmp 0xf0914c
mov dword [esp], esi
call fcn.00ef0f80
mov esi, dword [esp + 0x5c]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.00ef51a0
mov dword [ebx + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
jmp 0xf08afa
call fcn.00f086f0
jmp 0xf09172
and esi, 0x40
setne cl
and ecx, 0xff
mov dword [esp + 0x40], ecx
jmp 0xf092e3