Function at 0x10013060
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 0x100133a0
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 0x100130cc
cmp byte [eax], 0x31
je 0x10013370
mov dword [esp], str.FAUDIO_LOG_ERRORS
call esi
test eax, eax
je 0x100130f1
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013360
and edx, 0xfffffffe
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_WARNINGS
call esi
test eax, eax
je 0x10013116
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x100132c8
and edx, 0xfffffffd
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_INFO
call esi
test eax, eax
je 0x1001313b
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013350
and edx, 0xfffffffb
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_DETAIL
call esi
test eax, eax
je 0x10013160
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013340
and edx, 0xfffffff7
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_API_CALLS
call esi
test eax, eax
je 0x10013185
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013330
and edx, 0xffffffef
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_FUNC_CALLS
call esi
test eax, eax
je 0x100131aa
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013320
and edx, 0xffffffdf
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_TIMING
call esi
test eax, eax
je 0x100131cf
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013310
and edx, 0xffffffbf
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_LOCKS
call esi
test eax, eax
je 0x100131f4
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x10013300
and dl, 0x7f
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_MEMORY
call esi
test eax, eax
je 0x10013219
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x100132f0
and dh, 0xfe
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_STREAMING
call esi
test eax, eax
je 0x1001323e
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x100132e0
and dh, 0xef
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_LOGTHREADID
call esi
test eax, eax
je 0x1001325a
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 0x10013276
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 0x10013292
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 0x100132ae
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0xa4], eax
test byte [ebx + 0x90], 0x10
jne 0x100133d8
add esp, 0x18
pop ebx
pop esi
pop ebp
ret
or edx, 2
mov dword [ebx + 0x90], edx
jmp 0x10013116
or dh, 0x10
mov dword [ebx + 0x90], edx
jmp 0x1001323e
or dh, 1
mov dword [ebx + 0x90], edx
jmp 0x10013219
or dl, 0x80
mov dword [ebx + 0x90], edx
jmp 0x100131f4
or edx, 0x40
mov dword [ebx + 0x90], edx
jmp 0x100131cf
or edx, 0x20
mov dword [ebx + 0x90], edx
jmp 0x100131aa
or edx, 0x10
mov dword [ebx + 0x90], edx
jmp 0x10013185
or edx, 8
mov dword [ebx + 0x90], edx
jmp 0x10013160
or edx, 4
mov dword [ebx + 0x90], edx
jmp 0x1001313b
or edx, 1
mov dword [ebx + 0x90], edx
jmp 0x100130f1
mov dword [ebx + 0x90], 0x11ff
mov eax, 1
mov dword [ebx + 0x98], 1
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
jmp 0x100130cc
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.1001df10
jmp 0x1001307b
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.1001df10
add esp, 0x18
pop ebx
pop esi
pop ebp
ret