Function at 0x713fb0
Capabilities:
Query environment variable

Disassembly:
cmp byte [0xa3e910], 0
jne 0x714256
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov byte [0xa3e910], 1
mov esi, 0xa3e912
push 0x30
push 0xa3e912
push str.OPENSSL_ia32cap
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add eax, 0xffffffd0
xor ecx, ecx
cmp eax, 0xffffffd1
cmovae ecx, esi
jae 0x714004
mov eax, dword [0xa3918c]
push eax
call fcn.005e81d0
add esp, 4
mov ecx, eax
jmp 0x71423f
mov dword [esp], ecx
movzx ecx, word [0xa3e912]
xor eax, eax
mov word [esp + 8], cx
cmp cx, 0x7e
sete al
lea ecx, [eax*2 + 0xa3e912]
cmp word [eax + eax + 0xa3e912], 0x30
jne 0x71405d
lea esi, [ecx + 2]
movzx eax, word [ecx + 2]
push eax
mov edi, ecx
call fcn.005d8be0
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 0x714065
mov dword [esp + 4], 0xa
xor ebx, ebx
xor edi, edi
jmp 0x71408d
add esi, 0xffffffd0
mov edx, dword [esp + 4]
cmp esi, edx
jae 0x7140c4
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.005d8bb0
add esp, 4
test eax, eax
jne 0x714070
push 0x10
push esi
call fcn.005d8b90
add esp, 8
test eax, eax
je 0x7140c4
push esi
call fcn.005d8be0
add esp, 4
mov esi, eax
add esi, 0xffffffa9
mov edx, dword [esp + 4]
cmp esi, edx
jb 0x71407b
cmp word [esp + 8], 0x7e
jne 0x7140fa
mov eax, dword [0xa3918c]
push eax
call fcn.005e81d0
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 0x71411a
mov ebp, dword [esp]
cmp word [ebp], 0x3a
jne 0x714116
mov eax, dword [0xa3918c]
push eax
call fcn.005e81d0
add esp, 4
mov ecx, eax
jmp 0x71411a
mov ecx, ebx
mov edx, edi
add ebp, 4
movzx eax, word [ebp - 4]
test eax, eax
je 0x714140
nop word cs:[eax + eax]
cmp eax, 0x3a
je 0x714153
add ebp, 2
movzx eax, word [ebp - 4]
test eax, eax
jne 0x714130
mov eax, dword [0xa3918c]
mov dword [eax + 8], 0
xor edi, edi
jmp 0x71423c
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 0x7141a9
lea esi, [ebx*2]
add esi, ebp
movzx eax, word [ebp + ebx*2]
push eax
call fcn.005d8be0
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 0x7141ba
lea ecx, [ebx*2 - 2]
add ecx, ebp
mov dword [esp + 4], 0xa
xor ebx, ebx
xor edi, edi
jmp 0x7141dd
add ebp, 0xffffffd0
mov edx, dword [esp + 4]
cmp ebp, edx
jae 0x714214
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.005d8bb0
add esp, 4
test eax, eax
jne 0x7141c0
push 0x10
push ebp
call fcn.005d8b90
add esp, 8
test eax, eax
je 0x714214
push ebp
call fcn.005d8be0
add esp, 4
mov ebp, eax
add ebp, 0xffffffa9
mov edx, dword [esp + 4]
cmp ebp, edx
jb 0x7141cb
cmp word [esp + 0xe], 0x7e
jne 0x71422d
not ebx
mov eax, dword [0xa3918c]
and dword [eax + 8], ebx
not edi
and edi, dword [eax + 0xc]
jmp 0x714235
mov eax, dword [0xa3918c]
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 [0xa3918c]
mov dword [eax], ecx
mov dword [eax + 4], edx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret