Function at 0x1003e624
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0x3c0
jne 0x1003e90d
cmp dword [0x100e6d55], 1
jne 0x1003e70f
mov dword [ebp - 8], esp
push 0x20
push dword [0x100e6dc1]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 8], esp
je 0x1003e688
push 0x7f
push 0x4048a88
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6d55], 2
mov ebx, dword [0x100e6dbd]
add ebx, 8
mov dword [ebp - 8], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 8]
push dword [ebx]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x100e6da5]
test eax, eax
jne 0x1003e6bf
mov eax, 0x100d42b8
push eax
push 2
mov ebx, 0x1a0
call fcn.100ad2f0
add esp, 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.110079
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.100242db
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003e6fa
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003e70a
push ebx
call fcn.100abdd7
add esp, 4
jmp 0x1003e90d
cmp dword [0x100e6d55], 2
jne 0x1003e7dd
mov dword [ebp - 8], esp
push 0x20
push dword [0x100e6dc5]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 8], esp
je 0x1003e756
push 0x160
push 0x4048a88
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6d55], 3
mov ebx, dword [0x100e6dc1]
add ebx, 8
mov dword [ebp - 8], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 8]
push dword [ebx]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x100e6da9]
test eax, eax
jne 0x1003e78d
mov eax, 0x100d42b8
push eax
push 2
mov ebx, 0x1a0
call fcn.100ad2f0
add esp, 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.110079
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.100242db
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003e7c8
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003e7d8
push ebx
call fcn.100abdd7
add esp, 4
jmp 0x1003e90d
cmp dword [0x100e6d55], 3
jne 0x1003e8ab
mov dword [ebp - 8], esp
push 0x20
push dword [0x100e6dbd]
push dword [0x100e6d9d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 8], esp
je 0x1003e824
push 0x241
push 0x4048a88
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6d55], 1
mov ebx, dword [0x100e6dc5]
add ebx, 8
mov dword [ebp - 8], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 8]
push dword [ebx]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x100e6dad]
test eax, eax
jne 0x1003e85b
mov eax, 0x100d42b8
push eax
push 2
mov ebx, 0x1a0
call fcn.100ad2f0
add esp, 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.110079
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.100242db
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1003e896
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003e8a6
push ebx
call fcn.100abdd7
add esp, 4
jmp 0x1003e90d
cmp dword [0x100e6d55], 0
jne 0x1003e90d
push 0x80000301
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getsockname
push 0
push 0x1003ea2c
push 3
mov ebx, 0
mov eax, 0x100b7880
call fcn.100acb10
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1c
mov eax, 0x100b7900
call fcn.100acb10
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x14