Function at 0x1100c8a0
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1117e341
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1100c8fb
movzx esi, word [ebx + 2]
jmp 0x1100c8fe
mov esi, dword [ebp + 0xc]
mov al, byte [edi + 0x238]
mov dword [edi + 0x70], esi
test al, 1
je 0x1100c90e
or esi, 1
test al, 2
je 0x1100c915
or esi, 8
test esi, esi
jne 0x1100c92a
push 0xf
mov ecx, edi
call fcn.1100bdb0
add esp, 4
jmp 0x1100cf7c
mov eax, esi
and eax, 1
mov dword [ebp - 0xf8], eax
jne 0x1100c943
push 1
mov ecx, edi
call fcn.1100bdb0
add esp, 4
mov eax, esi
and eax, 2
mov dword [ebp - 0xf4], eax
jne 0x1100c95c
push 2
mov ecx, edi
call fcn.1100bdb0
add esp, 4
and esi, 8
mov dword [ebp - 0xe8], esi
jne 0x1100c973
push 8
mov ecx, edi
call fcn.1100bdb0
add esp, 4
test ebx, ebx
je 0x1100ca07
movzx ecx, word [ebx + 0xe]
add ecx, 0x12
push ecx
call fcn.11163a11
mov esi, eax
add esp, 4
test esi, esi
jne 0x1100c9a8
push 0x1d8
push 0x11196028
push 0x111967d4
call fcn.11029a70
add esp, 0xc
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [esi + 0x10], ax
mov dx, word [ebx + 4]
mov word [esi], dx
mov eax, 1
mov word [esi + 2], ax
movzx ecx, word [ebx + 6]
mov dword [esi + 4], ecx
movzx edx, word [ebx + 8]
mov dword [esi + 8], edx
mov ax, word [ebx + 0xa]
mov word [esi + 0xc], ax
mov cx, word [ebx + 0xc]
mov word [esi + 0xe], cx
movzx eax, word [ebx + 0xe]
mov word [esi + 0x10], ax
test ax, ax
je 0x1100ca18
push eax
add ebx, 0x10
lea eax, [esi + 0x12]
push ebx
push eax
call fcn.11162c60
add esp, 0xc
jmp 0x1100ca18
push 0x12
push 0x111e260c
call fcn.111450f0
add esp, 8
mov esi, eax
cmp word [esi], 1
jne 0x1100ca29
movzx ecx, word [esi + 0xc]
imul ecx, dword [esi + 4]
mov dword [esi + 8], ecx
cmp byte [ebp + 0x10], 0
jne 0x1100cb5f
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x1100ca98
movzx eax, word [esi + 0x10]
cmp ax, word [ecx + 0x10]
jne 0x1100ca98
add eax, 0x12
mov edx, esi
cmp eax, 4
jb 0x1100ca64
mov edi, edi
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x1100ca98
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1100ca50
test eax, eax
je 0x1100cb5f
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x1100ca98
cmp eax, 1
jbe 0x1100cb5f
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x1100ca98
cmp eax, 2
jbe 0x1100cb5f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
je 0x1100cb5f
push 0xf
mov ecx, edi
call fcn.1100bdb0
mov eax, dword [edi + 0x74]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x1100cab6
push eax
call fcn.11163aa5
add esp, 4
mov dword [edi + 0x74], esi
mov ecx, dword [esi]
mov dword [edi + 0x440], ecx
mov edx, dword [esi + 4]
mov dword [edi + 0x444], edx
mov eax, dword [esi + 8]
mov dword [edi + 0x448], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x44c], ecx
mov dx, word [esi + 0x10]
mov word [edi + 0x450], dx
mov byte [edi + 0x409], bl
movzx edx, word [esi + 0x10]
add edx, 0x10
xor eax, eax
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], edx
mov ecx, esi
cmp edx, 2
jl 0x1100cb44
movzx edx, byte [ecx]
add word [ebp - 0xdc], dx
movzx edx, byte [esi + eax + 1]
add word [ebp - 0xe0], dx
mov edx, dword [ebp - 0xec]
add eax, 2
lea ebx, [edx - 1]
add ecx, 2
cmp eax, ebx
jl 0x1100cb15
mov ebx, dword [ebp - 0xf0]
cmp eax, edx
jge 0x1100cb4b
movzx ebx, byte [ecx]
mov ecx, dword [ebp - 0xe0]
add ecx, dword [ebp - 0xdc]
add ebx, ecx
mov word [edi + 0x78], bx
jmp 0x1100cb6b
push esi
call fcn.11163aa5
mov esi, dword [edi + 0x74]
add esp, 4
cmp dword [ebp - 0xe8], 0
je 0x1100cb7d
push edi
call fcn.1100b7f0
add esp, 4
cmp dword [ebp - 0xf8], 0
je 0x1100cdc1
cmp dword [edi + 0x84], 0
lea ebx, [edi + 0x84]
jne 0x1100cdc1
lea eax, [edi + 0x28]
push eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xf0], eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
push 0x30000
push edi
push 0x1100a110
push esi
push 0xffffffffffffffff
push ebx
mov byte [ebp - 4], 1
mov dword [edi + 0x208], 0xa
call dword [sym.imp.WinMM.DlL_waveInOpen]
mov ebx, eax
test ebx, ebx
je 0x1100cc71
mov eax, dword [edi + 0x218]
test eax, eax
je 0x1100cc33
push 4
push 0
push 0
push 0
push esi
push 0x111e260c
push 0
lea ecx, [edi + 0x7c]
push ecx
call eax
test eax, eax
je 0x1100cc12
push eax
push 0x111967b0
call fcn.11147060
add esp, 8
push 0x30000
push edi
push 0x1100a110
push 0x111e260c
push 0xffffffffffffffff
lea eax, [edi + 0x84]
push eax
call dword [sym.imp.WinMM.DlL_waveInOpen]
mov ebx, eax
test ebx, ebx
je 0x1100cc71
push ebx
push 0x11196794
call fcn.11147060
add esp, 8
cmp dword [ebp - 0xe8], 0
jne 0x1100cdb0
mov edx, dword [ebp - 0xdc]
mov esi, dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
push edx
call esi
mov eax, dword [ebp - 0xe4]
push eax
call esi
mov eax, ebx
jmp 0x1100cf8b
mov ecx, dword [edi + 0x84]
push ecx
call dword [sym.imp.WinMM.DlL_waveInStop]
test eax, eax
je 0x1100cc90
push eax
push 0x11196778
call fcn.11147060
add esp, 8
lea ebx, [edi + 0x98]
mov dword [ebp - 0xe8], 0xa
mov eax, 0xcccccccd
mul dword [esi + 8]
shr edx, 3
add edx, 3
and edx, 0xfffffffc
cmp word [esi], 1
je 0x1100ccd0
movzx eax, word [esi + 2]
imul eax, dword [esi + 4]
lea edx, [eax + eax*2 + 9]
mov eax, 0xcccccccd
mul edx
shr edx, 3
add edx, 8
push edx
mov dword [ebx + 4], edx
call fcn.11163a11
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x1100ccf9
push 0x28c
push 0x11196028
push 0x1119676c
call fcn.11029a70
add esp, 0xc
mov eax, dword [edi + 0x84]
push 0x20
push ebx
push eax
call dword [sym.imp.WinMM.DlL_waveInPrepareHeader]
test eax, eax
je 0x1100cd39
push eax
lea ecx, [ebp - 0xd8]
push 0x11196750
push ecx
call dword [sym.imp.uSEr32.dll_wsprintfA]
push 0x292
lea edx, [ebp - 0xd8]
push 0x11196028
push edx
call fcn.11029a70
add esp, 0x18
mov eax, dword [edi + 0x84]
push 0x20
push ebx
push eax
call dword [sym.imp.WinMM.DlL_waveInAddBuffer]
test eax, eax
je 0x1100cd79
push eax
lea ecx, [ebp - 0xd8]
push 0x11196738
push ecx
call dword [sym.imp.uSEr32.dll_wsprintfA]
push 0x2a3
lea edx, [ebp - 0xd8]
push 0x11196028
push edx
call fcn.11029a70
add esp, 0x18
add ebx, 0x20
dec dword [ebp - 0xe8]
jne 0x1100cca0
mov eax, dword [edi + 0x84]
push eax
call dword [sym.imp.WinMM.DlL_waveInStart]
test eax, eax
je 0x1100cdb0
push 0x2a9
push 0x11196028
push 0x1119672c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [ebp - 0xdc]
push ecx
mov byte [ebp - 4], 0
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
cmp dword [ebp - 0xf4], 0
je 0x1100cf7c
cmp dword [edi + 0x1e0], 0
lea eax, [edi + 0x1e0]
mov dword [ebp - 0xdc], eax
jne 0x1100cf7c
lea eax, [edi + 0x40]
push eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xec], eax
call dword [sym.imp.KeRneL32.DLl_EnterCriticalSection]
mov ecx, dword [edi + 4]
push 0
push 0
push 0x1119671c
push 0x111a0f50
mov byte [ebp - 4], 2
call fcn.1105e820
mov ebx, eax
test ebx, ebx
je 0x1100ce41
mov edx, dword [ebp - 0xe0]
mov esi, dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
push edx
call esi
mov eax, dword [ebp - 0xe4]
push eax
call esi
mov eax, ebx
or eax, 0x8000
jmp 0x1100cf8b
mov ecx, dword [ebp - 0xdc]
push 0x30000
push edi
push 0x1100a160
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.WinMM.DlL_waveOutOpen]
mov ebx, eax
test ebx, ebx
je 0x1100cf19
mov eax, dword [edi + 0x218]
test eax, eax
je 0x1100cee6
push 4
push 0
push 0
push 0
push 0x111e260c
push esi
push 0
lea edx, [edi + 0x80]
push edx
call eax
mov esi, eax
test esi, esi
je 0x1100cec5
push esi
push 0x111966f8
call fcn.11147060
push 0xf
mov ecx, edi
call fcn.1100bdb0
mov eax, dword [ebp - 0xe0]
mov edi, dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
add esp, 0xc
push eax
call edi
mov ecx, dword [ebp - 0xe4]
push ecx
call edi
mov eax, esi
jmp 0x1100cf8b
mov edx, dword [ebp - 0xdc]
push 0x30000
push edi
push 0x1100a160
push 0x111e260c
push 0xffffffffffffffff
push edx
call dword [sym.imp.WinMM.DlL_waveOutOpen]
mov ebx, eax
test ebx, ebx
je 0x1100cf19
push ebx
push 0x111966dc
call fcn.11147060
mov eax, dword [ebp - 0xe0]
mov esi, dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
add esp, 8
push eax
call esi
mov ecx, dword [ebp - 0xe4]
push ecx
call esi
mov eax, ebx
or eax, 0x8000
jmp 0x1100cf8b
mov ecx, dword [edi + 4]
push 0
push 0xffffffffffffffff
push 0x111966d0
push 0x111a0f18
call fcn.1105e820
cmp eax, 0x64
jle 0x1100cf3b
mov eax, 0x64
jmp 0x1100cf3f
test eax, eax
js 0x1100cf6f
imul eax, eax, 0xffff
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
shl edx, 0x10
or edx, eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.WinMM.DlL_waveOutSetVolume]
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.KeRneL32.DLl_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0xc