Function at 0x10011d60
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 0x100120a0
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 0x10011dcc
cmp byte [eax], 0x31
je 0x10012070
mov dword [esp], str.FAUDIO_LOG_ERRORS
call esi
test eax, eax
je 0x10011df1
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012060
and edx, 0xfffffffe
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_WARNINGS
call esi
test eax, eax
je 0x10011e16
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10011fc8
and edx, 0xfffffffd
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_INFO
call esi
test eax, eax
je 0x10011e3b
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012050
and edx, 0xfffffffb
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_DETAIL
call esi
test eax, eax
je 0x10011e60
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012040
and edx, 0xfffffff7
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_API_CALLS
call esi
test eax, eax
je 0x10011e85
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012030
and edx, 0xffffffef
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_FUNC_CALLS
call esi
test eax, eax
je 0x10011eaa
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012020
and edx, 0xffffffdf
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_TIMING
call esi
test eax, eax
je 0x10011ecf
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012010
and edx, 0xffffffbf
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_LOCKS
call esi
test eax, eax
je 0x10011ef4
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10012000
and dl, 0x7f
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_MEMORY
call esi
test eax, eax
je 0x10011f19
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10011ff0
and dh, 0xfe
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_STREAMING
call esi
test eax, eax
je 0x10011f3e
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10011fe0
and dh, 0xef
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_LOGTHREADID
call esi
test eax, eax
je 0x10011f5a
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 0x10011f76
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 0x10011f92
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 0x10011fae
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0xa4], eax
test byte [ebx + 0x90], 0x10
jne 0x100120d8
add esp, 0x18
pop ebx
pop esi
pop ebp
ret
or edx, 2
mov dword [ebx + 0x90], edx
jmp 0x10011e16
or dh, 0x10
mov dword [ebx + 0x90], edx
jmp 0x10011f3e
or dh, 1
mov dword [ebx + 0x90], edx
jmp 0x10011f19
or dl, 0x80
mov dword [ebx + 0x90], edx
jmp 0x10011ef4
or edx, 0x40
mov dword [ebx + 0x90], edx
jmp 0x10011ecf
or edx, 0x20
mov dword [ebx + 0x90], edx
jmp 0x10011eaa
or edx, 0x10
mov dword [ebx + 0x90], edx
jmp 0x10011e85
or edx, 8
mov dword [ebx + 0x90], edx
jmp 0x10011e60
or edx, 4
mov dword [ebx + 0x90], edx
jmp 0x10011e3b
or edx, 1
mov dword [ebx + 0x90], edx
jmp 0x10011df1
mov dword [ebx + 0x90], 0x11ff
mov eax, 1
mov dword [ebx + 0x98], 1
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
jmp 0x10011dcc
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._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], ebx
call fcn.1001cc10
jmp 0x10011d7b
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._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
call fcn.1001cc10
add esp, 0x18
pop ebx
pop esi
pop ebp
ret