Function at 0x44089b
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.WINMM.dll_mixerGetNumDevs]
test eax, eax
je 0x440b5f
lea eax, [ebp - 0x34]
push eax
call fcn.00440800
pop ecx
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x440b5f
push 0xa0000000
lea eax, [esi + 8]
push eax
push dword [ebp - 8]
call dword [sym.imp.WINMM.dll_mixerGetID]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.WINMM.dll_waveInClose]
cmp edi, ebx
jne 0x440b5f
push 0x30
pop edi
push edi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.004428e0
add esp, 0xc
mov dword [ebp - 0x64], edi
lea eax, [ebp - 0x64]
mov edi, str.Input_Volume_Msg_Wnd_Class
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x5c], 0x440856
call dword [sym.imp.USER32.dll_RegisterClassExA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x88000000
push str.Input_Volume_Msg_Wnd
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [esi], eax
je 0x440b5f
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10000
push ebx
push dword [esi]
lea eax, [esi + 0xc]
push dword [esi + 8]
push eax
call dword [sym.imp.WINMM.dll_mixerOpen]
test eax, eax
jne 0x440b55
lea eax, [esi + 4]
push eax
push 0x4406b6
call fcn.004406d6
test al, al
pop ecx
pop ecx
je 0x440b55
mov edi, 0xa8
push edi
lea eax, [ebp - 0x1a0]
push ebx
push eax
call fcn.004428e0
add esp, 0xc
push 3
lea eax, [ebp - 0x1a0]
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x188], 7
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
jne 0x440b55
push 0x94
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.004428e0
push 0x18
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0xf8], 0x94
call fcn.004428e0
push edi
lea eax, [ebp - 0x2f0]
push ebx
push eax
mov dword [ebp - 0x20], 0x18
call fcn.004428e0
mov eax, dword [esi + 4]
add esp, 0x24
cmp eax, dword [ebp - 0x180]
mov dword [ebp - 0x2f0], edi
jae 0x440b55
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x2e8], eax
push 1
lea eax, [ebp - 0x2f0]
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x2ec], ecx
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
jne 0x440b55
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xc], eax
push 2
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x18], 0x50030001
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x94
call dword [sym.imp.WINMM.dll_mixerGetLineControlsA]
test eax, eax
jne 0x440a99
test byte [ebp - 0xe9], 0x80
jne 0x440a99
mov byte [esi + 0x10], 1
cmp dword [ebp - 0x180], ebx
mov dword [ebp - 4], ebx
jbe 0x440b0b
push edi
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.004428e0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x240], eax
push 1
lea eax, [ebp - 0x248]
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x248], edi
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
jne 0x440af2
cmp dword [ebp - 0x230], 0x1003
je 0x440b02
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x180]
jb 0x440aa4
jmp 0x440b0b
mov eax, dword [ebp - 0x240]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0xffffffff
je 0x440b55
mov eax, dword [ebp - 0x2d4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0xf4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x7c]
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.00440b66
cmp eax, 0xffffffff
je 0x440b50
mov dword [esi + 0x28], eax
push 1
pop eax
jmp 0x440b61
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret