Function at 0x10048aac
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048ade
push 0x24
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jl 0x10049070
mov ebx, dword [0x100e6b09]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov word [ebx], 1
mov ebx, dword [0x100e6b09]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov word [ebx], 2
mov ebx, dword [0x100e6b09]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xac44
mov ebx, dword [0x100e6b09]
add ebx, 0x14
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov word [ebx], 0x10
mov ebx, dword [0x100e6b09]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov ebx, dword [0x100e6b09]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [0x100e6b09]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [0x100e6b09]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
fild dword [ebx]
fstp qword [ebp - 0x20]
fmul qword [ebp - 0x20]
mov ebx, dword [ebp - 0x10]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fmul qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x100ddbbc]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001795
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6b09]
add ebx, 0x10
mov dword [ebp - 4], ebx
mov ebx, dword [0x100e6b09]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [0x100e6b09]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fmul qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x100ddbbc]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001795
mov ebx, dword [ebp - 4]
mov word [ebx], ax
mov dword [ebp - 4], esp
push 0x30000
push 0
push 0x10049488
mov eax, dword [0x100e6b09]
push eax
push 0x12
call fcn.100b8c3f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push 0xffffffff
push 0x100e6b0d
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInOpen]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048cc7
push 0x2ad
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
push eax
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [ebp - 0xc]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6b11], 0xf000
push 0x80000301
push 0
push dword [0x100e6b11]
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x100e6b15]
test ebx, ebx
je 0x10048d66
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6b15], eax
push 0x80000301
push 0
push dword [0x100e6b11]
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x100e6b19]
test ebx, ebx
je 0x10048da5
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6b19], eax
push 0x80000301
push 0
push dword [0x100e6b11]
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x100e6b1d]
test ebx, ebx
je 0x10048de4
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6b1d], eax
mov dword [ebp - 4], esp
push dword [0x100e6b11]
mov eax, dword [0x100e6b15]
test eax, eax
je 0x10048dff
add eax, 8
push eax
mov eax, dword [0x100e6b15]
test eax, eax
je 0x10048e0c
add eax, 8
push eax
xor eax, eax
call dword [0x100e6c45]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048e33
push 0x459
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6b21], eax
mov dword [ebp - 4], esp
push dword [0x100e6b11]
mov eax, dword [0x100e6b19]
test eax, eax
je 0x10048e4d
add eax, 8
push eax
mov eax, dword [0x100e6b19]
test eax, eax
je 0x10048e5a
add eax, 8
push eax
xor eax, eax
call dword [0x100e6c45]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048e81
push 0x49b
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6b25], eax
mov dword [ebp - 4], esp
push dword [0x100e6b11]
mov eax, dword [0x100e6b1d]
test eax, eax
je 0x10048e9b
add eax, 8
push eax
mov eax, dword [0x100e6b1d]
test eax, eax
je 0x10048ea8
add eax, 8
push eax
xor eax, eax
call dword [0x100e6c45]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048ecf
push 0x4dd
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6b29], eax
mov ebx, dword [0x100e6b2d]
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6b21]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6b31]
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6b25]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6b35]
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6b29]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6b2d]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6b11]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6b31]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6b11]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6b35]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6b11]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6b2d]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048f89
push 0x643
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6b31]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048fc3
push 0x66d
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6b35]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
nop
nop
cmp dword [ebp - 4], esp
je 0x10048ffd
push 0x697
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6b2d]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 4], esp
je 0x10049037
push 0x6f2
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6ac5], 1
mov dword [ebp - 4], esp
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInStart]
nop
nop
cmp dword [ebp - 4], esp
je 0x10049070
push 0x73f
push 0x4048a87
push 6
call fcn.100b8c4b
add esp, 0xc
mov esp, ebp
pop ebp
ret