Function at 0x1000ed10
Capabilities:
Capture microphone audio

Disassembly:
inc ebp
adc byte [ecx + 0x7d83fc45], cl
cld
add byte [edx - 0x75], dh
dec ebp
cld
cmp dword [ecx + 0x18], 0
jne 0x1000ed02
cmp dword [ebp + 0xc], 0x3c0
jne 0x1000ed02
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000ed10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011899
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x70], ecx
push eax
xor eax, eax
je 0x1000ed3d
jae 0x1000ecd5
mov eax, dword [0x8b206a58]
inc ebp
or al, 0x50
pop eax
push 0x20
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
test eax, eax
je 0x1000ed57
jmp 0x1000ef6d
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x14], 0
jne 0x1000edc5
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x14], 1
push 0x12
mov ecx, dword [ebp - 0x70]
add ecx, 0x58
push ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0x1c8
call fcn.100040e0
test eax, eax
je 0x1000ed9d
push 0x20
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0x1c8
call fcn.100040e0
test eax, eax
jne 0x1000edc5
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x18], 1
push 0
push 0
push 0x5b6
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x2e4]
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x1000ef6d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
lea edx, [ecx + ecx + 0xffff]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
lea eax, [edx + edx + 0xffff]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax + eax + 0xffff]
xor eax, eax
mov edi, dword [ebp - 0x54]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx + 0xffff]
xor eax, eax
mov edi, dword [ebp - 0x50]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov edi, dword [ebp - 0x50]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x3a], 8
mov byte [ebp - 0x3b], 8
mov byte [ebp - 0x39], 4
mov byte [ebp - 0x38], 2
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x48]
call fcn.10001ff0
push 4
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x1c8
call fcn.100040e0
test eax, eax
je 0x1000eec5
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0x1c8
call fcn.100040e0
test eax, eax
jne 0x1000ef15
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 0
push 0x5b6
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x2e4]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov dword [ebp - 4], 0xffffffff
jmp 0x1000ef6d
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x20
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
je 0x1000ef56
mov dword [ebp - 4], 0xffffffff
jmp 0x1000ef6d
push 0x20
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx