joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027b10
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], edi
test edi, edi
jne 0x10027b61
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x14], esi
call fcn.100250a0
mov dword [esp + 0x18], eax
test esi, esi
jne 0x10027c1e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [ebx + 8], eax
cmp dword [ebp + 8], 0
jne 0x10027b9c
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x14], esi
call fcn.100250a0
mov dword [esp + 0x18], eax
test esi, esi
jne 0x10027c2d
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
push 0x10029600
push dword [esp + 0x34]
push 0
call fcn.100c4842
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x10027c04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x24], eax
call dword [edx]
test edi, edi
je 0x10027be5
push edi
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10027bef
push eax
call esi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.100250a0
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x10027c3c
test edi, edi
je 0x10027c14
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.10024880
push str.thread.exit_event
lea eax, [esp + 0x18]
push eax
call fcn.10024880
push str.thread
lea eax, [esp + 0x18]
push eax
call fcn.10024880
int3
Function at 0x1003ffa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
push str.NONE
push edi
call fcn.1007f6c0
add esp, 8
test eax, eax
jne 0x1003ffef
push eax
push dword [ebp + 0xc]
call fcn.1003fee0
add esp, 8
cmp dword [0x1015f088], 3
jl 0x10040134
push str.NONE
push str.Loading_reverb__s_n
push dword [0x101647dc]
push 3
call fcn.10080dd0
add esp, 0x10
pop edi
pop ebp
ret
cmp byte [0x10164890], 0
jne 0x1003ffff
mov eax, 0x8000
jmp 0x1004000a
xor eax, eax
cmp byte [0x10164891], al
sete al
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push eax
push ebx
call fcn.1003fee0
add esp, 8
mov esi, str.GENERIC
nop
push esi
push edi
call fcn.1007f6c0
add esp, 8
test eax, eax
je 0x10040064
add esi, 0x8c
cmp esi, 0x10100b34
jne 0x10040020
cmp dword [0x1015f088], 2
jl 0x10040132
push edi
push str.Reverb_preset__s_not_found_n
push dword [0x101647dc]
push 2
call fcn.10080dd0
add esp, 0x10
pop esi
pop ebx
pop edi
pop ebp
ret
cmp dword [0x1015f088], 3
jl 0x10040083
push esi
push str.Loading_reverb__s_n
push dword [0x101647dc]
push 3
call fcn.10080dd0
add esp, 0x10
mov eax, dword [esi + 0x20]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x68], eax
cmp dword [esi + 0x88], 0
setne al
mov byte [ebx + 0x6c], al
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x10049390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f045d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
nop
push 8
mov byte [esi + 8], 0
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x100493e5
mov dword [eax], esi
mov dword [eax + 4], 0x10048db0
jmp 0x100493e7
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x10048c90
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x10049469
cmp dword [esi + 0x10], 0
jne 0x10049464
mov eax, dword [ebp - 0x44]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x44], 0
call fcn.100bd372
int3

Function at 0x1004a640
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0588
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 4], 0
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 0x18]
lea edx, [ecx + 0x30]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
mov esi, dword [eax]
mov eax, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004a710
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
push esi
call fcn.10049ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004c240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f06f5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1015f240
mov dword [ebp - 0x10], 0x1015f240
call fcn.100bcf42
add esp, 4
test eax, eax
jne 0x1004c408
mov eax, dword [0x1015f26c]
cmp eax, 0x7fffffff
je 0x1004c40f
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [0x101648d4], esi
jne 0x1004c3d5
push 0x7c
call fcn.100beeb0
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004c2c2
push esi
mov ecx, eax
call fcn.1004a8a0
jmp 0x1004c2c4
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
test eax, eax
je 0x1004c41c
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
lock inc dword [eax + 4]
push 8
mov byte [ebp - 4], 2
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x1004c30a
lea ecx, [ebp - 0x30]
mov dword [eax + 4], 0x1004f3c0
mov dword [eax], ecx
jmp 0x1004c30c
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x1004a240
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1004c3fa
cmp dword [0x101648d4], 0
mov byte [ebp - 4], 2
jne 0x1004c423
mov eax, dword [ebp - 0x20]
mov dword [0x101648d0], ecx
lea ecx, [ebp - 0x1c]
mov dword [0x101648d4], eax
call fcn.1004e9a0
mov esi, eax
test esi, esi
jns 0x1004c3a8
mov ecx, 0x101648d0
call fcn.100252d0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1004c39e
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1004c39e
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1004c398
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
lea ecx, [ebp - 0x30]
call fcn.1004adb0
jmp 0x1004c3db
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x30]
call fcn.1004adb0
jmp 0x1004c3db
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1004c3cd
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1004c3cd
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1004c3c7
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x1004c3cb
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x30]
call fcn.1004adb0
inc dword [0x10164914]
push 0x1015f240
call fcn.100bcf53
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x20], 0
call fcn.100bd372
push 5
call fcn.100bd372
dec eax
push 6
mov dword [0x1015f26c], eax
call fcn.100bd372
push 4
call fcn.1001f500
call fcn.100c46aa
int3
Function at 0x10052af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f115d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x10052b75
cmp dword [0x1015f088], 1
jl 0x10052ccd
push ebx
push str.Failed_to_start_audio_client:_0x_08lx_n
push dword [0x101647dc]
push 1
call fcn.10080dd0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x1010b7f0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x10052cbd
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, esi
cmp edx, eax
je 0x10052bc1
mov ecx, dword [eax]
test ecx, ecx
je 0x10052bb5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x10052bd2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 2
nop
push 0x10
mov byte [edi + 0x30], 0
lea esi, [edi - 8]
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x10052c01
mov dword [eax], esi
mov dword [eax + 8], 0x10050cc0
mov dword [eax + 0xc], 0
jmp 0x10052c03
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x1004a2a0
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10052ce6
cmp dword [edi + 0x38], 0
jne 0x10052ce1
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x38], eax
mov eax, ebx
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x28], 0
call fcn.100bd372
int3
Function at 0x10052d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f119d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x10052d85
cmp dword [0x1015f088], 1
jl 0x10052ee1
push ebx
push str.Failed_to_start_audio_client:_0x_08lx_n
push dword [0x101647dc]
push 1
call fcn.10080dd0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x1010b7e0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x10052ed9
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, esi
cmp edx, eax
je 0x10052dd1
mov ecx, dword [eax]
test ecx, ecx
je 0x10052dc5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x10052de2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 2
nop
push 0x10
mov byte [edi + 0x88], 0
lea esi, [edi - 8]
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x10052e14
mov dword [eax], esi
mov dword [eax + 8], 0x1004f7d0
mov dword [eax + 0xc], 0
jmp 0x10052e16
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x1004a2a0
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10052efa
cmp dword [edi + 0x90], 0
jne 0x10052ef5
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x90], eax
mov eax, ebx
mov dword [edi + 0x8c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x28], 0
call fcn.100bd372
int3
Function at 0x10055200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f141d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
nop
push 8
mov byte [esi + 0x1c], 0
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x10055255
mov dword [eax], esi
mov dword [eax + 4], 0x10053f80
jmp 0x10055257
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x10048c90
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x100552d9
cmp dword [esi + 0x24], 0
jne 0x100552d4
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x44], 0
call fcn.100bd372
int3
Function at 0x10057240
Capabilities:
Capture microphone audio
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f158d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea edi, [esi + 0x14]
mov ebx, 4
nop
push 0x20
push edi
push dword [esi + 0x94]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
push 0x20
push edi
push dword [esi + 0x94]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
add edi, 0x20
sub ebx, 1
jne 0x10057280
nop
push 8
mov byte [esi + 0xae], bl
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x100572c6
mov dword [eax], esi
mov dword [eax + 4], 0x100569e0
jmp 0x100572c8
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x10048c90
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x1005735f
cmp dword [esi + 0xb4], 0
jne 0x1005735a
mov eax, dword [ebp - 0x44]
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], eax
push dword [esi + 0x94]
call dword [sym.imp.WINMM.dll_waveInStart]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x44], 0
call fcn.100bd372
int3

Function at 0x10057370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f15cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
lea esi, [edi + 0x14]
mov dword [ebp - 4], 0
lea ebx, [esi + 0x80]
cmp esi, ebx
je 0x100573ca
push 0x20
push esi
push dword [edi + 0x94]
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
add esi, 0x20
cmp esi, ebx
jne 0x100573b4
nop
mov dword [edi + 8], 4
nop
push 8
mov byte [edi + 0xaa], 0
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x100573f3
mov dword [eax], edi
mov dword [eax + 4], 0x10056b10
jmp 0x100573f5
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x10048c90
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x10057480
cmp dword [edi + 0xb0], 0
jne 0x1005747b
mov eax, dword [ebp - 0x44]
mov dword [edi + 0xac], ecx
mov dword [edi + 0xb0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x44], 0
call fcn.100bd372
int3
Function at 0x10058560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f164d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0xc], 0
jle 0x100585c7
push 2
push 0
push dword [esi + 8]
call fcn.100c9a47
add esp, 0xc
test eax, eax
je 0x100585c7
cmp dword [0x1015f088], 2
jl 0x100585c7
push str.Failed_to_seek_on_output_file_n
push dword [0x101647dc]
push 2
call fcn.10080dd0
add esp, 0xc
mov dword [ebp - 4], 0
nop
push 8
mov byte [esi + 0x1c], 0
call fcn.100beeb0
add esp, 4
test eax, eax
je 0x100585ec
mov dword [eax], esi
mov dword [eax + 4], 0x100579a0
jmp 0x100585ee
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x10048c90
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x10058670
cmp dword [esi + 0x24], 0
jne 0x1005866b
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x44], 0
call fcn.100bd372
int3
Function at 0x10069cb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f26ed
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 8
mov dword [ebp - 4], 0
call fcn.100beeb0
mov esi, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x10069cfe
mov dword [eax], esi
mov dword [eax + 4], 0x10069780
jmp 0x10069d00
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x1004a240
push 0
push 0
call fcn.100c4842
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10069dac
cmp dword [esi + 0xe0], 0
jne 0x10069da7
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe0], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100c46aa
push 6
mov dword [ebp - 0x1c], 0
call fcn.100bd372
int3
Function at 0x1007ace0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2e63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esi], eax
mov dword [esi + 4], 0
mov word [esi + 8], 0x100
mov dword [esi + 0xc], 0x3f800000
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
movups xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0x3f800000
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0x3f800000
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0x3f800000
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0x3f800000
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0x3f800000
mov dword [esi + 0xa4], 0x3f800000
mov dword [esi + 0xa8], 0x3f7e87d3
mov dword [esi + 0xac], 0x3f800000
mov dword [esi + 0xb0], 0x43aba666
mov word [esi + 0xb4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
movq qword [esi + 0xcc], xmm0
push 0
lea ecx, [esi + 0xd4]
mov dword [ebp - 4], 0
call fcn.100a5980
mov dword [esi + 0xd8], 0
mov eax, esi
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4