Function at 0x1400041c0
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xe8
mov qword [rsp + 0x48], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov rax, qword [0x1400b52a0]
xor rax, rsp
mov qword [rbp - 0x39], rax
movaps xmm6, xmm3
mov r10, r8
mov r14, rcx
cmp qword [rcx], 0
jne 0x140004214
xor eax, eax
jmp 0x1400044f7
mov rax, qword [rcx + 0x10]
sub rax, qword [rcx + 8]
sar rax, 3
mov esi, edx
cmp rsi, rax
jae 0x14000420d
mov r15, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
sub rax, r15
sar rax, 3
cmp rax, rsi
ja 0x140004249
lea rcx, str.invalid_vector_T__subscript
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov r12d, 2
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000420d
imul ecx, dword [r15 + rsi*8 + 4], 0x930
mov dword [rbp - 0x69], 0x46464952
lea eax, [rcx + 0x2c]
mov dword [rbp - 0x65], eax
mov dword [rbp - 0x61], 0x45564157
mov dword [rbp - 0x5d], 0x20746d66
mov edx, reloc.WS2_32.dll_recv
mov dword [rbp - 0x59], edx
mov dword [rbp - 0x55], 0x20001
mov dword [rbp - 0x51], 0xac44
mov dword [rbp - 0x49], 0x100004
mov dword [rbp - 0x4d], 0x2b110
mov dword [rbp - 0x45], 0x61746164
mov dword [rbp - 0x41], ecx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8d, [rbx + 0x2c]
lea rdx, [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x58], 0xb7c0
mov ecx, 0xb7c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rsp + 0x50], rax
mov dword [rbp - 0x6d], r12d
mov dword [rbp - 0x71], reloc.MediaInfo.dll_Ordinal_20
mov r12d, ebx
mov eax, 0xcccccccd
mul dword [r15 + rsi*8 + 4]
shr edx, 4
test edx, edx
je 0x140004453
mov dword [rsp + 0x44], ebx
movss xmm7, dword [rbp + 0x77]
movss xmm8, dword [0x140088aa0]
nop dword [rax]
lea ecx, [r12 + r12*4]
mov eax, dword [r15 + rsi*8]
lea eax, [rax + rcx*4]
shl eax, 0xb
mov qword [rbp - 0x79], rax
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xb7c0
mov qword [rsp + 0x20], r13
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x79]
mov edx, 0x2403e
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140004445
mov rax, qword [sym.imp.FTMedia.dll_class_CFormatFactoryUI____ptr64___ptr64_gpFFUI]
mov rcx, qword [rax]
cmp byte [rcx + 0x30a], 0
je 0x1400043b1
mov rax, qword [rcx]
call qword [rax + 0x138]
mov rax, qword [sym.imp.FTMedia.dll_class_CFormatFactoryUI____ptr64___ptr64_gpFFUI]
mov rcx, qword [rax]
cmp byte [rcx + 0x309], 0
jne 0x140004445
xor edx, edx
mov eax, dword [rsp + 0x44]
div dword [r15 + rsi*8 + 4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm7
subss xmm0, xmm6
mulss xmm1, xmm0
divss xmm1, xmm8
cvttss2si eax, xmm1
mov rdx, qword [rcx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call qword [rdx + 0xb0]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov r8d, 0xb7c0
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc r12d
add dword [rsp + 0x44], 0x7d0
mov eax, 0xcccccccd
mul dword [r15 + rsi*8 + 4]
shr edx, 4
cmp r12d, edx
jb 0x140004340
jmp 0x140004453
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400044ec
mov r11d, dword [r15 + rsi*8 + 4]
mov eax, 0xcccccccd
mul r11d
shr edx, 4
lea eax, [rdx + rdx*4]
shl eax, 2
sub r11d, eax
mov dword [rbp - 0x71], r11d
je 0x1400044de
lea r8d, [r12 + r12*4]
mov eax, dword [r15 + rsi*8]
lea eax, [rax + r8*4]
shl eax, 0xb
mov qword [rbp - 0x79], rax
imul eax, r11d, 0x930
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x79]
mov edx, 0x2403e
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
test eax, eax
je 0x140004448
imul r8d, dword [rbp - 0x71], 0x930
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.14005b9c0
lea r11, [rsp + 0xe8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret