Function at 0x4112e0
Capabilities:
Capture microphone audio
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x49ae98]
xor eax, ebp
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x834], ecx
cmp dword [ebp + 0xc], 0x2000
jle 0x411313
mov eax, dword [ebp - 0x834]
mov byte [eax + 4], 1
xor eax, eax
jmp 0x4117ad
mov ecx, dword [ebp - 0x834]
mov byte [ecx + 0xc], 1
mov edx, dword [ebp - 0x834]
xor eax, eax
cmp dword [edx], 2
sete al
mov ecx, dword [ebp - 0x834]
mov byte [ecx + 0xd], al
mov edx, dword [ebp - 0x834]
cmp dword [edx], 2
jne 0x411358
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.WINMM.dll_waveOutClose]
mov edx, dword [ebp - 0x834]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x834]
cmp dword [eax], 1
jne 0x411437
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x4b6c44]
jne 0x411384
mov edx, dword [0x48a230]
cmp edx, dword [0x48a228]
je 0x411437
mov eax, dword [ebp - 0x834]
mov byte [eax + 0xe], 1
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx + 0x70]
push edx
call dword [sym.imp.WINMM.dll_waveInReset]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x24], eax
push 0x20
push 0x4b6c08
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x28], eax
push 0x20
push 0x4b2928
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WINMM.dll_waveInClose]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x834]
mov dword [edx], 3
mov eax, dword [0x48a228]
mov dword [0x48a230], eax
cmp dword [0x48a230], 0xffffffff
jl 0x41142d
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
cmp dword [0x48a230], eax
jb 0x411437
mov dword [0x48a230], 0xffffffff
mov ecx, dword [ebp - 0x834]
cmp dword [ecx], 1
je 0x41168a
mov edx, dword [ebp - 0x834]
mov byte [edx + 0xf], 1
mov eax, 1
mov ecx, dword [ebp - 0x834]
mov word [ecx + 0x78], ax
mov edx, 1
mov eax, dword [ebp - 0x834]
mov word [eax + 0x7a], dx
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x7c], 0x1f40
mov edx, dword [ebp - 0x834]
mov dword [edx + 0x80], 0x1f40
mov eax, 1
mov ecx, dword [ebp - 0x834]
mov word [ecx + 0x84], ax
mov edx, 8
mov eax, dword [ebp - 0x834]
mov word [eax + 0x86], dx
xor ecx, ecx
mov edx, dword [ebp - 0x834]
mov word [edx + 0x88], cx
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [ebp - 0x834]
add eax, 0x78
push eax
mov ecx, dword [0x48a230]
push ecx
mov edx, dword [ebp - 0x834]
add edx, 0x70
push edx
call dword [sym.imp.WINMM.dll_waveInOpen]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x834]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x34], ecx
cmp dword [ebp - 8], 0
je 0x411553
push 0x400
lea edx, [ebp - 0x830]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINMM.dll_waveInGetErrorTextA]
lea ecx, [ebp - 0x830]
push ecx
mov edx, dword [ebp - 8]
push edx
push str.res___d__s_n
lea eax, [ebp - 0x430]
push eax
call fcn.00452938
add esp, 0x10
mov ecx, dword [ebp - 0x834]
mov byte [ecx + 4], 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x4117ad
cmp dword [ebp - 8], 0
jne 0x4114be
mov edx, dword [ebp - 0x834]
mov byte [edx + 0x10], 1
mov eax, dword [ebp - 0x834]
mov dword [eax], 1
mov ecx, dword [ebp + 0xc]
mov dword [0x4b6c44], ecx
mov dword [0x4b6c40], 0
mov dword [0x4b6c08], 0x4b4aa8
mov edx, dword [ebp + 0xc]
mov dword [0x4b6c0c], edx
mov dword [0x4b6c18], 0
mov dword [0x4b6c10], 0
push 0x20
push 0x4b6c08
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov edx, dword [ebp - 0x834]
mov dword [edx + 0x38], eax
push 0x20
push 0x4b6c08
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edx, dword [ebp - 0x834]
mov dword [edx + 0x3c], eax
mov dword [0x4b2928], 0x4b2948
mov eax, dword [ebp + 0xc]
mov dword [0x4b292c], eax
mov dword [0x4b2938], 0
mov dword [0x4b2930], 0
push 0x20
push 0x4b2928
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx + 0x70]
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x40], eax
push 0x20
push 0x4b2928
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x44], eax
mov dword [0x4b6c48], 1
mov edx, dword [ebp - 0x834]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov ecx, dword [ebp - 0x834]
mov dword [ecx + 0x48], eax
call fcn.00454058
mov dword [0x4b6c34], eax
mov dword [0x4b6c30], 0
mov dword [ebp - 4], 0x4b4aa8
mov edx, 1
test edx, edx
je 0x4116c7
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp dword [ebp - 0x24], 0x3c0
jne 0x4116c5
cmp dword [0x4b6c48], 2
jne 0x4116c3
mov dword [ebp - 4], 0x4b2948
jmp 0x4116c7
jmp 0x411691
mov dword [ebp - 0xc], 0
jmp 0x4116d9
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jge 0x4116f3
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x4116d0
mov dword [0x4b6c40], 0
cmp dword [0x4b6c3c], 0
je 0x41171e
mov eax, dword [0x4b6c3c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00454217
add esp, 0x10
cmp dword [0x4b6c48], 1
jne 0x411753
push 0x20
push 0x4b6c08
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edx, dword [ebp - 0x834]
mov dword [edx + 0x4c], eax
mov dword [0x4b6c48], 2
jmp 0x41177d
push 0x20
push 0x4b2928
mov eax, dword [ebp - 0x834]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edx, dword [ebp - 0x834]
mov dword [edx + 0x4c], eax
mov dword [0x4b6c48], 1
mov eax, dword [ebp - 0x834]
mov byte [eax + 4], 2
mov ecx, dword [0x4b6c30]
add ecx, dword [ebp + 0xc]
mov dword [0x4b6c30], ecx
call fcn.00454058
mov dword [0x4b6c38], eax
mov edx, dword [ebp - 0x834]
mov byte [edx + 0x11], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00452a35
mov esp, ebp
pop ebp
ret 8