Function at 0x1400117c0
Capabilities:
Delete file
Encode data using xor
Get common file path
Hide graphical window
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x338]
sub rsp, 0x420
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14009d040]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rdi, rax
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0x58]
mov r8d, dword [rbp - 0x60]
sub ecx, r8d
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x14008eb48]
cvttsd2si edx, xmm0
mov ecx, dword [rbp - 0x54]
mov r9d, dword [rbp - 0x5c]
sub ecx, r9d
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x14008eb48]
cvttsd2si eax, xmm0
mov dword [rsp + 0x30], 0x43
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rsi, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov dword [rsp + 0x40], 0xa0050
mov edx, dword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x6c], 0x9004f
lea r8, [rbp - 0x70]
lea edx, [rsi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov dword [rbp + 0x50], 0x54
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentConsoleFontEx]
mov dword [rbp + 0x58], 0xe000b
lea r8, str.Consolas
lea edx, [rsi + 0x21]
lea rcx, [rbp + 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x20]
bts edx, 0x13
mov dword [rbp - 0x20], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea r9d, [r14 + 2]
mov r8b, 0xbe
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea rcx, str.B2dware
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, [0x14009e468]
cmp qword [0x14009e480], 0xf
cmova rdx, qword [0x14009e468]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8, rsi
inc r8
cmp byte [rdx + r8], r14b
jne 0x140011955
lea rcx, [rbp - 0x40]
call fcn.140004770
nop
lea rcx, [rbp - 0x40]
call fcn.1400792e0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400119b0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400119ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400119ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
movsd xmm0, qword [str.d_b_KLZ_]
movsd qword [rbp - 0x70], xmm0
movzx eax, byte [0x14008b1c0]
mov byte [rbp - 0x70], 0x5c
xor byte [rbp - 0x6f], 0x39
xor byte [rbp - 0x6e], 0x3a
xor byte [rbp - 0x6d], 0x3b
xor byte [rbp - 0x6c], 0x3c
xor byte [rbp - 0x6b], 0x3d
xor byte [rbp - 0x6a], 0x3e
xor byte [rbp - 0x69], 0x3f
xor al, 0x40
mov byte [rbp - 0x68], al
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rbp + 0xf0]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140011a40
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x40]
call fcn.14000d890
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x40]
cmova rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000c610
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140011ac9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011ac4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011ac4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
movdqa xmm0, xmmword [0x14008ec70]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r14w
lea rax, [rbp - 0x70]
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x140011ae0
mov r8, rsi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000bb00
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140011b67
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011b62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011b62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
movdqa xmm0, xmmword [0x14008ec90]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdi, qword [rbp + 0x18]
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rbx, qword [rbp + 8]
call fcn.14007a598
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140002370
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1400116e0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
lea r15, [0x14009d0c8]
mov qword [rbp - 0x38], r15
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140011c24
cmp eax, 1
sete bl
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140011c35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x140012a5b
jmp 0x140011be6
call fcn.14007b120
test bl, bl
je 0x140011cd1
mov rdi, qword [rbp + 0x18]
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rbx, qword [rbp + 8]
call fcn.14007a598
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140002370
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.14007a7f8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140012a46
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140011cd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011ccc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011ccc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
mov eax, dword [0x14008b1b0]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14008b1b4]
mov word [rbp - 0x54], ax
movzx eax, byte [0x14008b1b6]
movsd xmm0, qword [str.dUUUS]
mov byte [rbp - 0x52], al
movsd qword [rbp - 0x60], xmm0
mov r8d, r14d
mov esi, dword [0x14009d088]
cmp esi, 2
jl 0x140011e07
movdqa xmm4, xmmword [0x14008eef0]
movdqa xmm2, xmmword [0x14008ecd0]
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 [0x14008ed00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14008edd0]
movd xmm0, dword [str.dUUUS]
xorps xmm2, xmm0
movd dword [rbp - 0x60], xmm2
movdqa xmm3, xmmword [0x14008ecf0]
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 [0x14008ed00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14008edd0]
movd xmm0, dword [rbp - 0x5c]
xorps xmm2, xmm0
movd dword [rbp - 0x5c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x60]
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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140011e20
lea r8, [rbp - 0x60]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.140012c10
nop
mov rdi, qword [rbp - 8]
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rbx, qword [rbp - 0x18]
call fcn.14007a598
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140002370
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1400116e0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], r15
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140011f05
cmp eax, 1
setne bl
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140011f16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor bl, bl
test ecx, ecx
jne 0x140012a70
jmp 0x140011ec7
call fcn.14007b120
test bl, bl
je 0x14001222b
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
mov r8d, 1
lea rcx, [rbp + 0xf0]
call fcn.140012b00
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rbx
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0xf0]
call fcn.14000ef20
lea rcx, [rbp + 0x100]
call fcn.14000b680
test rax, rax
jne 0x140011fe8
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
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]
movups xmm0, xmmword [str.c_b_KLZ]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x14008b2c8]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [0x14008b2d8]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x14008b2e0]
mov dword [rbp + 0x78], eax
movzx eax, word [0x14008b2e4]
mov word [rbp + 0x7c], ax
movzx eax, byte [0x14008b2e6]
mov byte [rbp + 0x7e], al
mov ecx, r14d
cmp esi, 2
jl 0x140012164
movdqa xmm5, xmmword [0x14008ecd0]
movdqa xmm4, xmmword [0x14008eef0]
movdqa xmm6, xmmword [0x14008ed00]
movdqa xmm0, xmmword [0x14008edd0]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp + 0x54]
mov r8d, dword [rbp - 0x60]
movd xmm2, ecx
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x140012062
cmp ecx, 0x2f
jge 0x14001219c
movsxd rax, ecx
lea r8, [rbp + 0x50]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2f
jl 0x140012170
lea rdx, [rbp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cd20
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x14008ec90]
movdqu xmmword [rbp + 0x60], xmm1
mov byte [rbp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.1400085b0
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xf0], rbx
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x100]
call fcn.14000af70
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
jmp 0x1400124df
movups xmm0, xmmword [0x14008b1c8]
movups xmmword [rbp - 0x40], xmm0
movzx eax, byte [0x14008b1d8]
mov byte [rbp - 0x30], al
mov ecx, r14d
cmp esi, 2
jl 0x140012382
movdqa xmm5, xmmword [0x14008ecd0]
movdqa xmm4, xmmword [0x14008eef0]
movdqa xmm6, xmmword [0x14008ed00]
movdqa xmm0, xmmword [0x14008edd0]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x3c]
mov r8d, dword [rbp - 0x60]
nop dword [rax]
movd xmm2, ecx
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140012280
cmp ecx, 0x11
jge 0x1400123bc
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x140012390
lea rdx, [rbp - 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cd20
lea rdx, [rbp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140012d70
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
mov r8d, 2
lea rcx, [rbp + 0xf0]
call fcn.14000a210
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rbx
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xec], edx
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rbp + 0xf0]
call fcn.140013040
lea rcx, [rbp + 0xf8]
call fcn.14000b680
test rax, rax
jne 0x140012494
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
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]
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xf0], rbx
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0xf8]
call fcn.14000af70
lea rcx, [rbp + 0x100]
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 + 0x198]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x50]
call fcn.14000b220
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400799a0
nop
cmp dword [rbp + 0xe8], 0x3e7
jne 0x1400126d8
movups xmm0, xmmword [0x14008b1e0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14008b1f0]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x14008b200]
mov dword [rsp + 0x70], eax
mov ecx, r14d
cmp esi, 2
jl 0x140012672
movdqa xmm5, xmmword [0x14008ecd0]
movdqa xmm4, xmmword [0x14008eef0]
movdqa xmm6, xmmword [0x14008ed00]
movdqa xmm0, xmmword [0x14008edd0]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rbp - 0x60]
nop
movd xmm2, ecx
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140012570
cmp ecx, 0x24
jge 0x1400126ac
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x24
jl 0x140012680
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cd20
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.1400085b0
jmp 0x1400128d5
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013040
movups xmm0, xmmword [str.2bx_tXJ_M_]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14008b220]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x14008b230]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14008b240]
movups xmmword [rbp - 0x80], xmm1
cmp esi, 2
jl 0x14001286f
movdqa xmm5, xmmword [0x14008ecd0]
mov edx, r14d
movdqa xmm4, xmmword [0x14008eef0]
movdqa xmm6, xmmword [0x14008ed00]
movdqa xmm0, xmmword [0x14008edd0]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rsp + 0x54]
mov r8d, dword [rbp - 0x60]
nop dword [rax + rax]
movd xmm2, edx
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14008eda0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x40
jl 0x140012770
jmp 0x1400128b0
lea r9, [rsp + 0x50]
mov r8d, r14d
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 edx, eax, 0x31
movzx eax, r8b
sub al, dl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x40
jl 0x140012880
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cd20
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getwch]
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140012920
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001291b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001291b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140012977
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012972
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012972
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
mov qword [rbp - 8], r14
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1400129c5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400129c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x140012a13
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b120
xor eax, eax
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14007b100
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp - 0x60]
lea rcx, str.create_directory
call fcn.1400036b0
nop
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, str.exists
call fcn.140003720
nop
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, str.exists
call fcn.140003720
int3