Function at 0x1400068d0
Capabilities:
Encode data using base64
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp - 9], rax
movaps xmm7, xmm2
movzx r12d, dl
mov r15, rcx
mov qword [rbp - 0x29], rcx
lea rcx, [0x1400196e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14001b320]
movdqu xmmword [rsp + 0x30], xmm1
mov eax, dword [str.point]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x140019d30]
mov byte [rsp + 0x24], al
mov byte [rsp + 0x25], 0
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140005010
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000699f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000699a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075a0
call fcn.1400174fc
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14001b310]
movdqu xmmword [rsp + 0x30], xmm1
mov dword [rsp + 0x20], 0x6b6e6172
mov byte [rsp + 0x24], 0
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140005010
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140006a13
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075a0
call fcn.1400174fc
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Filtered_Gift_Records_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x78
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd r8, dword [rdx + 4]
mov byte [r8 + rbx + 0x58], 0x3d
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x20
lea rdx, [0x14000c870]
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]
lea rdx, [0x1400013d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, 0xa
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov edx, 0x14
lea rcx, [rbp - 0x69]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r14, rax
mov edx, 0x12
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rsi, rax
mov edx, 0x1e
lea rcx, [rbp - 0x79]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, rax
lea rdx, str.Gift_ID
mov rcx, rbx
call fcn.14000c6a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
lea rdx, str.Gift_Description
mov rcx, rbx
call fcn.14000c6a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
lea rdx, str.Price__HKD_
mov rcx, rbx
call fcn.14000c6a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [r14 + 8]
call qword [r14]
lea rdx, str.Points_Required
mov rcx, rbx
call fcn.14000c6a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x1e
lea rcx, [rbp - 0x79]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, str.Points_Required__After_Discount_
mov rcx, rbx
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rbx]
movsxd rdx, dword [rax + 4]
mov byte [rdx + rbx + 0x58], 0x3d
mov edx, 0x78
lea rcx, [rbp - 0x79]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x20
lea rdx, [0x14000c870]
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]
mov r14, qword [0x140021c60]
mov rsi, qword [0x140021c58]
cmp rsi, r14
je 0x140006e3f
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140006c90
mov rax, qword [rsi]
cmp byte [rax], r12b
jne 0x140006e32
movd xmm6, dword [rsi + 0x44]
cvtdq2pd xmm6, xmm6
mulsd xmm6, xmm7
mov edx, 0x1e
lea rcx, [rbp - 0x79]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, rax
mov edx, 0xa
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140006ceb
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rbx
call fcn.14000da10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
lea rdx, [rsi + 0x20]
cmp qword [rsi + 0x38], 0xf
jbe 0x140006d18
mov rdx, qword [rdx]
mov r8, qword [rsi + 0x30]
mov rcx, rbx
call fcn.14000da10
mov rbx, rax
mov edx, 0x14
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, rax
mov edx, 0x12
lea rcx, [rbp - 0x69]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov edx, dword [rsi + 0x40]
mov rcx, rbx
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___int____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov edx, dword [rsi + 0x44]
mov rcx, rbx
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___int____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 2
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rdi, rax
mov edx, 0x1e
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [0x1400013b0]
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si edx, xmm0
mov rcx, rbx
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___int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
add rsi, 0x48
cmp rsi, r14
jne 0x140006c83
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rbx]
movsxd rdx, dword [rax + 4]
mov byte [rdx + rbx + 0x58], 0x3d
mov edx, 0x78
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x20
lea rdx, [0x14000c870]
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]
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Available_Gift_Redeem_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rbx]
movsxd rdx, dword [rax + 4]
mov byte [rdx + rbx + 0x58], 0x3d
mov edx, 0x78
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x20
lea rdx, [0x14000c870]
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]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
movaps xmm2, xmm7
mov rdx, r15
lea rcx, [rbp - 0x21]
call fcn.140005360
nop
mov rax, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
cmp rax, rdx
je 0x140006f93
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140006f81
mov rcx, qword [rax]
cmp byte [rcx], r12b
je 0x1400070f4
add rax, 0x48
cmp rax, rdx
jne 0x140006f74
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.You_have_no_available_gifts_in_category
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c6a0
mov rcx, rax
movzx edx, r12b
call fcn.14000c8b0
mov rcx, rax
lea rdx, str._that_can_be_redeemed_only_through_CC_Points.
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
lea rdx, str.You_will_have_to_use_extra_money_to_redeem_gifts_in_this_category.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x78
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd r8, dword [rdx + 4]
mov byte [r8 + rbx + 0x58], 0x3d
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x20
lea rdx, [0x14000c870]
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]
mov rdi, qword [0x140021c48]
mov rbx, qword [0x140021c40]
cmp rbx, rdi
je 0x1400074d4
mov rsi, qword [r15 + 0x18]
mov r14, qword [r15 + 0x10]
mov rdx, r15
cmp rsi, 0xf
jbe 0x14000709f
mov rdx, qword [r15]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400070ac
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, r14
jne 0x1400070be
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400070c7
add rbx, 0x28
cmp rbx, rdi
jne 0x140007093
cmp rbx, rdi
je 0x1400074d4
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.14000bda0
mov r9, rax
movzx r8d, r12b
movaps xmm1, xmm7
mov rcx, rbx
call fcn.140005970
jmp 0x140007524
mov edx, 0xa
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8, qword [rbx]
movsxd rcx, dword [r8 + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov edx, 0x12
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rsi, rax
mov edx, 0x1e
lea rcx, [rbp - 0x79]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, rax
lea rdx, str.Gift_ID
mov rcx, rbx
call fcn.14000c6a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
lea rdx, str.Gift_Description
mov rcx, rbx
call fcn.14000c6a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 0x14
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, rax
lea rdx, str.Price__HKD_
mov rcx, rbx
call fcn.14000c6a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
lea rdx, str.Points_Required
mov rcx, rbx
call fcn.14000c6a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x1e
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8, qword [rbx]
movsxd rcx, dword [r8 + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, str.Points_Required__After_Discount_
mov rcx, rbx
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rbx]
movsxd rdx, dword [rax + 4]
mov byte [rdx + rbx + 0x58], 0x3d
mov edx, 0x78
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x20
lea rdx, [0x14000c870]
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]
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x69], rax
mov rsi, qword [rbp - 0x21]
cmp rsi, rax
je 0x140007484
add rsi, 0x20
mov rcx, rax
nop dword [rax]
lea rbx, [rsi - 0x20]
mov rax, rbx
cmp qword [rsi - 8], 0xf
jbe 0x1400072c1
mov rax, qword [rbx]
cmp byte [rax], r12b
jne 0x140007473
movd xmm6, dword [rsi + 0x24]
cvtdq2pd xmm6, xmm6
mulsd xmm6, xmm7
mov edx, 0x14
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r13, rax
mov edx, 0x12
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0x50], rax
mov edx, 0x1e
lea rcx, [rbp - 0x79]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r14, rax
mov edx, 0xa
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8, qword [rdi]
movsxd rcx, dword [r8 + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
cmp qword [rsi - 8], 0xf
jbe 0x140007340
mov rbx, qword [rbx]
mov r8, qword [rsi - 0x10]
mov rdx, rbx
mov rcx, rdi
call fcn.14000da10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [r14 + 8]
call qword [r14]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140007370
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rbx
call fcn.14000da10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
call qword [rax]
mov edx, dword [rsi + 0x20]
mov rcx, rbx
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___int____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [r13 + 8]
call qword [r13]
mov edx, dword [rsi + 0x24]
mov rcx, rbx
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___int____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 2
lea rcx, [rbp - 0x39]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rdi, rax
mov edx, 0x1e
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [0x1400013b0]
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si edx, xmm0
mov rcx, rbx
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___int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rbp - 0x69]
add rsi, 0x48
lea rax, [rsi - 0x20]
cmp rax, rcx
jne 0x1400072b0
mov edx, 0x78
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd r8, dword [rdx + 4]
mov byte [r8 + rbx + 0x58], 0x3d
mov r8, qword [rbx]
movsxd rcx, dword [r8 + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov dl, 0x3d
mov rcx, rbx
call fcn.14000c8b0
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov byte [r8 + rax + 0x58], 0x20
jmp 0x140007064
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Customer_record_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000c6a0
mov rcx, rax
mov dl, 0xa
call fcn.14000c8b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
xor esi, esi
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x1400075bb
mov rdi, qword [rbp - 0x19]
cmp rbx, rdi
je 0x140007555
nop dword [rax]
mov rcx, rbx
call fcn.140002950
add rbx, 0x48
cmp rbx, rdi
jne 0x140007540
mov rbx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x11]
sub rcx, rbx
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400075a7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400075a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400174fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1400075f1
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400075ec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007632
mov rcx, r8
call fcn.1400174fc
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140017260
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3