Function at 0x180030460
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x280
movaps xmmword [rsp + 0x270], xmm6
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov eax, dword [rbp + 0x1d0]
movss xmm6, dword [rbp + 0x1e8]
mov r12, qword [rbp + 0x1f8]
mov dword [rcx + 0x24], eax
mov eax, dword [rbp + 0x1d8]
mov dword [rcx + 0x18], edx
mov dword [rcx + 0x28], eax
mov eax, dword [rbp + 0x1e0]
mov dword [rcx + 0x1c], r8d
mov dword [rcx + 0x2c], eax
mov r14d, r8d
mov esi, edx
mov rbx, rcx
mov dword [rcx + 0x20], r9d
add rcx, 0x38
cvttss2si eax, xmm6
mov dword [rcx - 8], eax
mov eax, dword [rbp + 0x1f0]
mov r8, r12
mov dword [rcx - 4], eax
mov edx, 0x100
mov edi, r9d
call qword [sym.imp.MSVCR100.dll_strcpy_s]
mov r11d, dword [rbp + 0x200]
xor eax, eax
mov qword [rbp + 0x130], 0x34706d
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
mov dword [rbx], r11d
mov qword [rbp + 0x148], rax
cmp esi, 4
jne 0x180030552
mov eax, dword [str.mpegts]
mov dword [rbp + 0x130], eax
movzx eax, word [0x18004b2b8]
mov word [rbp + 0x134], ax
movzx eax, byte [0x18004b2ba]
mov byte [rbp + reloc.mfc100.dll_Ordinal_310], al
mov r15d, dword [rbx + 0x14c]
mov r13d, dword [rbx + 0x144]
lea rdx, str.rtmp
mov rcx, r12
mov dword [rbp - 0x80], r15d
mov dword [rbp - 0x7c], 0x2ee00
call qword [sym.imp.MSVCR100.dll_strstr]
cmp rax, r12
je 0x18003059a
lea rdx, str.myrtmp:
mov rcx, r12
call qword [sym.imp.MSVCR100.dll_strstr]
cmp rax, r12
je 0x18003059a
cmp esi, 5
jne 0x1800305f9
mov r8d, dword [rbx + 0x14c]
mov edx, dword [rbx + 0x144]
mov r9d, 3
mov r13d, 0xac44
mov ecx, r9d
mov dword [rsp + 0x28], 1
mov dword [rbp + 0x130], 0x766c66
mov dword [rbx], 1
mov dword [rsp + 0x20], r13d
call qword [sym.imp.gifenc.dll_Ordinal_3]
mov r15d, 1
mov dword [rbp - 0x7c], 0x7d00
movss dword [rbx + 0x140], xmm6
mov qword [rbx + 0x598], rax
mov dword [rbp - 0x80], r15d
lea rcx, [rbp - 0x70]
xor edx, edx
mov r8d, reloc.mfc100.dll_Ordinal_408
call sub.MSVCR100.dll_memset
cmp esi, 6
jne 0x180030679
lea r8, str.mpegts
lea edx, [rsi + 0x1a]
lea rcx, [rbp + 0x130]
mov dword [rbp - 0x70], 1
mov dword [rbp - 0x6c], 0xa1
mov dword [rbp + 0x124], 0xa1
mov dword [rbp - 0x68], 1
call qword [sym.imp.MSVCR100.dll_strcpy_s]
mov r8, qword [rbx + 0x150]
lea rcx, [rbp + 0x1c]
mov edx, 0x100
call qword [sym.imp.MSVCR100.dll_strcpy_s]
mov r8, qword [rbx + 0x158]
lea edx, [rsi + 0x7a]
lea rcx, [rbp - 0x64]
call qword [sym.imp.MSVCR100.dll_strcpy_s]
mov edi, 5
mov dword [rbx + 0x20], edi
jmp 0x1800306ba
cmp esi, 7
jne 0x1800306ba
mov dword [rbp - 0x70], 1
mov dword [rbp - 0x6c], 0xa1
test edi, edi
jne 0x18003069c
mov dword [rbp + 0x124], 0x40
jmp 0x1800306ba
cmp edi, 1
je 0x1800306b0
mov dword [rbp + 0x124], 0
cmp edi, 5
jne 0x1800306ba
mov dword [rbp + 0x124], 0xa1
mov ecx, edi
call fcn.18002fe20
mov rsi, rax
test rax, rax
jne 0x1800306e6
mov r8, qword [rbx + 8]
lea rdx, str._s:_no_found_video_codec_id__d_n
lea ecx, [rax + 2]
mov r9d, edi
call fcn.180035240
xor eax, eax
jmp 0x18003096a
cmp r14d, 2
jg 0x1800306df
movzx ecx, byte [r12]
call fcn.18001b1f0
lea rcx, [0x18004b2e8]
lea r9, [0x18004b2ec]
mov dword [rbx + 0x564], eax
movsx r8d, byte [r12]
test eax, eax
cmovne r9, rcx
lea rdx, str.Drive__c_is_NTFS___s
mov ecx, 2
call fcn.180035240
mov eax, dword [rbx + reloc.mfc100.dll_Ordinal_316]
mov edi, dword [rbp - 0x7c]
movd xmm0, dword [rbx + 0x140]
cvtps2pd xmm0, xmm0
mov r8, qword [rbx + 8]
movsd qword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x138]
lea rdx, str._s:_Record_params_audio_code_d_src_a_samplerate_d_src_a_bitrate_d_src_a_samplefmt_d_src_width_d_src_height_d_src_fps_.2f_
mov r9d, r14d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r15d
mov ecx, 2
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
call fcn.180035240
unpcklps xmm6, xmm6
mov r8, qword [rbx + 8]
mov qword [rsp + 0x50], r12
lea rax, [rbp + 0x130]
cvtps2pd xmm5, xmm6
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x1f0]
lea rdx, str._s:_codec_name_s__speed_d__enc_width_d_enc_height_d_enc_fps_.2f_bitratekb_d_mux_format_s__mp4file_s
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x1e0]
mov r9, rsi
movsd qword [rsp + 0x38], xmm5
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x1d8]
mov ecx, 2
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x1d0]
mov dword [rsp + 0x20], eax
call fcn.180035240
mov r9d, dword [rbx]
mov r8, qword [rbx + 8]
lea rdx, str._s:_Variable_fps_mode__d
mov ecx, 2
call fcn.180035240
mov eax, dword [rbp + 0x1f0]
mov r9d, dword [rbp - 0x80]
movss xmm0, dword [rbx + 0x140]
shl eax, 0xa
lea rcx, [rbp - 0x70]
lea r15, [rbx + 0x160]
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], r12
lea rcx, [rbp + 0x130]
mov r8d, edi
mov edx, r13d
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x1e0]
movss dword [rsp + 0x58], xmm6
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x1d8]
mov ecx, r14d
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x1d0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + reloc.mfc100.dll_Ordinal_316]
mov qword [rsp + 0x38], rsi
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x138]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ca_core.dll_Ordinal_20]
mov edi, eax
test eax, eax
jns 0x1800308a2
mov r8, qword [rbx + 8]
lea rdx, str._s:_encore_InitCaptureVideo_failed___d_
mov r9d, eax
mov ecx, 2
call fcn.180035240
mov eax, edi
jmp 0x18003096a
mov rcx, qword [r15]
lea rdx, [0x180030450]
mov r8, rbx
call qword [sym.imp.ca_core.dll_Ordinal_48]
mov eax, dword [rbx + 0x148]
mov rcx, qword [r15]
imul eax, r13d
xor edi, edi
add eax, eax
mov qword [rbx + 0x530], 1
mov dword [rbx + 0x580], eax
mov qword [rbx + 0x568], rdi
mov qword [rbx + 0x10], rdi
mov dword [rbx + 0x52c], edi
mov qword [rbx + 0x538], rdi
mov qword [rbx + 0x548], rdi
mov qword [rbx + 0x550], rdi
mov qword [rbx + 0x570], 0xffffffffffffffff
mov dword [rbx + 0x558], edi
mov qword [rbx + 0x55c], rdi
mov qword [rbx + 0x578], rdi
call qword [sym.imp.ca_core.dll_Ordinal_18]
lea r8d, [rdi + 2]
lea rcx, [0x180030420]
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rbx + 0x590], eax
mov dword [rsp + 0x20], 4
call qword [sym.imp.mfc100.dll_Ordinal_1831]
mov qword [rbx + 0x540], rax
mov dword [rax + 0x50], edi
mov rcx, qword [rbx + 0x540]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [rdi + 1]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.18003c580
mov rbx, qword [rsp + 0x2c8]
movaps xmm6, xmmword [rsp + 0x270]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret