Function at 0x691ca400
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [ebx + 0x90], 0x10
jne 0x691ca6b8
mov edx, dword [esi]
mov dword [ebx + 0x90], edx
mov edx, dword [esi + 4]
mov dword [ebx + 0x94], edx
mov edx, dword [esi + 8]
mov dword [ebx + 0x98], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0x9c], edx
mov edx, dword [esi + 0x10]
mov dword [ebx + 0xa0], edx
mov edx, dword [esi + 0x14]
mov esi, dword [sym.imp.ucrtbase.dll_getenv]
mov dword [ebx + 0xa4], edx
mov dword [esp], str.FAUDIO_LOG_EVERYTHING
call esi
test eax, eax
je 0x691ca46c
cmp byte [eax], 0x31
je 0x691ca688
mov dword [esp], str.FAUDIO_LOG_ERRORS
call esi
mov edx, eax
test eax, eax
je 0x691ca495
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 1
and ecx, 0xfffffffe
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_WARNINGS
call esi
mov edx, eax
test eax, eax
je 0x691ca4be
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 2
and ecx, 0xfffffffd
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_INFO
call esi
mov edx, eax
test eax, eax
je 0x691ca4e7
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 4
and ecx, 0xfffffffb
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_DETAIL
call esi
mov edx, eax
test eax, eax
je 0x691ca510
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 8
and ecx, 0xfffffff7
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_API_CALLS
call esi
mov edx, eax
test eax, eax
je 0x691ca539
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 0x10
and ecx, 0xffffffef
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_FUNC_CALLS
call esi
mov edx, eax
test eax, eax
je 0x691ca562
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 0x20
and ecx, 0xffffffdf
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_TIMING
call esi
mov edx, eax
test eax, eax
je 0x691ca58b
mov eax, dword [ebx + 0x90]
mov ecx, eax
or eax, 0x40
and ecx, 0xffffffbf
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_LOCKS
call esi
mov edx, eax
test eax, eax
je 0x691ca5b3
mov eax, dword [ebx + 0x90]
mov ecx, eax
or al, 0x80
and cl, 0x7f
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_MEMORY
call esi
mov edx, eax
test eax, eax
je 0x691ca5dc
mov eax, dword [ebx + 0x90]
mov ecx, eax
or ah, 1
and ch, 0xfe
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_STREAMING
call esi
mov edx, eax
test eax, eax
je 0x691ca605
mov eax, dword [ebx + 0x90]
mov ecx, eax
or ah, 0x10
and ch, 0xef
cmp byte [edx], 0x31
cmovne eax, ecx
mov dword [ebx + 0x90], eax
mov dword [esp], str.FAUDIO_LOG_LOGTHREADID
call esi
test eax, eax
je 0x691ca621
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0x98], eax
mov dword [esp], str.FAUDIO_LOG_LOGFILELINE
call esi
test eax, eax
je 0x691ca63d
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0x9c], eax
mov dword [esp], str.FAUDIO_LOG_LOGFUNCTIONNAME
call esi
test eax, eax
je 0x691ca659
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0xa0], eax
mov dword [esp], str.FAUDIO_LOG_LOGTIMING
call esi
test eax, eax
je 0x691ca675
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0xa4], eax
test byte [ebx + 0x90], 0x10
jne 0x691ca6f0
add esp, 0x20
pop ebx
pop esi
pop ebp
ret
mov dword [ebx + 0x90], 0x11ff
mov dword [ebx + 0x98], 1
mov dword [ebx + 0xa0], 1
mov dword [ebx + 0xa4], 1
jmp 0x691ca46c
mov dword [esp + 0x14], str.FAudio_SetDebugConfiguration
mov dword [esp + 0x10], str.API_Enter:__s
mov dword [esp + 0xc], str.FAudio_SetDebugConfiguration
mov dword [esp + 8], 0x3b0
mov dword [esp + 4], str..._ValveSoftware_winegit_libs_faudio_src_FAudio.c
mov dword [esp], ebx
call fcn.691d41c0
jmp 0x691ca41b
mov dword [esp], ebx
mov dword [esp + 0x14], str.FAudio_SetDebugConfiguration
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudio_SetDebugConfiguration
mov dword [esp + 8], 0x3f0
mov dword [esp + 4], str..._ValveSoftware_winegit_libs_faudio_src_FAudio.c
call fcn.691d41c0
add esp, 0x20
pop ebx
pop esi
pop ebp
ret