Function at 0x516fb20
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x522f65c
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.0520b920
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x1134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x114c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1168]
mov eax, dword [esp + 0x1164]
mov ebp, dword [esp + 0x115c]
mov ebx, dword [esp + 0x116c]
mov dword [esp + 0x14], ecx
xor edi, edi
push ebp
mov ecx, 0x53f4cc8
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edi
call fcn.050674e0
test al, al
jne 0x516fbf3
push str._ERROR:
push 0xff
push 0x2b6
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x78]
call fcn.051ae270
mov dword [esp + 0x1154], edi
mov edx, dword [0x56bc0f0]
push ebp
push ebx
push str.__d___s__:_invalid_handle_
push edx
push eax
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.051ae2c0
lea eax, [edi + 0xd]
jmp 0x51710e8
movzx esi, byte [esp + 0x1170]
mov dword [esp + 0x50], esi
cmp esi, 0x1b
ja case.0x516fc0f.5
movzx eax, byte [esi + 0x5171124]
jmp dword [eax*4 + 0x5171114]
cmp dword [esp + 0x14], edi
jne case.0x516fc0f.5
push str._ERROR:
push 0xff
push 0x2cd
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x78]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x1154], 1
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push ebx
push ebp
push str.__d___s__:_invalid_arguments____cnf_arg_0x_08X_.
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x51710e8
cmp dword [esp + 0x20], edi
jne case.0x516fc0f.5
push str._ERROR:
push 0xff
push 0x2df
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x94]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x1154], 2
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push ebx
push ebp
push str.__d___s__:_invalid_arguments____req_arg_0x_08X_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x51710e8
cmp dword [esp + 0x20], edi
je 0x516fd0c
cmp dword [esp + 0x14], edi
jne case.0x516fc0f.5
push str._ERROR:
push 0xff
push 0x2ed
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x1154], 3
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 8]
push ecx
push edx
push ebx
push ebp
push str.__d___s__:_invalid_arguments____req_arg_0x_08X___cnf_arg_0x_08X_.
push eax
push esi
call fcn.051ae2d0
add esp, 0x1c
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov eax, 0xa
jmp 0x51710e8
push 0x52c722a
push 1
push 0x2f9
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1154], 4
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push str.__d__________Request________
push eax
push ebx
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x2fa
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x1154], 5
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x56
push 0x56
mov dword [esp + 0x2c], eax
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esi*4 + 0x527e888]
push eax
push esi
push ecx
push 0x55
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x3c]
push edx
push ebp
push str.__d___s__:_req_s__d____s__d___cnf_s__d_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
lea ecx, [esp + 0xec]
call fcn.0516cf40
mov dword [esp + 0x1154], 6
push 0x7d8
lea ecx, [esp + 0xfc]
push edi
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
push edi
lea edx, [esp + 0xf4]
push edx
push 0x516e4b0
push esi
push 0x56
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x8f0], ebp
push ebp
lea ecx, [esp + 0x78]
call fcn.050659a0
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], edi
xor ebx, ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x1154], 8
dec esi
cmp esi, 0x18
ja case.0x516fef3.2
movzx ecx, byte [esi + 0x5171154]
jmp dword [ecx*4 + 0x5171140]
push str.GetStructSize
lea edx, [esp + 0x28]
push edx
push str.ft_l4aud_ex_set_acf_to_target_req_T
mov dword [esp + 0x30], edi
call fcn.051a8740
mov ebx, dword [esp + 0x30]
add esp, 0xc
jmp case.0x516fef3.2
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x7d0]
jmp case.0x516fef3.2
mov eax, dword [esp + 0x20]
add eax, 0xc
cmp byte [eax], 0x58
mov dword [esp + 0x24], eax
je case.0x516fef3.2
push 0x52c722a
push 1
push 0x322
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x1154], 9
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 8]
push ecx
push ebp
push str.__d__filepath:__s
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.051a8a10
add esp, 8
test eax, eax
je 0x517000d
push str._ERROR:
push 0xff
push 0x325
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x94]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0xa
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.ConvertMultiByteStrToWideCharStr__:_failed_
push eax
push esi
call fcn.051ae2d0
add esp, 0xc
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x84]
jmp 0x51710a1
mov ebx, dword [esp + 0xac]
lea ebx, [ebx + ebx + 2]
jmp case.0x516fef3.2
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx]
push 0x52c722a
push 1
push 0x331
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x78]
call fcn.051ae270
mov dword [esp + 0x24], eax
mov byte [esp + 0x1154], 0xb
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x24]
push ebx
push ebp
push str.__d__record_len:__d
push eax
push edx
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x68]
call fcn.051ae2c0
push 0x10600
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push 0x55
push edx
push ebp
call fcn.051a85f0
add esp, 0x28
cmp eax, edi
je 0x517011a
sub eax, 1
je 0x51700d1
sub eax, 1
je 0x51700ca
sub eax, 1
je 0x51700c3
mov esi, 1
jmp 0x51700d6
mov esi, 8
jmp 0x51700d6
mov esi, 9
jmp 0x51700d6
mov esi, 0xa
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x1154], 6
lea ecx, [esp + 0x58]
call fcn.05065ae0
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.0516cff0
mov eax, esi
jmp 0x51710e8
mov eax, dword [esp + 0x1170]
push eax
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
push str.l4aud_op
push ecx
push edx
call fcn.05038080
add esp, 0x14
cmp esi, 0x19
ja case.0x5170151.1
movzx eax, byte [esi + 0x51711a0]
jmp dword [eax*4 + 0x5171170]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], 0
jmp 0x5170170
mov dword [esp + 0x24], 0
jmp 0x5170180
xor esi, esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push esi
push ecx
push edx
lea eax, [esp + 0x10d4]
push str.iir_coeff_int__d___d___d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [edi]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x50]
push str.ft_l4aud_ex_set_acf_to_target_req_T
lea edx, [esp + 0x10e4]
push edx
add ecx, eax
push ebx
push ecx
call fcn.05038040
inc esi
add esp, 0x28
add edi, 4
cmp esi, 3
jl 0x5170182
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 6
mov dword [esp + 0x24], eax
jl 0x5170180
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 4
mov dword [esp + 0x28], eax
jl 0x5170170
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], 0
add edi, 0x120
xor esi, esi
lea ecx, [ecx]
mov edx, dword [esp + 0x28]
push esi
push edx
lea eax, [esp + 0x10d0]
push str.hsf_coeff_int__d___d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [edi]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push str.ft_l4aud_ex_set_acf_to_target_req_T
lea edx, [esp + 0x10e0]
push edx
add ecx, eax
push ebx
push ecx
call fcn.05038040
inc esi
add esp, 0x24
add edi, 4
cmp esi, 4
jl 0x5170200
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 9
mov dword [esp + 0x28], eax
jl 0x51701fb
jmp case.0x5170151.1
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x7d0]
mov ecx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x40]
add eax, ecx
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.0x5170151.1
mov esi, dword [esp + 0x20]
movzx edx, byte [esi]
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rPgaGainQuery.i1BufType
push eax
push ecx
call fcn.05085580
movzx edx, word [esi + 2]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rPgaGainQuery.u2BufLevel
push eax
push ecx
call fcn.050380c0
jmp 0x517061a
mov esi, dword [esp + 0x20]
movzx edx, byte [esi]
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rExtAmpQuery.u1ExtDac
push eax
push ecx
call fcn.05038080
movzx edx, word [esi + 2]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rExtAmpQuery.u2CtrlPoint
push eax
push ecx
call fcn.050380c0
jmp 0x517061a
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rRecordingParam.fmt
push eax
push ecx
call fcn.05038040
movzx edx, word [esi + 4]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rRecordingParam.param
push eax
push ecx
call fcn.050380c0
mov edx, dword [esi + 8]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rRecordingParam.requested_time
push eax
push ecx
call fcn.05038040
movzx edx, byte [esi + 0x20c]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rRecordingParam.inputVolume
push eax
push ecx
call fcn.05038080
add esp, 0x14
test ebx, ebx
je case.0x5170151.1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push ebx
add edx, eax
push edx
lea ecx, [esp + 0xa0]
push ecx
call fcn.051a8f60
add esp, 0xc
test eax, eax
je case.0x5170151.1
push str._ERROR:
push 0xff
push 0x396
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0xc
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.CopyWideCharStrToBuf__:_failed_
push eax
push esi
call fcn.051ae2d0
add esp, 0xc
jmp 0x5171095
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.format
push eax
push ecx
call fcn.05038040
movzx edx, word [esi + 4]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.playDrive
push eax
push ecx
call fcn.05072db0
movzx edx, word [esi + 6]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.recordDrive
push eax
push ecx
call fcn.05072db0
movzx edx, byte [esi + 8]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.outputDevice
push eax
push ecx
call fcn.05038080
movzx edx, byte [esi + 9]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.outputVolume
push eax
push ecx
call fcn.05038080
movzx edx, byte [esi + 0xa]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.inputDevice
push eax
push ecx
call fcn.05038080
movzx edx, byte [esi + 0xb]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.inputVolume
push eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.05038080
movzx edx, byte [esi + 0xc]
add esp, 0x14
push edx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push str.req.m_rEchoLoopParam.sidetoneVolume
push eax
push ecx
call fcn.05038080
jmp 0x517061a
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push eax
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
push str.req.pcm2WayFormat
push ecx
push edx
call fcn.05038040
jmp 0x517061a
mov esi, dword [esp + 0x20]
movzx eax, byte [esi]
push eax
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
push str.req.m_rQuerySpeechFirReq.isWideBand
push ecx
push edx
call fcn.05038080
movzx eax, byte [esi + 1]
add esp, 0x14
push eax
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push eax
push str.req.m_rQuerySpeechFirReq.isOutputFir
push ecx
push edx
call fcn.05038080
jmp 0x517061a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
add ecx, eax
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.0x5170151.1
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
add ecx, edx
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.0x5170151.1
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax]
push ecx
push 0x55
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push str.req.flexibleEqOn
push edx
push eax
call fcn.05085580
add esp, 0x14
mov eax, dword [esp + 0x18]
xor esi, esi
push 1
cmp dword [esp + 0x34], esi
je 0x51706fd
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
call fcn.05032d60
add esp, 0x18
test al, al
jne 0x517073c
push str._ERROR:
push 0xff
push 0x3ce
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0xd
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [esp + 0x18]
movsx ecx, word [esp + 0x2c]
mov eax, dword [eax + 8]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push ebp
push str.__d___s_token_d_:_SendPrimitive_local_len_d__fail_
push eax
push esi
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x1154], 6
lea ecx, [esp + 0x58]
call fcn.05065ae0
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.0516cff0
mov eax, 2
jmp 0x51710e8
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.05048250
add esp, 0x10
test al, al
jne 0x517073c
push str._ERROR:
push 0xff
push 0x3d6
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0xe
jmp 0x5170677
push 0x52c722a
push 1
push 0x3db
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1154], 0xf
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebp
push str.__d______Request_End.
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [esp + 0x1160]
mov ecx, dword [esp + 0xf0]
add eax, 0xa8d0
mov eax, dword [eax + 4]
push edx
mov dword [esp + 0x80], eax
push esi
lea eax, [esp + 0x84]
push eax
push 2
mov dword [esp + 0x90], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, esi
jne 0x51708d7
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
add eax, 0xa800
mov edx, dword [eax + 0x28]
lea esi, [eax + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [esp + 0x1154], 0x10
mov ecx, dword [esp + 0x2c]
push ecx
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, eax
add ecx, 0xa800
call fcn.05192530
push str._WARNING:
push 0xd2
push 0x3ec
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1154], 0x11
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx edx, word [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
push edx
push ecx
push ebp
push str.__d___s_token_d_:_Cancel_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1154], 0x10
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov byte [esp + 0x1154], 8
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x1154], 6
lea ecx, [esp + 0x58]
call fcn.05065ae0
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.0516cff0
mov eax, 0x1e
jmp 0x51710e8
cmp eax, 1
jne 0x5170f89
mov eax, dword [esp + 0x50]
cmp eax, 0x1b
ja case.0x51708ed.1
jmp dword [eax*4 + 0x51711bc]
mov edi, dword [esp + 0x14]
mov ecx, 8
lea esi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
jmp case.0x51708ed.1
mov eax, dword [esp + 0x14]
mov ecx, 0x15e
lea esi, [esp + 0xf8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp byte [eax], 0
jbe case.0x51708ed.1
mov esi, eax
add esi, 0xe
push 0x52c722a
push 1
push 0x41c
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov ebx, eax
mov byte [esp + 0x1154], 0x14
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx ecx, byte [esi - 3]
movzx edx, word [esi]
push ecx
movzx ecx, byte [esi - 4]
push edx
movzx edx, byte [esi - 6]
push ecx
movzx ecx, word [esi - 2]
mov eax, dword [eax + 8]
push edx
movsx edx, byte [esi - 5]
push ecx
movzx ecx, word [esi - 8]
push edx
movzx edx, word [esi - 0xa]
push ecx
movzx ecx, byte [esi - 0xc]
push edx
mov edx, dword [esp + 0x54]
push edi
push ecx
push edx
push str._s__:_Get_Gain_Table__d__d___d__d__PGA__d__d___DG__d___EXT_AMP_0x_x__d___TYPE:_d_PURE:0_RAW:1_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x38
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax]
inc edi
add esi, 0xe
cmp edi, ecx
jl 0x5170931
jmp case.0x51708ed.1
mov edi, dword [esp + 0x14]
mov ecx, 0xfa
lea esi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.0x51708ed.1
mov edi, dword [esp + 0x14]
mov ecx, 0xfb
lea esi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
jmp case.0x51708ed.1
mov edi, dword [esp + 0x14]
mov cx, word [esp + 0x10c4]
mov dl, byte [esp + 0xf8]
mov al, byte [esp + 0xf9]
mov word [edi + 2], cx
lea ecx, [esp + 0xb4]
mov byte [edi], dl
mov byte [edi + 1], al
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x1154], 0x15
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1154], 0x16
cmp byte [edi], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
jbe 0x5170c16
jmp 0x5170a60
push 0x5292f00
lea ecx, [esp + 0xb8]
call dword [0x523a398]
mov eax, dword [esp + 0x10c4]
lea edx, [esp + 0xb4]
push edx
sub eax, esi
push eax
lea ecx, [esp + esi + 0x8fc]
push ecx
call fcn.051a9050
mov edx, dword [esp + 0xd4]
add esp, 0xc
push 0x52c722a
push 1
push 0x449
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x94]
lea esi, [esi + edx*2 + 2]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1154], 0x17
cmp dword [esp + 0xcc], 8
mov ebx, dword [esp + 0xc8]
jb 0x5170ae4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
jmp 0x5170aef
lea ecx, [esp + 0xb8]
mov dword [esp + 0x24], ecx
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 8]
push ebx
push esi
push edx
push str._w_string___s_pos___d_len___d
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1154], 0x16
lea ecx, [esp + 0x84]
call fcn.051ae2c0
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x5170b3f
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xd0]
push ecx
push eax
call fcn.051a8ab0
add esp, 8
push 0x52c722a
push 1
push 0x44c
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x78]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1154], 0x18
cmp dword [esp + 0xe8], 0x10
mov ebx, dword [esp + 0xd4]
jae 0x5170b8c
lea ebx, [esp + 0xd4]
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push str._temp_string___s
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov byte [esp + 0x1154], 0x16
lea ecx, [esp + 0x68]
call fcn.051ae2c0
cmp dword [esp + 0xe8], 0x10
mov eax, dword [esp + 0xd4]
jae 0x5170bd3
lea eax, [esp + 0xd4]
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
inc edx
push edx
push eax
mov eax, dword [ebx + 4]
add eax, edi
push eax
call sub.MSVCR90.dll_memcpy
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x2c]
lea edx, [edi + ecx + 1]
movzx ecx, byte [ebx]
inc eax
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
jl 0x5170a60
mov byte [esp + 0x1154], 0x15
lea ecx, [esp + 0xd0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp case.0x51708ed.1
mov edi, dword [esp + 0x14]
mov ecx, 0x1f5
lea esi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.0x51708ed.1
mov ecx, dword [esp + 0xf8]
cmp ecx, esi
je 0x5170c71
mov byte [esp + 0x8d0], 1
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x5170c7b
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xfc]
add edx, 0xc
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5170c90
jmp case.0x51708ed.1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf8]
mov dword [eax + 4], edx
mov dword [eax], ecx
jmp case.0x51708ed.1
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x24], esi
cmp eax, esi
jne 0x5170d64
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x400], esi
je 0x5170d3e
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push edi
push ebp
call sym.META_DLL.dll_META_FAT_Open_r
test eax, eax
jne 0x5170d3e
mov eax, dword [edi + 0x408]
lea ecx, [edi + 0x40c]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push esi
push eax
lea ecx, [edi + 0x200]
push ecx
push edx
push ebp
call sym.META_DLL.dll_META_FAT_Read_To_File_Ex_r
test eax, eax
je 0x5170d22
mov byte [esp + 0x8d0], 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
call sym.META_DLL.dll_META_FAT_Close_r
test eax, eax
je 0x5170d3e
mov byte [esp + 0x8d0], 1
cmp dword [edi + 0x404], esi
je 0x5170d77
lea edx, [esp + 0x50]
push edx
push edi
push ebp
mov dword [esp + 0x5c], esi
call sym.META_DLL.dll_META_FAT_Delete_r
test eax, eax
je 0x5170d77
mov byte [esp + 0x8d0], 1
jmp 0x5170d77
cmp eax, 9
je 0x5170d77
mov al, byte [esp + 0xf8]
mov byte [esp + 0x8d0], al
mov eax, dword [esp + 0x14]
cmp eax, esi
je case.0x51708ed.1
mov ecx, dword [esp + 0xf8]
mov dword [eax], ecx
jmp case.0x51708ed.1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x100]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp case.0x51708ed.1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xfc]
mov dword [eax + 4], ecx
jmp 0x5170e82
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x51708ed.1
mov eax, dword [esp + 0x8dc]
mov ecx, dword [esp + 0x14]
cmp dword [ecx], eax
jb case.0x51708ed.1
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 0x8e4]
push eax
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.0x51708ed.1
mov eax, dword [esp + 0x8e4]
mov ecx, dword [esp + 0x14]
cmp dword [ecx], eax
jb case.0x51708ed.1
mov edx, dword [esp + 0x8e8]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.0x51708ed.1
mov eax, dword [esp + 0x8ec]
mov ecx, dword [esp + 0x14]
cmp dword [ecx], eax
jb case.0x51708ed.1
mov edx, dword [esp + 0x8f0]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.0x51708ed.1
mov cx, word [esp + 0xf8]
mov edx, dword [esp + 0x14]
mov word [edx], cx
jmp case.0x51708ed.1
mov ax, word [esp + 0xf8]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
jmp case.0x51708ed.1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xf8]
mov dword [eax], edx
cmp byte [esp + 0x8d0], 0
lea ecx, [esp + 0x3c]
je 0x5170eeb
push str._ERROR:
push 0xff
push 0x4f7
push str..FunctionAudioMETA_audio_test_ex.cpp
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0x19
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movzx ecx, byte [esp + 0x8d0]
movsx edx, word [esp + 0x2c]
mov eax, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
push ebp
push str.__d___s_token_d_:_audio_ex_cnf.m_Status__d_.
push eax
push esi
jmp 0x517108d
push 0x52c722a
push 1
push 0x4fb
push str..FunctionAudioMETA_audio_test_ex.cpp
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0x1a
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx edx, word [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
push edx
push ecx
push ebp
push str.__d___s_token_d_:_OK.
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x1154], 6
lea ecx, [esp + 0x58]
call fcn.05065ae0
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.0516cff0
xor eax, eax
jmp 0x51710e8
cmp eax, 0x102
jne 0x517103c
push str._ERROR:
push 0xff
push 0x3f7
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x1154], 0x12
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx edx, word [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
push edx
push ecx
push ebp
push str.__d___s_token_d_:_WaitForMultipleObjects___timeout_
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x1154], 6
lea ecx, [esp + 0x58]
call fcn.05065ae0
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.0516cff0
mov eax, 0xb
jmp 0x51710e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._ERROR:
push 0xff
push 0x3fe
push str..FunctionAudioMETA_audio_test_ex.cpp
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1154], 0x13
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
movsx edx, word [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
push esi
push edx
push ecx
push ebp
push str.__d___s_token_d_:_WaitForMultipleObjects___failed___Err__u_.
push eax
push edi
call fcn.051ae2d0
add esp, 0x1c
mov byte [esp + 0x1154], 8
lea ecx, [esp + 0x3c]
call fcn.051ae2c0
mov byte [esp + 0x1154], 7
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x1154], 6
lea ecx, [esp + 0x58]
call fcn.05065ae0
mov dword [esp + 0x1154], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.0516cff0
mov eax, 1
mov ecx, dword [esp + 0x114c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1134]
xor ecx, esp
call fcn.0520b902
add esp, 0x1144
ret 0x18