Function at 0x715fb0
Capabilities:
Query environment variable

Disassembly:
cmp byte [0xae5910], 0
jne 0x716256
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov byte [0xae5910], 1
mov esi, 0xae5912
push 0x30
push 0xae5912
push str.OPENSSL_ia32cap
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add eax, 0xffffffd0
xor ecx, ecx
cmp eax, 0xffffffd1
cmovae ecx, esi
jae 0x716004
mov eax, dword [0xad5c00]
push eax
call fcn.005e97e0
add esp, 4
mov ecx, eax
jmp 0x71623f
mov dword [esp], ecx
movzx ecx, word [0xae5912]
xor eax, eax
mov word [esp + 8], cx
cmp cx, 0x7e
sete al
lea ecx, [eax*2 + 0xae5912]
cmp word [eax + eax + 0xae5912], 0x30
jne 0x71605d
lea esi, [ecx + 2]
movzx eax, word [ecx + 2]
push eax
mov edi, ecx
call fcn.005da1f0
add esp, 4
add edi, 4
xor ecx, ecx
cmp eax, 0x78
sete cl
cmovne edi, esi
lea eax, [ecx*8 + 8]
mov dword [esp + 4], eax
mov ecx, edi
jmp 0x716065
mov dword [esp + 4], 0xa
xor ebx, ebx
xor edi, edi
jmp 0x71608d
add esi, 0xffffffd0
mov edx, dword [esp + 4]
cmp esi, edx
jae 0x7160c4
mov ecx, ebp
add ecx, 2
imul edi, edx
mov eax, ebx
mul edx
mov ebx, eax
add ebx, esi
adc edi, edx
mov ebp, ecx
movzx esi, word [ecx]
push esi
call fcn.005da1c0
add esp, 4
test eax, eax
jne 0x716070
push 0x10
push esi
call fcn.005da1a0
add esp, 8
test eax, eax
je 0x7160c4
push esi
call fcn.005da1f0
add esp, 4
mov esi, eax
add esi, 0xffffffa9
mov edx, dword [esp + 4]
cmp esi, edx
jb 0x71607b
cmp word [esp + 8], 0x7e
jne 0x7160fa
mov eax, dword [0xad5c00]
push eax
call fcn.005e97e0
add esp, 4
not edi
mov ecx, ebx
not ecx
and ecx, eax
and edi, edx
mov edx, edi
and edx, 0xedfff7fd
test ebx, 0x1000000
cmove edx, edi
mov ebp, dword [esp]
jmp 0x71611a
mov ebp, dword [esp]
cmp word [ebp], 0x3a
jne 0x716116
mov eax, dword [0xad5c00]
push eax
call fcn.005e97e0
add esp, 4
mov ecx, eax
jmp 0x71611a
mov ecx, ebx
mov edx, edi
add ebp, 4
movzx eax, word [ebp - 4]
test eax, eax
je 0x716140
nop word cs:[eax + eax]
cmp eax, 0x3a
je 0x716153
add ebp, 2
movzx eax, word [ebp - 4]
test eax, eax
jne 0x716130
mov eax, dword [0xad5c00]
mov dword [eax + 8], 0
xor edi, edi
jmp 0x71623c
movzx eax, word [ebp - 2]
xor ebx, ebx
mov word [esp + 0xe], ax
cmp ax, 0x7e
sete bl
cmp word [ebp + ebx*2 - 2], 0x30
mov dword [esp], ecx
mov dword [esp + 8], edx
jne 0x7161a9
lea esi, [ebx*2]
add esi, ebp
movzx eax, word [ebp + ebx*2]
push eax
call fcn.005da1f0
add esp, 4
xor ecx, ecx
cmp eax, 0x78
sete cl
lea eax, [ebp + ebx*2 + 2]
cmovne eax, esi
lea ecx, [ecx*8 + 8]
mov dword [esp + 4], ecx
mov ecx, eax
jmp 0x7161ba
lea ecx, [ebx*2 - 2]
add ecx, ebp
mov dword [esp + 4], 0xa
xor ebx, ebx
xor edi, edi
jmp 0x7161dd
add ebp, 0xffffffd0
mov edx, dword [esp + 4]
cmp ebp, edx
jae 0x716214
mov ecx, esi
add ecx, 2
imul edi, edx
mov eax, ebx
mul edx
mov ebx, eax
add ebx, ebp
adc edi, edx
mov esi, ecx
movzx ebp, word [ecx]
push ebp
call fcn.005da1c0
add esp, 4
test eax, eax
jne 0x7161c0
push 0x10
push ebp
call fcn.005da1a0
add esp, 8
test eax, eax
je 0x716214
push ebp
call fcn.005da1f0
add esp, 4
mov ebp, eax
add ebp, 0xffffffa9
mov edx, dword [esp + 4]
cmp ebp, edx
jb 0x7161cb
cmp word [esp + 0xe], 0x7e
jne 0x71622d
not ebx
mov eax, dword [0xad5c00]
and dword [eax + 8], ebx
not edi
and edi, dword [eax + 0xc]
jmp 0x716235
mov eax, dword [0xad5c00]
mov dword [eax + 8], ebx
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [eax + 0xc], edi
or ecx, 0x400
mov eax, dword [0xad5c00]
mov dword [eax], ecx
mov dword [eax + 4], edx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret