Function at 0x7135c0
Capabilities:
Capture microphone audio

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov rbp, rsp
mov dword [rbp + 0x3c], ecx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
nop
mov qword [rbp + 0xd8], 0
mov word [rbp + 0xc6], 1
mov word [rbp + 0xc8], 1
movzx rax, word [0x00a8cfb8]
mov word [rbp + 0xd4], ax
mov eax, dword [0x00a8cfbc]
mov dword [rbp + 0xca], eax
movzx eax, word [rbp + 0xd4]
mov ecx, 8
xor edx, edx
div ecx
movzx rcx, word [rbp + 0xc8]
imul cx, ax
mov word [rbp + 0xd2], cx
movzx eax, word [rbp + 0xd2]
mov ecx, dword [rbp + 0xca]
imul ecx, eax
mov dword [rbp + 0xce], ecx
mov word [rbp + 0xd6], 0
mov eax, dword [0x00713bf8]
mov dword [rbp + 0x9a], eax
mov dword [rbp + 0x9e], 0
mov eax, dword [0x00713bfc]
mov dword [rbp + 0xa2], eax
mov eax, dword [0x00713c00]
mov dword [rbp + 0xa6], eax
mov dword [rbp + 0xaa], 0x10
mov eax, dword [0x00713c04]
mov dword [rbp + 0xbe], eax
mov dword [rbp + 0xc2], 0
movzx rax, word [rbp + 0xc6]
mov word [rbp + 0xae], ax
movzx rax, word [rbp + 0xc8]
mov word [rbp + 0xb0], ax
mov eax, dword [rbp + 0xca]
mov dword [rbp + 0xb2], eax
mov eax, dword [rbp + 0xce]
mov dword [rbp + 0xb6], eax
movzx rax, word [rbp + 0xd2]
mov word [rbp + 0xba], ax
movzx rax, word [rbp + 0xd4]
mov word [rbp + 0xbc], ax
lea rcx, [rbp + 0xd8]
mov edx, dword [rbp + 0x3c]
lea r8, [rbp + 0xc6]
mov r9, qword [0x00a9a498]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x50000
call sub.winmm.dll_waveInOpen
mov ebx, eax
test ebx, ebx
je 0x713833
lea rcx, [rbp + 0x80]
mov edx, dword [rbp + 0xca]
call fcn.0042bdf0
lea rcx, [rbp + 0x88]
mov edx, 3
lea r8, [0x00713c14]
mov r9, qword [rbp + 0x80]
lea rax, [0x00713c38]
mov qword [rsp + 0x20], rax
call fcn.00410420
mov rcx, qword [rbp + 0x88]
mov edx, ebx
call fcn.00713210
lea rcx, [rbp + 0xd8]
or edx, 0xffffffff
lea r8, [rbp + 0xc6]
mov r9, qword [0x00a9a498]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x50000
call sub.winmm.dll_waveInOpen
mov ebx, eax
test ebx, ebx
jne 0x713ba6
lea rcx, [rbp + 0x70]
mov edx, 0xffffffff
call fcn.0042bdf0
lea rcx, [rbp + 0x78]
lea rdx, [0x00713c4c]
mov r8, qword [rbp + 0x70]
call fcn.004102f0
mov cx, 4
mov rdx, qword [rbp + 0x78]
call fcn.0047cfa0
jmp 0x713862
lea rcx, [rbp + 0x60]
mov edx, dword [rbp + 0x3c]
mov edx, edx
call fcn.0042bdf0
lea rcx, [rbp + 0x68]
lea rdx, [0x00713c4c]
mov r8, qword [rbp + 0x60]
call fcn.004102f0
mov cx, 4
mov rdx, qword [rbp + 0x68]
call fcn.0047cfa0
cmp qword [rbp + 0xd8], 0
jne 0x713881
mov cx, 1
lea rdx, [0x00713c80]
call fcn.0047cfa0
jmp 0x713ba6
mov eax, dword [0x00a8cfb0]
add eax, 5
mov ecx, dword [rbp + 0xce]
imul ecx, eax
mov dword [0x00a8cfc0], ecx
mov ecx, dword [0x00a8cfc0]
add ecx, 0x2c
mov ecx, ecx
call fcn.00405da0
mov qword [0x00a8cfe0], rax
lea rcx, [rbp + 0x9a]
mov rdx, qword [0x00a8cfe0]
mov r8d, 0x2c
call fcn.00406200
mov dword [0x00a8cfc4], 0
mov rcx, qword [0x00a9a480]
call fcn.00411c50
xor rsi, rsi
mov edi, eax
cmp esi, edi
jg 0x713ad7
add edi, 1
movsxd rax, esi
add rax, rax
lea rax, [rax + rax*2]
add rax, rax
add rax, rax
add rax, rax
mov rcx, qword [0x00a9a480]
add rcx, rax
mov edx, 0x30
xor r8, r8
call fcn.00408d50
xor rcx, rcx
mov eax, dword [rbp + 0xce]
xor edx, edx
div dword [0x00a8cff8]
mov rdx, rax
mov edx, edx
call sub.kernel32.dll_GlobalAlloc
mov rcx, qword [0x00a9a488]
movsxd rdx, esi
mov qword [rcx + rdx*8], rax
mov rax, qword [0x00a9a488]
movsxd rcx, esi
cmp qword [rax + rcx*8], 0
jne 0x7139a2
call sub.kernel32.dll_GetLastError_2
lea rcx, [rbp + 0x50]
mov edx, eax
call fcn.00435d20
lea rcx, [rbp + 0x58]
lea rdx, [0x00713cc4]
mov r8, qword [rbp + 0x50]
call fcn.004102f0
mov cx, 1
mov rdx, qword [rbp + 0x58]
call fcn.0047cfa0
mov rcx, qword [rbp + 0xd8]
call sub.winmm.dll_waveInClose
mov qword [rbp + 0xd8], 0
jmp 0x713ba6
mov rax, qword [0x00a9a488]
movsxd rcx, esi
mov rcx, qword [rax + rcx*8]
call sub.kernel32.dll_GlobalLock
mov rcx, qword [0x00a9a480]
movsxd rdx, esi
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8], rax
mov rax, qword [0x00a9a480]
movsxd rcx, esi
add rcx, rcx
lea rcx, [rcx + rcx*2]
cmp qword [rax + rcx*8], 0
jne 0x713a2f
call sub.kernel32.dll_GetLastError_2
lea rcx, [rbp + 0x40]
mov edx, eax
call fcn.00435d20
lea rcx, [rbp + 0x48]
lea rdx, [0x00713cf8]
mov r8, qword [rbp + 0x40]
call fcn.004102f0
mov cx, 1
mov rdx, qword [rbp + 0x48]
call fcn.0047cfa0
mov rcx, qword [rbp + 0xd8]
call sub.winmm.dll_waveInClose
mov qword [rbp + 0xd8], 0
jmp 0x713ba6
mov rcx, qword [0x00a9a480]
movsxd r8, esi
add r8, r8
lea r8, [r8 + r8*2]
mov eax, dword [rbp + 0xce]
xor edx, edx
div dword [0x00a8cff8]
mov dword [rcx + r8*8 + 8], eax
mov rax, qword [0x00a9a480]
movsxd rcx, esi
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov dword [rax + rcx*8 + 0x18], 0
mov rcx, qword [rbp + 0xd8]
movsxd rax, esi
add rax, rax
lea rax, [rax + rax*2]
add rax, rax
add rax, rax
add rax, rax
mov rdx, qword [0x00a9a480]
add rdx, rax
mov r8d, 0x30
call sub.winmm.dll_waveInPrepareHeader
mov ebx, eax
test ebx, ebx
je 0x713acc
lea rcx, [0x00713d2c]
mov edx, ebx
call fcn.00713210
mov rcx, qword [rbp + 0xd8]
call sub.winmm.dll_waveInClose
mov qword [rbp + 0xd8], 0
jmp 0x713ba6
add esi, 1
cmp esi, edi
jne 0x7138f0
nop
mov rcx, qword [rbp + 0xd8]
call sub.winmm.dll_waveInStart
mov ebx, eax
test ebx, ebx
je 0x713b0f
lea rcx, [0x00713d60]
mov edx, ebx
call fcn.00713210
mov rcx, qword [rbp + 0xd8]
call sub.winmm.dll_waveInClose
mov qword [rbp + 0xd8], 0
mov ecx, 2
lea rdx, [0x00a9a490]
xor r8, r8
or r9d, 0xffffffff
call sub.kernel32.dll_WaitForMultipleObjects
mov rcx, qword [0x00a9a480]
call fcn.00411c50
xor rsi, rsi
mov edi, eax
cmp esi, edi
jg 0x713ba4
add edi, 1
mov rcx, qword [rbp + 0xd8]
movsxd rax, esi
add rax, rax
lea rax, [rax + rax*2]
add rax, rax
add rax, rax
add rax, rax
mov rdx, qword [0x00a9a480]
add rdx, rax
mov r8d, 0x30
call sub.winmm.dll_waveInAddBuffer
mov ebx, eax
test ebx, ebx
je 0x713b9d
lea rcx, [0x00713d84]
mov edx, ebx
call fcn.00713210
mov rcx, qword [rbp + 0xd8]
call sub.winmm.dll_waveInClose
mov qword [rbp + 0xd8], 0
jmp 0x713ba6
add esi, 1
cmp esi, edi
jne 0x713b40
nop
nop
lea rcx, [rbp + 0x40]
mov edx, 0xa
call fcn.0040e160
mov rax, qword [rbp + 0xd8]
lea rsp, [rbp + 0xe8]
pop rbx
pop rsi
pop rdi
pop rbp
ret