Function at 0x100061e0
Capabilities:
Capture microphone audio

Disassembly:
push 0xffffffffffffffff
push 0x10018c9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x30], 0x10019be0
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebx, [esp + 0x14]
lea edi, [esi + 0x74]
mov ebp, 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [0x10019410]
mov dword [edi], eax
add ebx, 4
add edi, 4
dec ebp
jne 0x10006295
mov ecx, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esi], 0x10019bdc
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x100062ce.2
xor edx, edx
mov dl, byte [eax + 0x10006554]
jmp dword [edx*4 + 0x1000654c]
mov dword [esi + 0x120], ecx
jmp 0x100062e7
mov dword [esi + 0x120], 8
call fcn.10006da0
push ebp
call dword [0x10019414]
mov dword [esi + 0xf4], eax
mov dword [esi + 0xc0], 0xcc0020
mov byte [esi + 0xb4], 1
call dword [0x100192b4]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0xc4], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov edi, dword [0x10019418]
push ebp
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc8], eax
mov al, byte [esp + 0x6c]
mov byte [esi + 0xbc], al
call edi
push 1
mov dword [esi + 0xd8], eax
call edi
mov ecx, dword [esi + 0x120]
mov dword [esi + 0xdc], eax
mov eax, 0x20
mov edi, dword [sym.imp.WINMM.dll_waveInClose]
cdq
idiv ecx
mov dword [esi + 0xe0], ebp
mov dword [esi + 0xd0], eax
lea eax, [ecx + ecx*2]
shl eax, 3
mov ecx, dword [esi + 0xf4]
cdq
and edx, 7
push ecx
add eax, edx
sar eax, 3
mov dword [esi + 0xd4], eax
call edi
mov edx, dword [esi + 0xf4]
mov dword [esi + 0xfc], eax
push edx
call edi
push ebp
mov dword [esi + 0x12c], eax
call edi
push ebp
mov dword [esi + 0xf8], eax
call edi
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0xd8]
push 1
lea edi, [esi + 0x10c]
lea ebx, [esi + 0x110]
push eax
push ecx
mov ecx, esi
mov dword [edi], ebp
mov dword [ebx], ebp
call fcn.10008460
mov edx, dword [esi + 0xdc]
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0xd8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.10008460
mov edx, dword [esi + 0xd8]
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x120]
push 1
push edx
push eax
mov ecx, esi
call fcn.10008460
mov dword [esi + 0x11c], eax
push ebp
mov ecx, dword [esi + 0x114]
mov edx, dword [esi + 0xf4]
push ebp
push edi
mov edi, dword [sym.imp.WINMM.dll_waveInAddBuffer]
push ebp
push ecx
push edx
call edi
mov ecx, dword [esi + 0xf4]
push ebp
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x118]
push ebp
push ebx
push ebp
push eax
push ecx
call edi
mov ecx, dword [esi + 0xf4]
push ebp
lea edx, [esi + 0x128]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x118]
push ebp
push edx
push ebp
push eax
push ecx
call edi
mov edx, dword [esi + 0x108]
mov edi, dword [sym.imp.WINMM.dll_mixerGetNumDevs]
mov dword [esi + 0x130], eax
mov eax, dword [esi + 0xfc]
push edx
push eax
call edi
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0xf8]
push ecx
push edx
call edi
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x12c]
push eax
push ecx
call edi
mov edx, dword [esi + 0xdc]
mov eax, dword [esi + 0xd8]
mov edi, dword [0x1001941c]
push edx
push eax
push ebp
lea ecx, [esi + 0xe4]
push ebp
push ecx
call edi
mov edx, dword [esi + 0x118]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call fcn.1001855c
mov dword [esi + 0x2c], eax
mov byte [eax], 0x75
mov ecx, dword [esi + 0x2c]
mov dl, byte [esi + 0xb4]
add esp, 4
mov byte [ecx + 1], dl
mov eax, dword [esi + 0x118]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
push ebp
lea eax, [esi + 4]
push ebp
push eax
call edi
mov ecx, dword [esi + 0x118]
xor edx, edx
mov eax, dword [ecx + 0x14]
div dword [esi + 0xdc]
lea edx, [esi + 0x14]
mov dword [esi + 0xcc], ebp
push edx
mov dword [esi + 0x124], eax
call dword [0x1001915c]
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
mov edx, dword [edi + 0x38]
mov al, byte [esp + 0x13]
add edx, esi
cmp byte [edx + ebp], al
jne 0x10016688
mov al, byte [esp + 0x28]
cmp byte [edx + ebp - 1], al
jne 0x10016688
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10016688
mov al, byte [edx + 1]
inc edx
cmp al, byte [ecx + 1]
jne 0x10016688
add ecx, 2
inc edx
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
cmp al, byte [edx]
jne 0x10016658
mov al, byte [ecx + 1]
inc ecx
inc edx
inc ecx
add dword [ecx + 0x42], eax
cmp al, byte [edx]
jne 0x10016658
cmp ecx, ebx
jb 0x1001660c
mov edx, ecx
lea ecx, [ebx - 0x102]
sub edx, ebx
add edx, 0x102
cmp edx, ebp
jle 0x10016688
mov eax, dword [esp + 0x18]
mov dword [edi + 0x70], esi
cmp edx, eax
mov ebp, edx
jge 0x100166ad
mov al, byte [edx + ecx - 1]
mov dl, byte [edx + ecx]
mov byte [esp + 0x28], al
mov byte [esp + 0x13], dl
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x40]
and edx, esi
xor esi, esi
mov si, word [eax + edx*2]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jbe 0x100166ad
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x100165d1
mov eax, dword [esp + 0x20]
cmp ebp, eax
ja 0x100166b7
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret