Function at 0x6cc51fd0
Capabilities:
Query environment variable

Disassembly:
push esi
push ebx
sub esp, 0x24
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test byte [ebx + 0x90], 0x10
jne 0x6cc52300
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 0x6cc5203b
cmp byte [eax], 0x31
je 0x6cc522d0
mov dword [esp], str.FAUDIO_LOG_ERRORS
call esi
test eax, eax
je 0x6cc52060
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc522c0
and edx, 0xfffffffe
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_WARNINGS
call esi
test eax, eax
je 0x6cc52085
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52230
and edx, 0xfffffffd
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_INFO
call esi
test eax, eax
je 0x6cc520aa
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc522b0
and edx, 0xfffffffb
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_DETAIL
call esi
test eax, eax
je 0x6cc520cf
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc522a0
and edx, 0xfffffff7
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_API_CALLS
call esi
test eax, eax
je 0x6cc520f4
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52290
and edx, 0xffffffef
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_FUNC_CALLS
call esi
test eax, eax
je 0x6cc52119
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52280
and edx, 0xffffffdf
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_TIMING
call esi
test eax, eax
je 0x6cc5213e
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52270
and edx, 0xffffffbf
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_LOCKS
call esi
test eax, eax
je 0x6cc52163
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52260
and dl, 0x7f
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_MEMORY
call esi
test eax, eax
je 0x6cc52188
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52250
and dh, 0xfe
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_STREAMING
call esi
test eax, eax
je 0x6cc521ad
cmp byte [eax], 0x31
mov edx, dword [ebx + 0x90]
je 0x6cc52240
and dh, 0xef
mov dword [ebx + 0x90], edx
mov dword [esp], str.FAUDIO_LOG_LOGTHREADID
call esi
test eax, eax
je 0x6cc521c9
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 0x6cc521e5
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 0x6cc52201
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 0x6cc5221d
cmp byte [eax], 0x31
sete al
movzx eax, al
mov dword [ebx + 0xa4], eax
test byte [ebx + 0x90], 0x10
jne 0x6cc52338
add esp, 0x24
pop ebx
pop esi
ret
or edx, 2
mov dword [ebx + 0x90], edx
jmp 0x6cc52085
or dh, 0x10
mov dword [ebx + 0x90], edx
jmp 0x6cc521ad
or dh, 1
mov dword [ebx + 0x90], edx
jmp 0x6cc52188
or dl, 0x80
mov dword [ebx + 0x90], edx
jmp 0x6cc52163
or edx, 0x40
mov dword [ebx + 0x90], edx
jmp 0x6cc5213e
or edx, 0x20
mov dword [ebx + 0x90], edx
jmp 0x6cc52119
or edx, 0x10
mov dword [ebx + 0x90], edx
jmp 0x6cc520f4
or edx, 8
mov dword [ebx + 0x90], edx
jmp 0x6cc520cf
or edx, 4
mov dword [ebx + 0x90], edx
jmp 0x6cc520aa
or edx, 1
mov dword [ebx + 0x90], edx
jmp 0x6cc52060
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 0x6cc5203b
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], 0x3ab
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], ebx
call fcn.6cc5ca40
jmp 0x6cc51fea
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], 0x3eb
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
call fcn.6cc5ca40
add esp, 0x24
pop ebx
pop esi
ret