joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c7d0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x314
lea eax, [esp]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
push edi
xor esi, esi
push eax
push 1
push esi
push str..htm
push closesocket
call ebp
test eax, eax
jne 0x43c91e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x220]
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0x104
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call edi
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
lea ecx, [esp + 0x18]
push str._shellopencommand
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 1
push 0
push eax
push closesocket
call ebp
test eax, eax
jne 0x43c92b
lea ecx, [esp + 0x14]
lea edx, [esp + 0x220]
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], 0x104
call esi
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x51badc
push ecx
call fcn.0048e930
mov esi, eax
add esp, 8
test esi, esi
jne 0x43c8e4
lea edx, [esp + 0x18]
push 0x51bad8
push edx
call fcn.0048e930
mov esi, eax
add esp, 8
test esi, esi
jne 0x43c8e4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x17]
jmp 0x43c8e7
mov byte [esi], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x5169c4
push esi
call edi
mov ecx, dword [esp + 0x328]
push ecx
push esi
call edi
mov edx, dword [esp + 0x32c]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x314
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x314
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x314
ret

Function at 0x43db60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e1532
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
push edi
mov edx, ecx
mov dword [esp + 8], 0
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x420]
stosw word es:[edi], ax
mov ecx, dword [ecx]
push edx
stosb byte es:[edi], al
mov eax, dword [esp + 0x428]
lea edx, [esp + 0x10]
push 0x400
push edx
mov edx, dword [esp + 0x434]
mov eax, dword [eax]
push edx
push eax
push ecx
mov dword [esp + 0x42c], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x41c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004b26c4
mov dword [esp + 8], 1
lea ecx, [esp + 0x428]
mov byte [esp + 0x414], 0
call fcn.004b2656
mov ecx, dword [esp + 0x40c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret 0x10
Function at 0x441ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e19aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov edx, dword [0x52506c]
lea ecx, [esi + 4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [ecx], edx
mov dl, byte [esp + 7]
mov dword [esi + 0xc], eax
mov byte [esi + 8], dl
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x18], dl
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x2c], eax
mov byte [esi + 0x28], dl
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x3c], eax
mov byte [esi + 0x38], dl
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov eax, dword [0x52506c]
mov dword [esi + 0x48], eax
push 0x5b52e4
mov byte [esp + 0x18], 6
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.004b278f
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4c], 0x4e4
mov dword [esi + 0x50], 9
mov dword [esi + 0x54], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44b280
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e2a23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov ebp, 1
push eax
push 0x263
mov dword [esp + 0x24], ebp
call fcn.004b3d6e
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x24]
mov dword [esi + 0x5c], ecx
push edx
lea ecx, [esi + 0x60]
mov byte [esp + 0x20], 2
call fcn.004b23cb
lea eax, [esp + 0x28]
lea ecx, [esi + 0x64]
push eax
mov byte [esp + 0x20], 3
call fcn.004b23cb
push 0x533538
lea ecx, [esi + 0x68]
mov byte [esp + 0x20], 4
call fcn.004b26c4
mov ecx, dword [esp + 0x30]
mov dl, byte [esp + 0x24]
xor ebx, ebx
mov dword [esi + 0x6c], ecx
mov byte [esi + 0x84], dl
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0xa4], ebx
mov eax, dword [0x52506c]
mov dword [esi + 0xa8], eax
lea ecx, [esi + 0xac]
mov byte [esp + 0x1c], 7
call fcn.00430830
lea edi, [esi + 0x18c]
mov byte [esp + 0x1c], 8
mov ecx, edi
call fcn.004b435c
mov dword [edi], method.CListCtrl.virtual_0
mov dword [edi + 0x3c], ebx
mov dword [esi], method.CPrintingDialog.virtual_0
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x94], ebp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebp
mov eax, dword [0x534a40]
lea ecx, [esp + 0x24]
mov dword [esi + 0x1cc], eax
mov eax, dword [0x534a2c]
mov dword [esi + 0x1dc], eax
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov byte [esp + 0x1c], bl
call fcn.004b2656
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004b2656
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x44caa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0044ca40
push ecx
xor eax, eax
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x517bc4
mov dword [esp + 0x1c], eax
mov dword [esi], 0x4ef858
mov dword [esi + 4], eax
mov dword [esi + 0x30], eax
call fcn.004b26c4
mov ecx, esi
call fcn.0043de90
mov ecx, dword [esp + 0xc]
mov eax, 2
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xac44
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret
Function at 0x44cbb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
or eax, 0x10000
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], eax
call fcn.004b23cb
mov ecx, esi
call fcn.0043e130
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0044ccf0
mov edi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
push ecx
mov ecx, esi
call fcn.0043e110
push 0x51a32c
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x50], 2
call fcn.004b28eb
push edi
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4c], 3
push eax
call fcn.004b2885
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push 0x20
push eax
call fcn.00481c2c
add esp, 0xc
lea ecx, [esp + 0x10]
test eax, eax
mov dword [esi + 0x30], eax
sete bl
call fcn.004b2656
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.004b2656
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.004b2656
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 0
call fcn.004b2656
test bl, bl
mov dword [esp + 0x44], ebp
lea ecx, [esp + 0x4c]
je 0x44cccf
call fcn.004b2656
xor eax, eax
jmp 0x44ccd9
call fcn.004b2656
mov eax, 1
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4
Function at 0x44f180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3250
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x52506c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x20c]
push 0
push 0
push 0x188
push ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov ebx, 1
jl 0x44f248
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x44f248
mov edx, dword [esi + 0x84]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x44f248
lea edi, [esi + 0x2a4]
lea eax, [ecx + eax*4]
push eax
mov ecx, edi
call fcn.004b278f
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
cmp eax, 0x46
jle 0x44f27b
lea edx, [esp + 0x14]
push 0x46
push edx
mov ecx, edi
call fcn.004ac619
push eax
lea eax, [esp + 0x14]
push 0x51dfc0
push eax
mov byte [esp + 0x2c], bl
call fcn.004b295f
push eax
mov ecx, edi
mov byte [esp + 0x24], 2
call fcn.004b278f
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004b2656
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x14]
jmp 0x44f276
lea ecx, [esp + 0x14]
push 0xc81
push ecx
mov ecx, 0x5bd568
call fcn.00442120
push eax
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x24], 3
call fcn.004b278f
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x14]
call fcn.004b2656
mov eax, dword [esi + 0x1d0]
cmp eax, 2
je 0x44f2a5
cmp eax, ebx
je 0x44f2a5
cmp eax, 3
je 0x44f2a5
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push str._d:_02d____d:_02d_brate__d_kbps
push edx
jmp 0x44f323
mov eax, 0x10624dd3
mov ecx, dword [esi + 0x1c8]
mul dword [esi + 0x1d4]
shr edx, 6
mov eax, 0x10624dd3
push edx
imul ecx
mov eax, edx
mov ebx, 0x3c
sar eax, 6
mov edx, eax
mov edi, dword [esi + 0x1cc]
shr edx, 0x1f
add eax, edx
cdq
idiv ebx
mov eax, 0x45e7b273
push edx
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x10624dd3
push edx
imul edi
mov eax, edx
sar eax, 6
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
mov ecx, ebx
cdq
idiv ecx
mov eax, 0x45e7b273
lea ecx, [esp + 0x18]
push edx
imul edi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str._d:_02d____d:_02d_brate__d_kbps
push ecx
call fcn.004acb0b
mov edx, dword [esp + 0x28]
add esp, 0x1c
lea ecx, [esi + 0x22c]
push edx
call fcn.004b80c5
push 0
mov ecx, esi
call fcn.004b6d05
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004b2656
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44f470
Capabilities:
Resume thread
Terminate thread

Disassembly:
mov eax, dword [0x5b531c]
push esi
test eax, eax
mov esi, ecx
je 0x44f4a0
push 0x239
push str.C:NeoAudio_1.5.7PlayerView.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Entering__CPlayerView::OnStop__
call fcn.004244f0
add esp, 4
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x44f4ba
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov dword [esi + 0x1b8], 1
mov dword [esi + 0x1d0], 4
mov eax, dword [esi + 0x1dc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x1ac]
push 0x32c8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44f517
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x44f517
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x1b0]
push 0xfffffffffffffffe
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1d0], 0
call fcn.0044f180
mov ecx, dword [esi + 0x284]
push 0
push 1
push 0x405
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x5b531c]
pop esi
test eax, eax
je 0x44f574
push 0x25d
push str.C:NeoAudio_1.5.7PlayerView.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Leaving_CPlayerView::OnStop__
call fcn.004244f0
pop ecx
ret

Function at 0x451c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e3583
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 8]
mov dword [esp + 0x18], 1
push eax
call fcn.004b2d50
add esp, 4
lea edi, [esi + 0x10]
xor ebx, ebx
mov ecx, edi
push 0x533538
mov dword [esi + 8], ebx
call fcn.004b27df
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov ecx, edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], ebx
mov byte [esp + 0x18], bl
call fcn.004b2656
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x451cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3598
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
test ebx, ebx
mov dword [esp + 0x14], 0
je 0x451d11
lea eax, [edi*8]
push eax
call fcn.004b2d27
mov dword [esi + 8], eax
add esp, 4
xor eax, eax
test edi, edi
jle 0x451d11
mov ecx, dword [esi + 8]
mov edx, dword [ebx + eax*8]
mov dword [ecx + eax*8], edx
mov edx, dword [ebx + eax*8 + 4]
mov dword [ecx + eax*8 + 4], edx
inc eax
cmp eax, edi
jl 0x451cfb
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
call fcn.004b278f
mov edx, dword [ebp + 0x18]
mov dword [esi + 4], edi
mov dword [esi + 0x14], edx
or edx, 0xffffffff
mov dword [esi + 0x18], edx
mov dword [esi + 0x20], edx
test edi, edi
mov dword [esi + 0x1c], 0xffefffff
mov dword [esi + 0x24], 0x7fefffff
jle 0x451d80
mov ecx, dword [esi + 8]
fld qword [esi + 0x20]
fld qword [ecx]
fcompp
fnstsw ax
test ah, 0x41
jne 0x451d5d
fld qword [esi + 0x20]
jmp 0x451d5f
fld qword [ecx]
fstp qword [esi + 0x20]
fld qword [esi + 0x18]
fld qword [ecx]
fcompp
fnstsw ax
test ah, 1
je 0x451d75
fld qword [esi + 0x18]
jmp 0x451d77
fld qword [ecx]
add ecx, 8
dec edi
fstp qword [esi + 0x18]
jne 0x451d4a
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
lea ecx, [ebp + 0x14]
mov dword [esp + 0x14], edx
call fcn.004b2656
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x455f70
Capabilities:
Capture microphone audio

Disassembly:
push 0xffffffffffffffff
push 0x4e3e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x5bd338]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], 1
je 0x455fce
push 0x9d
push str.C:NeoAudio_1.5.7RecordWavStream.cpp
push str.___11s__4d:
call fcn.004244f0
mov eax, dword [esp + 0x34]
add esp, 0xc
push eax
push str.Entering_RecordWavStream::OpenStream___s__
call fcn.004244f0
add esp, 8
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov edi, eax
mov dword [esi + 0x38], edx
and edi, 0xffff
push 0x30000
imul edi, edx
lea ecx, [esi + 0x34]
mov word [esi + 0x36], ax
lea edx, [eax + eax]
mov eax, dword [esi + 0x464]
push esi
push 0x455da0
lea ebx, [esi + 0x48]
push ecx
shl edi, 1
push eax
push ebx
mov word [esi + 0x42], 0x10
mov word [ecx], 1
mov dword [esi + 0x3c], edi
mov word [esi + 0x40], dx
mov word [esi + 0x44], bp
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x45603a
push ebp
push ebp
push str.Could_not_open_wave_device.
call fcn.004c0fde
mov dword [esp + 0x10], ebp
jmp 0x456113
push 0x80000
call fcn.004b2d27
add esp, 4
cmp eax, ebp
mov dword [esi + 0x44c], eax
jne 0x45605a
mov dword [esp + 0x10], ebp
jmp 0x456113
lea edi, [esi + 0x4c]
mov edx, dword [esi + 0x44c]
mov ecx, ebp
add ecx, edx
push 0x20
mov dword [edi], ecx
mov dword [edi + 4], 0x4000
mov edx, dword [ebx]
push edi
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [ebx]
push 0x20
push edi
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
add ebp, 0x4000
add edi, 0x20
cmp ebp, 0x80000
jl 0x45605d
push 8
call fcn.004b2d27
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x20], 1
je 0x4560c1
push 0
push 0
push 0x20
push 0x20
mov ecx, eax
call fcn.00481f20
jmp 0x4560c3
xor eax, eax
test eax, eax
mov byte [esp + 0x20], 0
mov dword [esi + 0x458], eax
je 0x45610b
push 8
call fcn.004b2d27
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x20], 2
je 0x4560fa
push 0
push 0
push 0x20
push 0
mov ecx, eax
call fcn.00481f20
jmp 0x4560fc
xor eax, eax
test eax, eax
mov byte [esp + 0x20], 0
mov dword [esi + 0x45c], eax
jne 0x456113
mov dword [esp + 0x10], 0
mov eax, dword [0x5bd338]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x456149
push 0xdf
push str.C:NeoAudio_1.5.7RecordWavStream.cpp
push str.___11s__4d:
call fcn.004244f0
mov ecx, dword [esp + 0xc]
add esp, 0xc
push ecx
push str.Leaving_RecordWavStream::OpenStream____return_value__d
call fcn.004244f0
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.004b2656
mov ecx, dword [esp + 8]
mov eax, dword [esp]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x456170
Capabilities:
Capture microphone audio

Disassembly:
mov eax, dword [0x5bd338]
push esi
test eax, eax
mov esi, ecx
je 0x4561a0
push 0xe7
push str.C:NeoAudio_1.5.7RecordWavStream.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Entering_RecordWavStream::Start__
call fcn.004244f0
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x468], 0
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov dword [esi + 0x460], 0
mov eax, dword [0x5bd338]
test eax, eax
pop esi
je 0x4561ec
push 0xee
push str.C:NeoAudio_1.5.7RecordWavStream.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Leaving_RecordWavStream::Start__
call fcn.004244f0
add esp, 4
mov eax, 1
ret

Function at 0x456200
Capabilities:
Capture microphone audio

Disassembly:
mov eax, dword [0x5bd338]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp eax, 2
mov ebx, ecx
jne 0x45623d
push 0xf8
push str.C:NeoAudio_1.5.7RecordWavStream.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push esi
push edi
push str.Entering_RecordWavStream::Read___p___d__
call fcn.004244f0
add esp, 0xc
mov ecx, dword [ebx + 0x45c]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x468]
test eax, eax
jne 0x4562c7
mov edx, dword [ebx + 0x44c]
mov ecx, esi
mov esi, dword [ebx + 0x454]
push 0x20
shl esi, 0xe
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x454]
mov ecx, dword [ebx + 0x48]
shl eax, 5
add eax, ebx
mov esi, dword [eax + 0x54]
add eax, 0x4c
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov edx, dword [ebx + 0x454]
mov ecx, dword [ebx + 0x48]
shl edx, 5
push 0x20
lea eax, [edx + ebx + 0x4c]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edx, dword [ebx + 0x454]
inc edx
and edx, 0x8000001f
jns 0x4562c1
dec edx
or edx, 0xffffffe0
inc edx
mov dword [ebx + 0x454], edx
mov ecx, dword [ebx + 0x458]
lea edx, [esp + 0x14]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [0x5bd338], 2
jne 0x45630b
push 0x11b
push str.C:NeoAudio_1.5.7RecordWavStream.cpp
push str.___11s__4d:
call fcn.004244f0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
push str.Leaving_RecordWavStream::Read_Number_of_Available_buffers_d_n
call fcn.004244f0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
ret 8
Function at 0x456320
Capabilities:
Capture microphone audio

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
push 0xffffffffffffffff
mov ecx, dword [esi + 0x45c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x454]
mov eax, dword [esi + 0x48]
shl ecx, 5
push 0x20
lea edx, [ecx + esi + 0x4c]
push edx
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov ecx, dword [esi + 0x454]
mov eax, dword [esi + 0x48]
shl ecx, 5
push 0x20
lea edx, [ecx + esi + 0x4c]
push edx
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov ecx, dword [esi + 0x454]
inc ecx
and ecx, 0x8000001f
jns 0x456381
dec ecx
or ecx, 0xffffffe0
inc ecx
mov dword [esi + 0x454], ecx
mov ecx, dword [esi + 0x458]
lea eax, [esp + 4]
mov edx, dword [ecx]
push eax
push 1
call dword [edx + 0x10]
pop esi
pop ecx
ret

Function at 0x456eb0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov edx, dword [eax - 8]
inc edx
push edx
push eax
mov eax, dword [esp + 0xc]
push 1
push 0
mov edx, dword [eax]
mov eax, dword [ecx + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x457270
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov edx, dword [ebx]
push edi
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, ecx
push 0
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], 0
call ebp
mov ecx, dword [esp + 0x10]
mov eax, 4
cmp ecx, eax
jne 0x4572dd
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push edx
push 0
push 0
push eax
push ecx
call ebp
mov edx, dword [esp + 0x1c]
mov dword [edi], edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x4574f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, ecx
xor eax, eax
lea ecx, [esp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
mov ecx, dword [edi + 8]
lea edx, [esp + 0x14]
push eax
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push eax
mov eax, dword [ebp]
push eax
push ecx
call ebx
cmp dword [esp + 0x10], 1
jne 0x457568
mov edx, dword [esp + 0xc]
push esi
push edx
call fcn.004b2d27
add esp, 4
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esi], 0
mov eax, dword [ebp]
mov edx, dword [edi + 8]
push esi
push 0
push 0
push eax
push edx
call ebx
test eax, eax
jne 0x45755e
mov ecx, dword [esp + 0x20]
push esi
call fcn.004b27df
push esi
call fcn.004b2d50
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret 8