Function at 0x18000a2ac
Capabilities:
Accept command line arguments
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x568]
sub rsp, 0x640
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rcx
xor esi, esi
lea r15d, [rsi + 0x1e]
mov edx, r15d
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x178]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x198]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x208]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x218]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
lea rax, [rbp + 0x238]
mov qword [rbp + 0x570], rax
mov edx, dword [rdi + 0x10d4]
lea rcx, [rbp + 0x238]
call fcn.1800d4eac
mov rbx, rax
mov edx, r15d
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
mov edx, r15d
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0x188]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov edx, r15d
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x18000a47e
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.18000c67c
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 6
lea rdx, str._t_n_v_f_r
lea rcx, [rbp - 0x50]
call fcn.18000c67c
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x258]
call fcn.1800ab28c
lea rcx, [rbp + 0x258]
call fcn.18000bd8c
nop
mov r14d, 0x1000
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18000a521
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, r14
jb 0x18000a51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
lea rax, [rbp + 0x278]
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x278]
call fcn.18000be28
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
lea rdx, [rdi + 0x1108]
lea rcx, [rbp + 0x88]
call fcn.18000be28
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 6
lea rdx, str._t_n_v_f_r
lea rcx, [rsp + 0x38]
call fcn.18000c67c
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x298]
call fcn.1800ab28c
lea rcx, [rbp + 0x298]
call fcn.18000bd8c
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18000a60f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, r14
jb 0x18000a60a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a60a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
lea rax, [rbp + 0x2b8]
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x2b8]
call fcn.18000be28
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
mov rdx, r15
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ebx, 0x10
movabs r14, 0x1000000000000
cmp qword [rdi + 0x28], r14
jbe 0x18000a6ad
mov edx, ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
cmp qword [rdi + 0x40], r14
jbe 0x18000a6ce
mov rdx, rbx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
lea rax, [rbp + 0x2d8]
mov qword [rbp + 0x570], rax
lea rdx, [rdi + 0x1070]
lea rcx, [rbp + 0x2d8]
call fcn.18000be28
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
mov edx, dword [rdi + 0x10b0]
test edx, edx
jne 0x18000a757
mov rdx, r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
jmp 0x18000a78a
lea rax, [rbp + 0x2f8]
mov qword [rbp + 0x570], rax
lea rcx, [rbp + 0x2f8]
call fcn.1800d619c
mov rbx, rax
mov rdx, r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
lea rax, [rbp - 0x30]
mov qword [rbp + 0x570], rax
lea rdx, [rdi + 0x10e0]
lea rcx, [rbp - 0x30]
call fcn.18000be28
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
mov rdx, r15
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
cmp dword [0x1801911dc], esi
je 0x18000a9d6
cmp dword [0x1801911d4], esi
je 0x18000a9d6
cmp dword [0x1801911d8], esi
je 0x18000a9d6
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x570], rax
lea rdx, [rbp + 0x570]
lea rcx, [rbp + 0x510]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea rcx, [rbp + 0x330]
call fcn.18000b7c4
nop
lea rcx, [rbp + 0x420]
call fcn.18000b7c4
nop
mov dword [rsp + 0x20], 0x18
mov edx, 0x3d
mov word [rsp + 0x24], dx
lea eax, [rdx + 4]
mov word [rsp + 0x26], ax
lea ecx, [rdx - 8]
mov word [rsp + 0x28], cx
mov word [rsp + 0x2a], dx
lea eax, [rdx + 0x38]
mov word [rsp + 0x2c], ax
mov word [rsp + 0x2e], cx
mov word [rsp + 0x30], dx
lea eax, [rdx + 0x3f]
mov word [rsp + 0x32], ax
xor eax, eax
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x24]
mov rdx, rsi
movzx eax, word [rsp + rdx*2 + 0x24]
mov ecx, dword [rsp + 0x20]
xor cx, ax
mov word [rsp + rdx*2 + 0x24], cx
inc rdx
cmp rdx, 8
jb 0x18000a87c
mov word [rsp + 0x34], si
lea rax, [0x1801911c8]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x24]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x24]
mov qword [rbp - 0x68], rax
cmp word [rsp + 0x24], si
je 0x18000a8d1
lea rax, [rsp + 0x24]
add rax, 2
cmp word [rax], si
jne 0x18000a8c4
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x330]
call fcn.18000c294
nop
xor edx, edx
lea r8d, [rdx + 0x12]
lea rcx, [rsp + 0x24]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rax, [rsp + 0x38]
mov qword [rbp + 0x578], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x338]
call fcn.18000c140
nop
mov rdx, r15
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
lea rcx, [rsp + 0x38]
call fcn.18000bd8c
nop
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ostringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.0
mov qword [rbp + rcx + 0x420], rbx
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x41c], edx
lea rcx, [rbp + 0x428]
call fcn.18000b6fc
lea rcx, [rbp + 0x430]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
lea rcx, [rbp + 0x4a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x330], rbx
mov rax, qword [rbp + 0x330]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x32c], edx
lea rcx, [rbp + 0x338]
call fcn.18000b6fc
lea rcx, [rbp + 0x340]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
jmp 0x18000a9e3
mov rdx, r15
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
lea rax, [rbp - 0x30]
mov qword [rbp + 0x570], rax
mov edx, dword [rdi + 0x10d0]
lea rcx, [rbp - 0x30]
call fcn.1800d4eac
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
mov rcx, rbx
call fcn.18000bd8c
mov rdx, r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x68]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, dword [rdi + 0x10d8]
test ecx, ecx
je 0x18000aa63
sub ecx, 1
je 0x18000aa63
sub ecx, 1
je 0x18000aa63
cmp ecx, 1
jne 0x18000aa71
mov rdx, r15
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, dword [rdi + 0x1128]
test ecx, ecx
je 0x18000aa85
sub ecx, 1
je 0x18000aa85
cmp ecx, 1
jne 0x18000aa93
mov rdx, r15
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, dword [rdi + 0x112c]
test ecx, ecx
je 0x18000aaac
sub ecx, 1
je 0x18000aaac
sub ecx, 1
je 0x18000aaac
cmp ecx, 1
jne 0x18000aaba
mov rdx, r15
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rdi + 0x10c0]
sub rcx, qword [rdi + 0x10b8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rdx, r15
lea rcx, [rbp - 0x60]
je 0x18000ab48
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [rdi + 0x10b8]
mov rsi, qword [rdi + 0x10c0]
jmp 0x18000ab41
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.18000be28
mov rcx, rax
call fcn.18000bd8c
mov rdi, qword [rbx + 0x20]
mov r14, qword [rbx + 0x28]
jmp 0x18000ab38
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.18000be28
mov rcx, rax
call fcn.18000bd8c
add rdi, 0x20
cmp rdi, r14
jne 0x18000ab20
add rbx, 0x38
cmp rbx, rsi
jne 0x18000ab02
jmp 0x18000ab4e
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, r15
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
nop
lea rcx, [rbp + 0x88]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0x10]
call fcn.18000bd8c
mov rbx, qword [rsp + 0x680]
add rsp, 0x640
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret