Function at 0x10008000
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [ebx + 0x90], 0x10
jne 0x100082c0
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 0x1000806c
cmp byte [eax], 0x31
je 0x10008288
mov dword [esp], str.FAUDIO_LOG_ERRORS
call esi
mov edx, eax
test eax, eax
je 0x10008095
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 0x100080be
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 0x100080e7
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 0x10008110
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 0x10008139
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 0x10008162
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 0x1000818b
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 0x100081b3
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 0x100081dc
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 0x10008205
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 0x10008221
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 0x1000823d
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 0x10008259
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 0x10008275
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0xa4], eax
test byte [ebx + 0x90], 0x10
jne 0x100082f8
add esp, 0x18
pop ebx
pop esi
pop ebp
ret
mov eax, 1
mov edx, 1
mov dword [ebx + 0x90], 0x11ff
mov dword [ebx + 0x98], 1
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], edx
jmp 0x1000806c
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], 0x3b2
mov dword [esp + 4], str..._libs_faudio_src_FAudio.c
mov dword [esp], ebx
call fcn.10012ca0
jmp 0x1000801b
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], 0x3f2
mov dword [esp + 4], str..._libs_faudio_src_FAudio.c
call fcn.10012ca0
add esp, 0x18
pop ebx
pop esi
pop ebp
ret