Function at 0x5aaff0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x5ab2bc
mov dword [esp + 0xc], 0x14d
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 9
call fcn.004b73e0
mov ebx, dword [0x6e81ac]
test ebx, ebx
jne 0x5ab047
jmp 0x5ab0b0
mov ebx, dword [ebx + 0x6c]
test ebx, ebx
je 0x5ab0b0
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x5ab040
mov esi, ebx
test byte [ebx + 0x54], 4
jne 0x5ab0a0
inc dword [ebx + 0x58]
mov dword [esp + 0xc], 0x164
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 0xa
call fcn.004b73e0
mov eax, esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.005aa260
mov esi, eax
test eax, eax
jne 0x5ab230
nop
mov dword [esp + 0xc], 0x164
mov dword [esp + 8], str.eng_list.c
mov dword [esp + 4], 0x1e
mov dword [esp], 0xa
call fcn.004b73e0
mov edi, 0x6986fa
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x5ab2b5
mov dword [esp], str.OPENSSL_ENGINES
call sub.msvcrt.dll_getenv
mov esi, eax
test eax, eax
je 0x5ab2ab
mov dword [esp], 0x6986fa
call fcn.005aaff0
mov ebx, eax
test eax, eax
je 0x5ab2b5
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x698702
mov dword [esp], eax
call fcn.005abcf0
test eax, eax
je 0x5ab1d0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x698705
mov dword [esp + 4], str.DIR_LOAD
mov dword [esp], ebx
call fcn.005abcf0
test eax, eax
je 0x5ab1d0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], str.DIR_ADD
mov dword [esp], ebx
call fcn.005abcf0
test eax, eax
je 0x5ab1d0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x698718
mov dword [esp + 4], 0x69871a
mov dword [esp], ebx
call fcn.005abcf0
test eax, eax
je 0x5ab1d0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x698723
mov dword [esp], ebx
call fcn.005abcf0
mov edx, eax
mov eax, ebx
test edx, edx
jne 0x5ab08a
lea esi, [esi]
mov dword [esp], ebx
call fcn.005aa470
mov dword [esp + 0x10], 0x186
mov dword [esp + 0xc], str.eng_list.c
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0x6a
mov dword [esp], 0x26
call fcn.004f0560
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x698728
mov dword [esp], 2
call fcn.004f0ed0
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x54], eax
jmp 0x5ab064
mov esi, str._win32dev_misc_wget_out32_lib_engines
jmp 0x5ab0fe
xor ebx, ebx
jmp 0x5ab1d0
mov dword [esp + 0x10], 0x14a
mov dword [esp + 0xc], str.eng_list.c
mov dword [esp + 8], 0x43
mov dword [esp + 4], 0x6a
mov dword [esp], 0x26
call fcn.004f0560
xor eax, eax
jmp 0x5ab08a