Function at 0x1000c860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x10099040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
push ecx
call fcn.1000d740
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x44]
mov byte [edx + 0x18], 1
call fcn.1000c4d0
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x44]
cmp dword [edx + 4], 0
jne 0x1000c8e5
push str.AudioRecorder:_No_playback_audio_devices_installed
lea ecx, [ebp - 0x28]
call fcn.100041e0
push 0x100969f8
lea eax, [ebp - 0x28]
push eax
call fcn.1005435a
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
push 0x1000c160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x1000c924
push str.AudioRecorder:_Failed_to_create_playback_thread
lea ecx, [ebp - 0x40]
call fcn.100041e0
push 0x100969f8
lea ecx, [ebp - 0x40]
push ecx
call fcn.1005435a
xor edx, edx
mov dword [ebp - 0x50], 0x989680
mov dword [ebp - 0x4c], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.AudioRecorder:_Failed_to_activate_audio_device
call fcn.100041e0
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
push 0
push 0x17
push 0x1008ce94
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0xc]
call eax
push eax
mov byte [ebp - 4], 0
call fcn.1000bff0
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.AudioRecorder:_Failed_to_get_mix_format
call fcn.100041e0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [eax + 0x20]
call edx
push eax
mov byte [ebp - 4], 0
call fcn.1000bff0
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.AudioRecorder:_Failed_to_initialize_audio_device
call fcn.100041e0
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0x20000
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 0xc]
call ecx
push eax
mov byte [ebp - 4], 0
call fcn.1000bff0
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.AudioRecorder:_Failed_to_get_audio_service
call fcn.100041e0
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
add edx, 8
push edx
push 0x1008ce84
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ecx + 0x38]
call eax
push eax
mov byte [ebp - 4], 0
call fcn.1000bff0
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.AudioRecorder:_Failed_to_start_audio_recording
call fcn.100041e0
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 0x28]
call ecx
push eax
mov byte [ebp - 4], 0
call fcn.1000bff0
add esp, 0x1c
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.1000c600
add esp, 8
mov ecx, 0x22
mov esi, eax
lea edi, [ebp - 0x188]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x22
lea esi, [ebp - 0x188]
lea edi, [ebp - 0x100]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov edx, dword [ebp - 0x98]
mov dword [eax + 0x1a4], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0x1c0], ecx
mov dword [eax + 0x1c4], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov ecx, dword [ebp - 0xec]
mov dword [eax + 0x1a8], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov edx, dword [ebp - 0x94]
mov dword [eax + 0x1a0], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x1ac], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov dword [eax + 0x6c], 1
mov ecx, dword [ebp - 0x44]
add ecx, 0x10
call fcn.10004c90
mov dword [eax + 0x70], 0x989680
push 0
mov ecx, dword [ebp - 0x44]
call fcn.1000d1a0
cmp dword [ebp - 0x48], 0
je 0x1000cb76
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052d14
mov esp, ebp
pop ebp
ret