joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c150
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [0x6410b4]
push edi
push 0
push 0
mov dword [esi + 0x18], eax
mov byte [esi + 0x41c], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xb8]
push eax
push 0x5c6310
push 1
push 0
push 0x5c6330
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40c36a
mov eax, dword [ebp - 0xb8]
push 0xffffffffffffffff
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
mov edi, eax
test edi, edi
js 0x40c1c6
mov ecx, dword [ebp - 0xb8]
mov dword [esi + 0xc], ecx
jmp 0x40c1d2
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x40c36a
mov eax, dword [esi + 0xc]
lea edx, [esi + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40c307
mov eax, dword [ecx]
lea edx, [ebp - 0xbc]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x40c307
cmp dword [ebp - 0xbc], eax
je 0x40c307
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push 0
lea edi, [esi + 0x10]
mov dword [esi + 0x420], 1
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x28]
test eax, eax
jns 0x40c252
mov dword [edi], 0
or al, 0xff
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0xc]
movq xmm0, qword [0x5c6320]
push 0
push 0
push esi
push ecx
movq qword [ebp - 0x9c], xmm0
movq xmm0, qword [0x5c6328]
mov dword [esp], 0x40000000
push 0
lea edx, [ebp - 0xb4]
push edx
lea edi, [esi + 0x14]
mov dword [ebp - 0xb4], 0x2fffe
mov dword [ebp - 0xb0], 0x7d00
mov dword [ebp - 0xa8], 0x100004
mov dword [ebp - 0xac], 0x1f400
mov dword [ebp - 0xa4], 0x100016
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0xa0], 0
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x20]
test eax, eax
js 0x40c238
push 0x400
lea eax, [esi + 0x1c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov byte [esi + 0x41d], 1
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0xc
push str._warn_
lea eax, [ebp - 0x8c]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str._Error__SoundSystem::Initialize__AudioXA2::Initialize_No_AudioDevice_
lea eax, [ebp - 0x86]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x86], 0xa
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x420], 0
or al, 0xff
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0
xor ecx, ebp
or al, 0xff
pop esi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c5f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x41d], 0
jne 0x40c6f9
call fcn.0040c450
test al, al
jns 0x40c643
mov ecx, esi
call fcn.0040c900
mov dword [esi + 0x420], 2
mov byte [esi + 0x41d], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40c66f
mov eax, dword [ecx]
lea edx, [ebp - 0x110]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x40c66f
cmp dword [ebp - 0x110], eax
je 0x40c66f
mov dword [esi + 0x420], 1
jmp 0x40c679
mov dword [esi + 0x420], 0
cmp dword [esi + 0x420], 1
mov ecx, esi
jne 0x40c6de
call fcn.0040c500
mov ecx, esi
test al, al
js 0x40c61e
call fcn.0040c390
push str._warn_
lea eax, [ebp - 0x108]
push 0x80
push eax
mov byte [esi + 0x41d], 1
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x102]
push str.Restart_XA2Output
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
mov word [ebp + eax - 0x102], 0xa
lea eax, [ebp - 0x108]
jmp 0x40c792
call fcn.0040c900
mov byte [esi + 0x41d], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x420], 0
jne 0x40c79c
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40c79c
mov eax, dword [ecx]
lea edx, [ebp - 0x10c]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x40c79c
cmp dword [ebp - 0x10c], eax
je 0x40c79c
mov ecx, esi
call fcn.0040ca50
mov ecx, esi
call fcn.0040c500
mov ecx, esi
test al, al
js 0x40c6de
call fcn.0040c390
push str._warn_
lea eax, [ebp - 0x88]
push 0x80
mov dword [esi + 0x420], 1
push eax
mov byte [esi + 0x41d], 1
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [ebp - 0x82]
push str.Restart_XA2Output
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
mov word [ebp + eax - 0x82], 0xa
lea eax, [ebp - 0x88]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
Function at 0x40c900
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x430], 0
push esi
je 0x40c95d
push str._warn_
lea eax, [ebp - 0x108]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.DummyOut_thread_already_invoked
lea eax, [ebp - 0x102]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
mov word [ebp + eax - 0x102], 0xa
lea eax, [ebp - 0x108]
jmp 0x40ca2b
mov eax, 0x40c7b0
mov byte [ecx + 0x424], 0
lea esi, [ecx + 0x428]
test eax, eax
je 0x40c9f0
push 0
push 0
push esi
push 0x409100
push 0
push 0
mov dword [esi], 0x40c7b0
mov dword [esi + 4], ecx
call dword [sym.imp.MSVCR110.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x40c9f0
push str._warn_
lea eax, [ebp - 0x88]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.Start_DummyOutput
lea eax, [ebp - 0x82]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x82], 0xa
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
push str._warn_
lea eax, [ebp - 0x188]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.DummyOutThread_Create_failed__
lea eax, [ebp - 0x182]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
mov word [ebp + eax - 0x182], 0xa
lea eax, [ebp - 0x188]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
or al, 0xff
pop esi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret

Function at 0x40ca50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x430], 0
je 0x40cad9
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.Stop_DummyOutput
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xffffffffffffffff
mov byte [esi + 0x424], 1
push dword [esi + 0x430]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x430], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
Function at 0x40cb40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str._xa2_ERROR_
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
mov byte [eax + 0x419], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 8
Function at 0x40e2b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0xac]
cmp eax, 5
je 0x40e32f
cmp eax, 1
je 0x40e32f
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push dword [esi + 0xac]
lea eax, [ebp - 0x7e]
push dword [esi + 8]
push str.sound_cant_destroy____id:_d__state:_d_
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x20
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or al, 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e343
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
Function at 0x40f080
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
cmp byte [ebx + 0x148], 0
mov edi, dword [ebp + 8]
jne 0x40f0f6
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.StreamingSound::GetReadAddr_invalid_access___
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
push esi
lea esi, [ebx + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
je 0x40f110
mov eax, dword [ebx + 0x140]
mov dword [edi], eax
mov eax, dword [ebx + 0x12c]
cdq
idiv dword [ebx + 0x134]
push esi
mov edi, edx
add edi, dword [ebx + 0x120]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop esi
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4

Function at 0x40f150
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp byte [edi + 0x148], 0
jne 0x40f1bf
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.StreamingSound::IsDataEnd_invalid_access___
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea esi, [edi + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x138]
test eax, eax
js 0x40f1e4
cmp dword [edi + 0x12c], eax
jl 0x40f1e4
mov bl, 1
jmp 0x40f1e6
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
pop ebx
xor ecx, ebp
pop edi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
Function at 0x40f200
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x148], 0
jne 0x40f26f
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.StreamingSound::GetReadableSize_invalid_access___
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
push esi
push edi
lea esi, [ebx + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x12c]
mov edi, dword [ebx + 0x128]
mov edx, dword [ebx + 0x138]
sub edi, eax
test edx, edx
js 0x40f2a1
lea ecx, [eax + edi]
cmp ecx, edx
jle 0x40f2a1
mov edi, edx
sub edi, eax
mov ecx, dword [ebx + 0x134]
cdq
idiv ecx
lea eax, [edx + edi]
cmp eax, ecx
jle 0x40f2b5
mov edi, ecx
sub edi, edx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057d22e
mov esp, ebp
pop ebp
ret

Function at 0x40f2d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp byte [edi + 0x148], 0
jne 0x40f33d
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.StreamingSound::StepOverLoopEnd_invalid_access___
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
push esi
lea esi, [edi + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
call fcn.0040f150
cmp al, 1
jne 0x40f3a0
mov ecx, edi
call fcn.0040f470
add eax, dword [edi + 0x144]
mov ecx, eax
call fcn.004057a0
cmp al, 1
jne 0x40f3a0
mov eax, dword [edi + 0x12c]
mov ecx, dword [edi + 0x13c]
cdq
idiv ecx
test edx, edx
je 0x40f389
sub ecx, edx
add dword [edi + 0x12c], ecx
mov ecx, edi
call fcn.0040f500
mov dword [edi + 0x140], eax
mov dword [edi + 0x138], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
Function at 0x40f3c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp byte [edi + 0x148], 0
jne 0x40f42f
push str._warn_
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.StreamingSound::SetReadBytes_invalid_access___
lea eax, [ebp - 0x7e]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x7e], 0xa
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
push esi
lea esi, [edi + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
add dword [edi + 0x12c], eax
add dword [edi + 0x140], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
Function at 0x4151a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x9c], edi
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 0x18], eax
mov dword [edi], vtable.SQEX::TransferPcmStreaming.0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov edx, dword [eax + 8]
mov dword [ebp - 0x18], 0x2c0020
cmp dword [edx], 0x20424b41
mov eax, 0x44
mov dword [ebp - 0x14], 0x440044
jne 0x415231
movzx eax, word [edx + 4]
cmp eax, 4
jae 0x415231
mov ecx, eax
mov ax, word [edx + 6]
cmp ax, word [ebp + ecx*2 - 0x18]
jne 0x415231
mov al, byte [edx + 0xd]
jmp 0x415234
mov al, byte [edx + 2]
movzx eax, al
shl eax, 0xc
mov dword [edi + 0x14], eax
lea esi, [edi + 8]
mov ebx, 2
push dword [edi + 0x14]
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x41529c
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.create_pcm_stream_transfer_buffer_failed__heap_memory_insufficient
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esi, 4
dec ebx
jne 0x415245
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
Function at 0x415370
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
mov ebx, dword [eax + 4]
movzx eax, byte [edi + 0x10]
mov ecx, ebx
mov eax, dword [edi + eax*4 + 8]
mov dword [esi], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 4], eax
call fcn.0040f200
cmp dword [esi + 4], eax
jle 0x4153b4
mov ecx, ebx
call fcn.0040f200
mov dword [esi + 4], eax
push dword [esi + 4]
mov ecx, ebx
push 0
call fcn.0040f080
push eax
push dword [esi]
call sub.MSVCR110.dll_memcpy
add esp, 0xc
push dword [esi + 4]
mov ecx, ebx
call fcn.0040f3c0
mov eax, dword [edi + 0x18]
mov ecx, ebx
mov esi, dword [eax + 8]
call fcn.0040f150
cmp al, 1
jne 0x41542e
cmp dword [esi], 0x20424b41
mov dword [ebp - 0xc], 0x2c0020
mov dword [ebp - 8], 0x440044
jne 0x41541a
movzx eax, word [esi + 4]
cmp eax, 4
jae 0x41541a
mov ecx, eax
mov ax, word [esi + 6]
cmp ax, word [ebp + ecx*2 - 0xc]
jne 0x41541a
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x14]
jmp 0x415420
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x10]
seta al
cmp al, 1
jne 0x415458
mov ecx, ebx
call fcn.0040f2d0
xor eax, eax
movzx ecx, byte [edi + 0x10]
inc ecx
and ecx, 0x80000001
jns 0x415442
dec ecx
or ecx, 0xfffffffe
inc ecx
mov byte [edi + 0x10], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
mov byte [edi + 4], 1
mov eax, 1
jmp 0x415430
Function at 0x415480
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x9c], edi
mov byte [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.SQEX::TransferMSAdpcm.0
mov dword [edi + 8], edx
mov dword [edi + 0xc], 0
mov dword [edi + 0x1c], 0
cmp dword [edx], 0x20424b41
mov dword [ebp - 0x18], 0x2c0020
mov eax, 0x44
mov dword [ebp - 0x14], 0x440044
jne 0x415511
movzx eax, word [edx + 4]
cmp eax, 4
jae 0x415511
mov ecx, eax
mov ax, word [edx + 6]
cmp ax, word [ebp + ecx*2 - 0x18]
jne 0x415511
mov al, byte [edx + 0xd]
jmp 0x415514
mov al, byte [edx + 2]
movzx eax, al
shl eax, 0xb
mov dword [edi + 0x18], eax
lea esi, [edi + 0x10]
mov ebx, 2
push dword [edi + 0x18]
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x41557c
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.create_adpcm_transfer_buffer_failed__heap_memory_insufficient
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esi, 4
dec ebx
jne 0x415525
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
Function at 0x415a10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x9c], edi
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], vtable.SQEX::TransferMSAdpcmStreaming.0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], eax
mov esi, dword [eax + 8]
mov dword [ebp - 0x18], 0x2c0020
cmp dword [esi], 0x20424b41
mov dword [ebp - 0x14], 0x440044
jne 0x415a9c
movzx eax, word [esi + 4]
cmp eax, 4
jae 0x415a9c
mov ecx, eax
mov ax, word [esi + 6]
cmp ax, word [ebp + ecx*2 - 0x18]
jne 0x415a9c
mov bh, byte [esi + 0xd]
jmp 0x415a9f
mov bh, byte [esi + 2]
mov ecx, esi
call fcn.00405c10
cmp dword [esi], 0x20424b41
movzx edx, ax
mov dword [ebp - 0x18], 0x2c0020
mov dword [ebp - 0x14], 0x440044
jne 0x415ada
movzx eax, word [esi + 4]
cmp eax, 4
jae 0x415ada
mov ecx, eax
mov ax, word [esi + 6]
cmp ax, word [ebp + ecx*2 - 0x18]
jne 0x415ada
mov bl, byte [esi + 0xd]
jmp 0x415add
mov bl, byte [esi + 2]
movzx ecx, bh
lea eax, [edx + edx]
xor edx, edx
div ecx
lea esi, [edi + 8]
lea ecx, [eax - 0xc]
movzx eax, bl
imul ecx, eax
shl ecx, 4
mov dword [edi + 0x14], ecx
mov ebx, 2
mov edi, edi
push dword [edi + 0x14]
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x415b57
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.create_adpcm_stream_transfer_buffer_failed__heap_memory_insufficient
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esi, 4
dec ebx
jne 0x415b00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4
Function at 0x415d90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x9c], esi
mov byte [esi + 4], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.SQEX::TransferOggVorbis.0
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0
cmp dword [edx], 0x20424b41
mov dword [ebp - 0x18], 0x2c0020
mov eax, 0x44
mov dword [ebp - 0x14], 0x440044
jne 0x415e1a
movzx eax, word [edx + 4]
cmp eax, 4
jae 0x415e1a
mov ecx, eax
mov ax, word [edx + 6]
cmp ax, word [ebp + ecx*2 - 0x18]
jne 0x415e1a
mov al, byte [edx + 0xd]
jmp 0x415e1d
mov al, byte [edx + 2]
movzx eax, al
shl eax, 0xc
push 0x298
mov dword [esi + 0x18], eax
lea eax, [esi + 0x20]
push 0
push eax
mov dword [esi + 0x1c], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea edi, [esi + 0x10]
mov ebx, 2
jmp 0x415e50
push dword [esi + 0x18]
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x415ea7
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.create_transfer_vorbis_buffer_failed__heap_memory_insufficient
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add edi, 4
dec ebx
jne 0x415e50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 4