joyce8/EMBER2024-capa huggingface dataset:
Function at 0x21112070
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x2114e828]
test eax, eax
push esi
mov esi, ecx
je 0x2111208f
push edx
call dword [sym.imp.WINMM.dll_waveOutReset]
mov dword [esi + 0x2d0], 0
pop esi
ret
push ebx
push ebp
push edi
call fcn.21111a70
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
cmp eax, 0x88780096
jne 0x2111210b
mov eax, dword [esi + 0xe0]
mov edx, dword [eax]
push eax
call dword [edx + 0x50]
mov eax, dword [0x2114e89c]
test eax, eax
je 0x211120dd
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xa
call ebx
mov eax, dword [0x2114e89c]
test eax, eax
je 0x211120a9
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x21112104
push 0
push 0
push 0
call edi
test eax, eax
mov dword [0x2114fa38], eax
je 0x211120f3
push 0xffffffffffffffff
push eax
call ebp
jmp 0x211120a9
call fcn.21111a80
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret

Function at 0x211124d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
push edi
mov dword [esi + 0x70], 0
jne 0x211125d5
mov edi, 1
mov dword [esi + 0x30], edi
mov eax, dword [0x2114e828]
test eax, eax
je 0x2111252d
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x21112518
mov ecx, dword [eax + 0xc]
or dword [ecx + 8], edi
mov ecx, dword [esi + 0x78]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
inc edx
cmp edx, ecx
jl 0x21112504
mov eax, dword [0x2114e8b0]
test eax, eax
jne 0x211125d5
pop edi
pop esi
pop ebp
jmp fcn.21114270
push ebx
call fcn.21111a70
mov ecx, dword [esi + 0xe0]
xor edx, edx
mov dx, word [esi + 0x9a]
call fcn.211117d0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax]
push 1
push 0
push 0
push eax
call dword [ecx + 0x30]
cmp eax, 0x88780096
jne 0x211125c1
mov eax, dword [esi + 0xe0]
mov edx, dword [eax]
push eax
call dword [edx + 0x50]
mov eax, dword [0x2114e89c]
test eax, eax
je 0x21112593
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xa
call ebx
mov eax, dword [0x2114e89c]
test eax, eax
je 0x21112559
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x211125ba
push 0
push 0
push 0
call edi
test eax, eax
mov dword [0x2114fa38], eax
je 0x211125a9
push 0xffffffffffffffff
push eax
call ebp
jmp 0x21112559
test eax, eax
pop ebx
je 0x211125d0
push 0x21141348
call sym.mss32.dll__AIL_set_error_4
call fcn.21111a80
pop edi
pop esi
pop ebp
ret
Function at 0x211125e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, 4
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x140], ebx
jne 0x211127ad
mov eax, dword [esi + 4]
cmp dword [eax + 0x3c], ebx
push ebp
push edi
mov dword [esp + 0x10], ebx
jle 0x2111272a
mov ecx, dword [esi + 0x40]
mov edi, dword [esi + ecx*4 + 0x14]
mov ebp, dword [esi + ecx*4 + 0x1c]
mov eax, dword [esi + 0x4c]
mov edx, edi
sub edx, ebp
cmp eax, 1
je 0x2111263e
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
je 0x2111263e
cmp eax, edi
jae 0x2111263e
sub eax, ebp
mov edx, eax
cmp edx, ebx
jg 0x211126dc
cmp dword [esi + 0x7c], ebx
je 0x21112651
inc dword [esi + 0x138]
cmp dword [esi + ecx*4 + 0x2c], ebx
je 0x2111266d
mov ecx, dword [esi + 0x1a8]
push 0xfffffffffffffffe
push ecx
call dword [esi + 0x154]
mov edx, dword [esi + 0x40]
mov dword [esi + edx*4 + 0x2c], ebx
cmp dword [esi + 0x4c], 1
je 0x211126b3
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x50]
mov dword [esi + eax*4 + 0x1c], ecx
test byte [esi + 0x58], 4
je 0x2111268f
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
cmp dword [esi + 0x144], ebx
je 0x211126a6
mov edx, dword [esi + 0x1a8]
push 0xfffffffffffffffe
push edx
call dword [esi + 0x154]
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x211126f7
dec eax
mov dword [esi + 0x4c], eax
jmp 0x211126f7
mov eax, dword [esi + 0x74]
mov ecx, 2
cmp eax, ecx
jne 0x21112712
mov eax, dword [esi + 0x40]
xor eax, 1
cmp dword [esi + eax*4 + 0x24], ebx
jne 0x21112712
cmp dword [esi + eax*4 + 0x14], ebx
je 0x21112709
cmp dword [esi + eax*4 + 0x1c], ebx
jne 0x21112709
mov dword [esi + 0x40], eax
jmp 0x211126f7
cmp dword [esi + 0x78], ebx
je 0x211126e7
inc dword [esi + 0x13c]
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.211127c0
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
cmp edx, dword [ecx + 0x3c]
jl 0x21112617
jmp 0x2111272a
mov dword [esi + 0x48], 1
jmp 0x2111272a
cmp dword [esi + 0x80], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0x48], 1
je 0x2111272a
inc dword [esi + 0x140]
mov eax, dword [esi + 0x13c]
cmp eax, ebx
lea ecx, [eax - 1]
pop edi
mov dword [esi + 0x13c], ecx
pop ebp
je 0x21112756
push esi
call dword [esi + 0x78]
mov eax, dword [esi + 0x13c]
cmp eax, ebx
lea edx, [eax - 1]
mov dword [esi + 0x13c], edx
jne 0x2111273f
mov eax, dword [esi + 0x138]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0x138], ecx
je 0x21112780
push esi
call dword [esi + 0x7c]
mov eax, dword [esi + 0x138]
cmp eax, ebx
lea edx, [eax - 1]
mov dword [esi + 0x138], edx
jne 0x21112769
mov eax, dword [esi + 0x140]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0x140], ecx
je 0x211127ad
push esi
call dword [esi + 0x80]
mov eax, dword [esi + 0x140]
cmp eax, ebx
lea edx, [eax - 1]
mov dword [esi + 0x140], edx
jne 0x21112793
pop esi
pop ebx
pop ecx
ret
Function at 0x21112ef0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x21112f18
call sym.mss32.dll__AIL_background_0
test eax, eax
jne 0x21112f11
mov edx, dword [esi + 0x68]
mov dword [esi + 0x30], eax
mov ecx, esi
pop esi
jmp fcn.21112070
mov dword [esi + 0x70], 1
pop esi
ret
Function at 0x21113fc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2114e8b4]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x21113fe7
mov esi, dword [0x2114faf8]
cmp esi, ebx
jne 0x21113fe7
mov esi, eax
cmp esi, ebx
je 0x21114147
cmp eax, ebx
je 0x21114147
cmp dword [esi + 0xc4], ebx
je 0x21114002
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
lock inc dword [0x2114faf0]
mov ecx, esi
mov dword [esi + 0x2cc], 1
call fcn.21112ef0
cmp dword [0x2114e89c], ebx
je 0x2111402e
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x68]
mov ecx, esi
call fcn.21112070
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x2114e89c], ebx
je 0x2111406c
mov eax, dword [0x2114fa38]
cmp eax, ebx
jne 0x21114063
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x2114fa38], eax
je 0x21114051
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
xor edx, edx
cmp eax, ebx
push edi
jle 0x2111409c
xor ecx, ecx
mov eax, dword [esi + 0x34]
mov edi, dword [ecx + eax + 8]
cmp edi, 4
lea eax, [ecx + eax + 8]
jne 0x2111408e
mov dword [eax], 0x10
mov eax, dword [esi + 0x38]
inc edx
add ecx, 0x28c
cmp edx, eax
jl 0x21114078
cmp dword [0x2114e828], ebx
je 0x211140cb
mov eax, dword [esi + 0x78]
test eax, eax
mov edi, dword [esi + 0x74]
jle 0x211140c9
mov edx, dword [esi + 0x68]
push 0x20
push edi
mov ecx, esi
call fcn.21111b50
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0xc]
mov edi, dword [ecx + 4]
inc ebx
cmp ebx, eax
jl 0x211140ae
xor ebx, ebx
mov edx, dword [esi + 0x68]
mov ecx, esi
call fcn.21112030
mov dword [esi + 0x30], ebx
mov dword [esi + 0xc4], 1
mov dword [esi + 0x68], ebx
mov dword [esi + 0x2cc], ebx
lock dec dword [0x2114faf0]
cmp dword [0x2114e89c], ebx
pop edi
je 0x21114108
mov edx, dword [0x2114fa38]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x2114e89c], ebx
je 0x2111413c
mov eax, dword [0x2114fa38]
cmp eax, ebx
jne 0x21114133
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x2114fa38], eax
je 0x21114121
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x21114270
Capabilities:
Check mutex on windows

Disassembly:
push esi
call sym.mss32.dll__AIL_ms_count_0
mov dword [0x2114fb14], eax
lock inc dword [0x2114fb10]
mov ecx, dword [0x2114fb10]
mov eax, 1
cmp ecx, eax
jne 0x211142ea
cmp dword [0x2114e828], eax
jne 0x2111429e
call fcn.21113000
mov eax, dword [0x2114e89c]
test eax, eax
je 0x211142b3
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call sym.mss32.dll__stream_background_0
mov eax, dword [0x2114e89c]
test eax, eax
je 0x211142ea
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x211142e1
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x211142d0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lock dec dword [0x2114fb10]
mov esi, dword [0x2114e8b4]
test esi, esi
je 0x2111430b
push esi
call fcn.21112b90
mov esi, dword [esi + 0xcc]
test esi, esi
jne 0x211142fb
pop esi
ret

Function at 0x21114310
Capabilities:
Check mutex on windows

Disassembly:
call sym.mss32.dll__AIL_ms_count_0
sub eax, dword [0x2114fb14]
cmp eax, 0xa
jbe 0x2111436e
mov eax, dword [0x2114e89c]
test eax, eax
je 0x21114354
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111434b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x21114339
pop esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.21114270
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111436e
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
ret
Function at 0x21117d40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
je 0x21117df7
mov eax, dword [0x2114e8b8]
test eax, eax
je 0x21117df7
mov eax, dword [esi + 0x1c4]
test eax, eax
jne 0x21117d71
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
mov ecx, 0x21150628
call fcn.2111cd30
cmp dword [esi + 0x1c8], 0xfffffffe
je 0x21117e11
mov eax, dword [0x2114e89c]
test eax, eax
je 0x21117d9d
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esi + 0x1c8]
push ebp
push 0
push 0
push 0
push ecx
lea ebx, [esi + 0x1e8]
push ebx
call dword [sym.imp.WINMM.dll_midiOutOpen]
mov ebp, eax
mov eax, dword [0x2114e89c]
test eax, eax
je 0x21117dec
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x21117de3
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call edi
test eax, eax
mov dword [0x2114fa38], eax
je 0x21117dd2
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebp, ebp
pop ebp
je 0x21117dff
dec dword [0x21150628]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
mov edx, dword [esi + 0x1d8]
mov eax, dword [ebx]
push 0x40
push edx
push eax
call dword [sym.imp.WINMM.dll_midiOutPrepareHeader]
xor edi, edi
mov ecx, 0x21150628
mov dword [esi + 0x1c4], edi
call fcn.21117070
mov ecx, esi
call fcn.21117a20
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, edi
jle 0x21117e5e
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi + 8]
cmp dword [eax], 0x10
jne 0x21117e50
mov dword [eax], 8
mov edx, dword [esi + 0x10]
add edx, edi
push edx
call sym.mss32.dll__AIL_resume_sequence_4
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x82c
cmp ebx, eax
jl 0x21117e33
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x2111aa00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push esi
call sym.mss32.dll__AIL_redbook_status_4
test eax, eax
jne 0x2111aa19
pop esi
add esp, 8
ret 4
push ebp
push edi
push esi
call sym.mss32.dll__AIL_redbook_tracks_4
mov ebp, eax
mov eax, dword [0x2114d4f8]
xor eax, ebp
mov esi, eax
shl eax, 8
shr esi, 0x18
or esi, eax
xor eax, eax
test ebp, ebp
mov edi, 1
jbe 0x2111aa9d
push ebx
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push edx
call sym.mss32.dll__AIL_redbook_track_info_16
mov edx, dword [esp + 0x10]
inc edi
mov eax, edi
and eax, 3
mov ecx, dword [eax*4 + 0x2114d4f4]
xor ecx, edx
xor esi, ecx
inc edi
mov eax, esi
shr eax, 0x18
shl esi, 8
or eax, esi
mov esi, dword [esp + 0x14]
mov edx, edi
and edx, 3
xor eax, dword [edx*4 + 0x2114d4f4]
xor eax, esi
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov eax, ebx
cmp eax, ebp
mov esi, ecx
jb 0x2111aa40
pop ebx
pop edi
pop ebp
mov eax, esi
pop esi
add esp, 8
ret 4
Function at 0x2111d610
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x2111d7bb
lock inc dword [0x211517f8]
lock inc dword [0x21151800]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x2111d641
push eax
mov dword [esi + 0xc], 0
call sym.mss32.dll__AIL_release_sample_handle_4
mov edx, dword [0x211517f4]
cmp edx, esi
jne 0x2111d659
mov edx, dword [edx + 0x104]
mov dword [0x211517f4], edx
jmp 0x2111d683
test edx, edx
mov eax, edx
je 0x2111d687
mov ecx, dword [eax + 0x104]
cmp ecx, esi
je 0x2111d671
mov eax, ecx
test eax, eax
jne 0x2111d65f
jmp 0x2111d683
mov ecx, dword [esi + 0x104]
mov dword [eax + 0x104], ecx
mov edx, dword [0x211517f4]
test edx, edx
jne 0x2111d69d
mov edx, dword [0x2114d514]
push edx
call sym.mss32.dll__AIL_release_timer_handle_4
mov dword [0x2114d514], 0
mov eax, dword [0x211517f8]
push ebx
mov ebx, 1
cmp eax, ebx
push edi
je 0x2111d70b
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111d6c2
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x211517f8], ebx
je 0x2111d6db
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
cmp dword [0x211517f8], ebx
jne 0x2111d6d0
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111d70b
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111d702
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111d6ed
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lock dec dword [0x21151800]
lock dec dword [0x211517f8]
mov eax, dword [0x211507c0]
test eax, eax
je 0x2111d72b
mov edx, ebx
mov ecx, esi
call fcn.2111cf10
mov eax, dword [esi + 0x14]
test eax, eax
je 0x2111d738
push eax
call sym.mss32.dll__AIL_mem_free_lock_4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x2111d745
push eax
call sym.mss32.dll__AIL_mem_free_lock_4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x2111d752
push eax
call sym.mss32.dll__AIL_mem_free_lock_4
cmp dword [esi + 0x10], 0xffffffff
je 0x2111d7a8
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111d76e
mov ecx, dword [0x2114fa38]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x10]
push edx
call dword [0x2114d508]
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111d7a8
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111d79f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111d78a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov ecx, 0x45
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call sym.mss32.dll__AIL_mem_free_lock_4
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x2111e040
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x2111e0fb
cmp dword [esi + 0x108], 1
jne 0x2111e060
mov dword [esi + 0x108], 2
mov eax, dword [esi + 0xc4]
test eax, eax
mov eax, dword [esi + 0xb0]
je 0x2111e08b
test eax, eax
je 0x2111e0f1
mov eax, dword [esi + 0xc]
push eax
call sym.mss32.dll__AIL_start_sample_4
mov dword [esi + 0xdc], 1
pop esi
ret 4
test eax, eax
je 0x2111e0a0
mov ecx, dword [esi + 0xc]
push ecx
call sym.mss32.dll__AIL_stop_sample_4
push 0
push esi
call sym.mss32.dll__AIL_set_stream_position_8
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111e0b6
mov edx, dword [0x2114fa38]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
call fcn.2111ccd0
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111e0f1
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111e0e8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call edi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111e0d6
pop edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0xdc], 1
pop esi
ret 4

Function at 0x2111e100
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x2111e1b6
mov eax, dword [esp + 0xc]
test eax, eax
je 0x2111e13f
push esi
call sym.mss32.dll__AIL_stream_status_4
cmp eax, 4
jne 0x2111e134
mov eax, dword [esi + 0xc]
push eax
call sym.mss32.dll__AIL_stop_sample_4
or dword [esi + 0xdc], 0x18
pop esi
ret 8
or dword [esi + 0xdc], 8
pop esi
ret 8
mov eax, dword [esi + 0xdc]
test al, 7
jne 0x2111e153
push esi
call sym.mss32.dll__AIL_start_stream_4
pop esi
ret 8
test al, 0x10
je 0x2111e160
mov ecx, dword [esi + 0xc]
push ecx
call sym.mss32.dll__AIL_resume_sample_4
and dword [esi + 0xdc], 0xffffffe7
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111e17d
mov edx, dword [0x2114fa38]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
call fcn.2111ccd0
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111e1b6
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111e1ad
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111e19c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret 8
Function at 0x2111eaf0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x2111ebfb
mov eax, dword [0x2114e89c]
test eax, eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
push edi
je 0x2111eb17
mov eax, dword [0x2114fa38]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x30]
push ecx
push edx
call dword [ebx + 0x10]
mov eax, dword [0x2114e89c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x2111eb57
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111eb52
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111eb41
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x2111eba1
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111eb6f
mov eax, dword [0x2114fa38]
push eax
call ebp
mov ecx, dword [ebx + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111eba1
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111eb9c
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111eb8b
push 0xffffffffffffffff
push eax
call edi
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x2111ebae
push eax
call sym.mss32.dll__AIL_release_sample_handle_4
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x2111ebbb
push eax
call sym.mss32.dll__AIL_mem_free_lock_4
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x2111ebc8
push eax
call sym.mss32.dll__AIL_mem_free_lock_4
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x2111ebe7
mov esi, dword [eax + 4]
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
push eax
mov dword [ecx + 4], edx
call sym.mss32.dll__AIL_mem_free_lock_4
test esi, esi
mov eax, esi
jne 0x2111ebcf
xor eax, eax
mov ecx, 0x16
mov edi, ebx
push ebx
rep stosd dword es:[edi], eax
call sym.mss32.dll__AIL_mem_free_lock_4
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x2111ec00
Capabilities:
Check mutex on windows
Get common file path

Disassembly:
sub esp, 0x10c
push ebp
push esi
mov esi, dword [esp + 0x118]
test esi, esi
push edi
je 0x2111ece3
mov ebp, dword [esp + 0x120]
test ebp, ebp
je 0x2111ece3
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x2111ed65
cmp dword [ebp], 0x46464952
jne 0x2111ed80
push ebx
mov ebx, dword [ebp + 4]
lea eax, [esp + 0x14]
push eax
push 0x7f
add ebx, 8
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
or ecx, 0xffffffff
xor eax, eax
mov edi, str.temp.dls
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
lea edx, [esp + 0x14]
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [0x2114e89c]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x2111ec96
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
call sym.mss32.dll__AIL_file_write_12
test eax, eax
pop ebx
jne 0x2111ecf1
push str.Could_not_write_temporary_DLS_file.
call sym.mss32.dll__AIL_set_error_4
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111ece3
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111ecda
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111ecc9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 0xc
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x11c]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call sym.mss32.dll__AIL_DLS_load_file_12
push 0x200
lea edx, [esp + 0x94]
mov edi, eax
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111ed57
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111ed4e
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111ed3d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 0xc
mov edx, dword [esp + 0x124]
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x30]
or edx, 1
push edx
push ecx
call eax
test eax, eax
je 0x2111ed98
push str.Unable_to_load_DLS_memory_file.
call sym.mss32.dll__AIL_set_error_4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 0xc
push 8
call sym.mss32.dll__AIL_mem_alloc_lock_4
test eax, eax
je 0x2111ece3
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax], edx
mov ecx, dword [esi + 0x50]
pop edi
mov dword [eax + 4], ecx
mov dword [esi + 0x50], eax
pop esi
pop ebp
add esp, 0x10c
ret 0xc