Function at 0x4acec0
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 0x4ad804
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x4ad388
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4ad381
mov dword [esp], eax
call fcn.004b2ce0
mov edi, eax
test eax, eax
je 0x4ad3e6
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3680
mov dword [esp + 0x30], eax
dec eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b36a0
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 0x4acfad
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 0x4acfad
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4acfad
xor esi, esi
jmp 0x4acf99
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004b36a0
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 0x4ad270
inc esi
mov dword [esp], edi
call fcn.004b3680
cmp esi, eax
jl 0x4acf70
mov dword [esp + 0x5c], 0
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3680
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b36a0
mov esi, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0x4ad3f3
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
jl 0x4ad067
lea ebp, [esp + 0x5c]
mov dword [esp + 0x40], edi
mov edi, ebx
mov ebx, eax
jmp 0x4ad04b
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
call dword [edi + 0x24]
cmp eax, 0
jl 0x4ad30c
je 0x4ad05d
mov esi, dword [esp + 0x5c]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x54]
mov dword [esp], eax
call fcn.004b3350
test eax, eax
je 0x4ad6c0
inc ebx
cmp dword [esp + 0x34], ebx
jl 0x4ad05d
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [edi + 0x28]
test eax, eax
je 0x4ad010
mov dword [esp + 0x30], ebx
mov ebx, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [ebx + 0x28]
test eax, eax
jne 0x4ad0dc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4ad09b
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 0x4ad709
mov eax, dword [esp + 0x30]
cmp dword [ebx + 0x50], eax
jge 0x4ad6ff
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
mov edx, dword [esp + 0x38]
call edx
test eax, eax
je 0x4ad2c7
mov dword [esp + 0x48], 1
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4ad7d3
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 6
mov eax, dword [ebx + 0x50]
test eax, eax
jle 0x4ad594
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov edx, 0xffffffff
xor esi, esi
mov dword [esp + 0x4c], edi
mov edi, edx
jmp 0x4ad150
mov eax, dword [ebp + 0x24]
cmp eax, 0xffffffff
je 0x4ad140
cmp esi, eax
jg 0x4ad560
inc dword [esp + 0x34]
xor edi, edi
inc esi
cmp esi, dword [ebx + 0x50]
jge 0x4ad590
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b36a0
mov ebp, eax
mov eax, dword [ebx + 0x14]
test byte [eax + 0xc], 0x10
jne 0x4ad174
test byte [ebp + 0x29], 2
jne 0x4ad52f
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4ad186
test byte [ebp + 0x29], 4
jne 0x4ad500
mov dword [esp], ebp
call fcn.004bc410
cmp edi, 0xffffffff
je 0x4ad4e0
test edi, edi
jne 0x4ad4b0
test eax, eax
je 0x4ad1c9
mov dword [ebx + 0x64], 0x25
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x30]
call edx
test eax, eax
je 0x4ad526
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0x10]
test eax, eax
jle 0x4ad227
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], ebp
call fcn.004bbb80
test eax, eax
je 0x4ad201
mov ecx, dword [ebx + 0x14]
test byte [ecx + 0xc], 0x20
je 0x4ad227
dec eax
je 0x4ad227
mov dword [ebx + 0x64], 0x1a
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x30]
call edx
test eax, eax
je 0x4ad526
cmp esi, 1
jle 0x4ad49e
mov eax, dword [ebp + 0x28]
test al, 0x20
jne 0x4ad255
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xffffffff
je 0x4ad251
mov edx, dword [esp + 0x34]
lea ecx, [edx + ecx + 1]
cmp ecx, dword [esp + 0x38]
jl 0x4ad478
inc dword [esp + 0x38]
test ah, 4
jne 0x4ad130
mov edi, 1
jmp 0x4ad146
mov dword [esp + 0x5c], ebp
test ebp, ebp
je 0x4acfad
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3350
test eax, eax
jne 0x4ad320
mov dword [esp + 0x10], 0xd9
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.004b2280
mov dword [esp + 0x2c], 0
mov eax, dword [ebx + 0x54]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004acd50
xor eax, eax
test edi, edi
je 0x4ad2f0
mov dword [esp], edi
mov dword [esp + 0x28], eax
call fcn.004b3640
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4ad30c
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 0x28], eax
call fcn.004b8a90
mov eax, dword [esp + 0x28]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xdc
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.004d2e60
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004b30a0
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 0x4acf43
jmp 0x4acfad
xor edi, edi
jmp 0x4acf0f
call fcn.004b2e70
mov dword [ebx + 0x54], eax
test eax, eax
je 0x4ad3ab
mov edx, dword [ebx + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004b3350
test eax, eax
jne 0x4ad43e
mov dword [esp + 0x10], 0xb1
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.004b2280
xor edi, edi
mov dword [esp + 0x2c], 0
jmp 0x4ad2c7
mov dword [esp + 0x10], 0xbc
jmp 0x4ad29b
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3680
dec eax
je 0x4ad742
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3510
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.004b36a0
mov esi, eax
mov dword [esp + 0x48], 0
jmp 0x4acff2
mov dword [esp + 0x10], 0xb4
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.004d2e60
mov dword [ebx + 0x50], 1
jmp 0x4acef2
mov dword [ebx + 0x64], 0x19
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x30]
call edx
test eax, eax
je 0x4ad526
mov eax, dword [ebp + 0x28]
test al, 0x20
je 0x4ad251
jmp 0x4ad255
test eax, eax
je 0x4ad4c8
mov ecx, dword [ebx + 0x14]
test byte [ecx + 0xc], 0x20
je 0x4ad1cc
dec eax
je 0x4ad1cc
mov dword [ebx + 0x64], 0x18
jmp 0x4ad1aa
mov ecx, dword [ebx + 0x14]
test byte [ecx + 0xc], 0x20
je 0x4ad1cc
cmp eax, 1
je 0x4ad1cc
test eax, eax
je 0x4ad1cc
jmp 0x4ad4c8
mov dword [ebx + 0x64], 0x28
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x30]
call edx
test eax, eax
jne 0x4ad186
mov edi, dword [esp + 0x4c]
jmp 0x4ad2c7
mov dword [ebx + 0x64], 0x22
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x30]
call edx
test eax, eax
jne 0x4ad174
jmp 0x4ad526
mov dword [ebx + 0x64], 0x26
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x30]
call edx
test eax, eax
jne 0x4ad140
jmp 0x4ad526
mov edi, dword [esp + 0x4c]
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3680
mov edx, eax
dec edx
js 0x4ad63d
mov dword [esp + 0x30], edi
mov edi, edx
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b36a0
mov ebp, eax
test edi, edi
je 0x4ad5c9
test byte [eax + 0x28], 0x20
jne 0x4ad62f
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3680
lea esi, [eax - 1]
cmp esi, edi
jg 0x4ad5e5
jmp 0x4ad62f
dec esi
cmp esi, edi
je 0x4ad62f
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b36a0
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x4ad5e0
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004fb9e0
test eax, eax
je 0x4ad5e0
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x68], ebp
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x20]
test eax, eax
jne 0x4ad5e0
mov edi, dword [esp + 0x30]
jmp 0x4ad2c7
dec edi
cmp edi, 0xffffffff
jne 0x4ad5ae
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x14]
test eax, eax
jg 0x4ad83a
mov eax, dword [ebx + 0x54]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004acd50
mov dword [esp], ebx
call dword [ebx + 0x2c]
test eax, eax
je 0x4ad2c7
mov eax, dword [ebx + 0x1c]
mov dword [esp], ebx
test eax, eax
je 0x4ad8fb
call eax
test eax, eax
je 0x4ad2c7
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x4ad2dc
mov edx, dword [ebx + 0x14]
test byte [edx + 0xc], 0x80
je 0x4ad2dc
mov dword [esp], ebx
call dword [ebx + 0x3c]
test eax, eax
jne 0x4ad2dc
jmp 0x4ad2c7
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004b8a90
mov dword [esp + 0x10], 0x12e
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.004b2280
xor eax, eax
jmp 0x4ad30c
mov eax, 0x14
jmp 0x4ad0ad
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b3350
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 0x4ad0b3
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 0x4ad7c4
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x28], edx
call fcn.004aed30
test eax, eax
mov edx, dword [esp + 0x28]
je 0x4ad8c0
mov dword [ebx + 0x64], 0x12
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x60], ebp
dec edx
jne 0x4ad796
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004b8a90
mov dword [esp + 4], ebx
mov dword [esp], 0
mov edx, dword [esp + 0x38]
call edx
test eax, eax
je 0x4ad2bf
mov dword [esp + 0x48], 1
mov dword [esp + 0x2c], 0
jmp 0x4acff2
mov dword [ebx + 0x64], 0x12
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x60], ebp
jmp 0x4ad796
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 0x4ad905
mov dword [esp + 0x40], 1
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
jmp 0x4ad0fe
mov dword [esp + 0x10], 0xa4
mov dword [esp + 0xc], str.x509_vfy.c
mov dword [esp + 8], 0x69
mov dword [esp + 4], 0x7f
mov dword [esp], 0xb
call fcn.004b2280
mov eax, 0xffffffff
jmp 0x4ad30c
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
mov dword [esp + 0x28], edx
call fcn.004b3680
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call fcn.004b36a0
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.004fbe60
cmp eax, 1
mov edx, dword [esp + 0x28]
je 0x4ad64c
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 edx
test eax, eax
je 0x4ad2c7
jmp 0x4ad64c
mov dword [esp], esi
call fcn.004b8a90
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.004b36d0
mov dword [ebx + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
jmp 0x4acff2
call fcn.004abca0
jmp 0x4ad67d
shr esi, 6
mov dword [esp + 0x40], esi
and dword [esp + 0x40], 1
jmp 0x4ad7f5