Function at 0x10049074
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0x3c0
jne 0x1004935d
cmp dword [0x100e6ac5], 1
jne 0x1004915f
mov dword [ebp - 8], esp
push 0x20
push dword [0x100e6b31]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 8], esp
je 0x100490d8
push 0x7f
push 0x4048a88
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6ac5], 2
mov ebx, dword [0x100e6b2d]
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 [0x100e6b15]
test eax, eax
jne 0x1004910f
mov eax, 0x100d5289
push eax
push 2
mov ebx, 0x1a0
call fcn.100bb760
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.100301d1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1004914a
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1004915a
push ebx
call fcn.100b8c45
add esp, 4
jmp 0x1004935d
cmp dword [0x100e6ac5], 2
jne 0x1004922d
mov dword [ebp - 8], esp
push 0x20
push dword [0x100e6b35]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 8], esp
je 0x100491a6
push 0x160
push 0x4048a88
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6ac5], 3
mov ebx, dword [0x100e6b31]
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 [0x100e6b19]
test eax, eax
jne 0x100491dd
mov eax, 0x100d5289
push eax
push 2
mov ebx, 0x1a0
call fcn.100bb760
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.100301d1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10049218
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10049228
push ebx
call fcn.100b8c45
add esp, 4
jmp 0x1004935d
cmp dword [0x100e6ac5], 3
jne 0x100492fb
mov dword [ebp - 8], esp
push 0x20
push dword [0x100e6b2d]
push dword [0x100e6b0d]
xor eax, eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
nop
nop
cmp dword [ebp - 8], esp
je 0x10049274
push 0x241
push 0x4048a88
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6ac5], 1
mov ebx, dword [0x100e6b35]
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 [0x100e6b1d]
test eax, eax
jne 0x100492ab
mov eax, 0x100d5289
push eax
push 2
mov ebx, 0x1a0
call fcn.100bb760
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.100301d1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100492e6
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100492f6
push ebx
call fcn.100b8c45
add esp, 4
jmp 0x1004935d
cmp dword [0x100e6ac5], 0
jne 0x1004935d
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 0x1004947c
push 3
mov ebx, 0
mov eax, 0x100c3a50
call fcn.100b9790
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1c
mov eax, 0x100c3ad0
call fcn.100b9790
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x14