Function at 0x1003e05c
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 0x1003e08e
push 0x24
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jl 0x1003e620
mov ebx, dword [0x100e6d99]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov word [ebx], 1
mov ebx, dword [0x100e6d99]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov word [ebx], 2
mov ebx, dword [0x100e6d99]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xac44
mov ebx, dword [0x100e6d99]
add ebx, 0x14
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov word [ebx], 0x10
mov ebx, dword [0x100e6d99]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov ebx, dword [0x100e6d99]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [0x100e6d99]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [0x100e6d99]
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 [0x100d7f91]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001713
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6d99]
add ebx, 0x10
mov dword [ebp - 4], ebx
mov ebx, dword [0x100e6d99]
add ebx, 0x14
mov dword [ebp - 8], ebx
mov ebx, dword [0x100e6d99]
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 [0x100d7f91]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001713
mov ebx, dword [ebp - 4]
mov word [ebx], ax
mov dword [ebp - 4], esp
push 0x30000
push 0
push 0x1003ea38
mov eax, dword [0x100e6d99]
push eax
push 0x12
call fcn.100abdd1
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 0x100e6d9d
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInOpen]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e277
push 0x2ad
push 0x4048a87
push 6
call fcn.100abddd
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.100abdd7
add esp, 4
pop eax
mov dword [0x100e6da1], 0xf000
push 0x80000301
push 0
push dword [0x100e6da1]
push 1
mov ebx, 0x1bc
call fcn.100acce0
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x100e6da5]
test ebx, ebx
je 0x1003e316
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [0x100e6da5], eax
push 0x80000301
push 0
push dword [0x100e6da1]
push 1
mov ebx, 0x1bc
call fcn.100acce0
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x100e6da9]
test ebx, ebx
je 0x1003e355
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [0x100e6da9], eax
push 0x80000301
push 0
push dword [0x100e6da1]
push 1
mov ebx, 0x1bc
call fcn.100acce0
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [0x100e6dad]
test ebx, ebx
je 0x1003e394
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [0x100e6dad], eax
mov dword [ebp - 4], esp
push dword [0x100e6da1]
mov eax, dword [0x100e6da5]
test eax, eax
je 0x1003e3af
add eax, 8
push eax
mov eax, dword [0x100e6da5]
test eax, eax
je 0x1003e3bc
add eax, 8
push eax
xor eax, eax
call dword [0x100e6f29]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e3e3
push 0x459
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6db1], eax
mov dword [ebp - 4], esp
push dword [0x100e6da1]
mov eax, dword [0x100e6da9]
test eax, eax
je 0x1003e3fd
add eax, 8
push eax
mov eax, dword [0x100e6da9]
test eax, eax
je 0x1003e40a
add eax, 8
push eax
xor eax, eax
call dword [0x100e6f29]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e431
push 0x49b
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6db5], eax
mov dword [ebp - 4], esp
push dword [0x100e6da1]
mov eax, dword [0x100e6dad]
test eax, eax
je 0x1003e44b
add eax, 8
push eax
mov eax, dword [0x100e6dad]
test eax, eax
je 0x1003e458
add eax, 8
push eax
xor eax, eax
call dword [0x100e6f29]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e47f
push 0x4dd
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6db9], eax
mov ebx, dword [0x100e6dbd]
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6db1]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6dc1]
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6db5]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6dc5]
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6db9]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6dbd]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6da1]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6dc1]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6da1]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x100e6dc5]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, dword [0x100e6da1]
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6dbd]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e539
push 0x643
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6dc1]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e573
push 0x66d
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6dc5]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e5ad
push 0x697
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 4], esp
push 0x20
push dword [0x100e6dbd]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e5e7
push 0x6f2
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6d55], 1
mov dword [ebp - 4], esp
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInStart]
nop
nop
cmp dword [ebp - 4], esp
je 0x1003e620
push 0x73f
push 0x4048a87
push 6
call fcn.100abddd
add esp, 0xc
mov esp, ebp
pop ebp
ret