Function at 0x140001000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm7
movapd xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb0], 0xfffffffffffffffe
mov qword [rbp - 0x18], r9
mov qword [rbp + 0x78], r8
xorpd xmm0, xmm0
movupd xmmword [rcx], xmm0
mov qword [rbp + 0xa0], rcx
mov qword [rcx + 0x10], 0
mov qword [rbp - 0x20], 0
mov byte [rsp + 0x20], 0
lea rcx, [rbp + 0x90]
lea r8, [rbp - 0x58]
mov r9b, 1
call fcn.140001aa0
cmp byte [rbp + 0x90], 1
jne 0x1400011ab
mov rcx, qword [rbp + 0x98]
lea rdx, str.error_code
call fcn.140021080
mov rcx, qword [rbp + 0x98]
cmp rax, qword [rcx]
je 0x1400011c3
lea rdx, str.error_code
lea rcx, [rbp + 0x90]
call fcn.140001d30
mov dword [rbp + 0x20], 0
lea rcx, [0x1400712b4]
lea r8, [rbp + 0x20]
mov rdx, rax
call fcn.14000bc40
mov ebx, dword [rbp + 0x20]
test ebx, ebx
je 0x1400011c3
lea r8, str.error_msg
lea r9, str.No_error_message_provided.
lea rcx, [rbp + 0x90]
lea rsi, [rbp + 0x20]
mov rdx, rsi
call fcn.140001e20
lea rcx, [0x1400c6e70]
lea rdx, [0x1400ad44b]
call fcn.1400020e0
mov r8, qword [rbp + 0x30]
cmp qword [rbp + 0x38], 0x10
jb 0x14000111f
mov rsi, qword [rbp + 0x20]
mov rcx, rax
mov rdx, rsi
call fcn.140022020
lea rdx, str.__Code:
mov rcx, rax
call fcn.1400020e0
mov rcx, rax
mov edx, ebx
call fcn.1400024e0
lea rdx, [0x1400ad10d]
mov rcx, rax
call fcn.1400020e0
mov rcx, rax
call fcn.1400027e0
mov rax, qword [rbp + 0x38]
cmp rax, 0x10
jb 0x140001199
mov rcx, qword [rbp + 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140001194
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000184d
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400431ec
mov sil, 1
mov dword [rbp + 0xac], 0
jmp 0x1400016fb
mov rax, qword [rbp + 0x78]
mov qword [rax], 0
mov al, 1
mov dword [rbp + 0xac], eax
jmp 0x1400016f9
movzx eax, byte [rbp + 0x90]
mov rcx, qword [rbp + 0x78]
mov qword [rcx], 0
mov cl, 1
mov dword [rbp + 0xac], ecx
cmp al, 1
jne 0x1400016f9
mov rcx, qword [rbp + 0x98]
lea rdx, str.data
call fcn.140021080
mov rcx, qword [rbp + 0x98]
cmp rax, qword [rcx]
je 0x1400016f9
lea rdx, str.data
lea rcx, [rbp + 0x90]
call fcn.140001d30
cmp byte [rax], 2
jne 0x1400016f9
lea rdx, str.data
lea rcx, [rbp + 0x90]
call fcn.140001d30
mov rsi, rax
mov qword [rbp + 0x58], rax
xorpd xmm0, xmm0
movupd xmmword [rbp + 0x60], xmm0
movabs rax, 0x8000000000000000
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x70], rax
movzx eax, byte [rsi]
test eax, eax
je 0x140001287
cmp eax, 2
je 0x14000127a
cmp eax, 1
jne 0x140001291
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rbp + 0x60], rax
jmp 0x140001299
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
jmp 0x140001299
mov qword [rbp + 0x70], 1
jmp 0x140001299
mov qword [rbp + 0x70], 0
movzx eax, byte [rsi]
cmp eax, 2
je 0x1400012bf
cmp eax, 1
jne 0x1400012d0
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov qword [rbp + 0x88], rax
xor eax, eax
mov qword [rbp + 0x80], rax
jmp 0x1400012eb
mov rax, qword [rsi + 8]
mov rax, qword [rax + 8]
mov qword [rbp + 0x80], rax
jmp 0x1400012e2
xor eax, eax
mov qword [rbp + 0x80], rax
mov eax, 1
mov qword [rbp + 0x18], rax
xor eax, eax
mov qword [rbp + 0x88], rax
xorps xmm7, xmm7
movabs r14, 0x100000001b3
mov r12, rsi
mov qword [rbp - 0x10], rsi
jmp 0x140001315
add qword [rbp + 0x68], 0x10
cmp r12, rsi
jne 0x140001818
movzx eax, byte [rsi]
cmp eax, 1
je 0x140001340
cmp eax, 2
jne 0x140001360
mov rax, qword [rbp + 0x80]
cmp qword [rbp + 0x68], rax
jne 0x14000136e
jmp 0x1400016f9
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0x60], rax
jne 0x14000136e
jmp 0x1400016f9
mov rax, qword [rbp + 0x18]
cmp qword [rbp + 0x70], rax
je 0x1400016f9
lea rcx, [rbp + 0x58]
call fcn.140002920
mov r15, rax
mov rcx, rax
lea rdx, [rbp + 0x20]
lea r8, [0x1400ab9ab]
lea r9, str.Unknown_Name
call fcn.140001e20
mov qword [rbp - 8], 0
mov rcx, r15
lea rdx, str.amount
lea r8, [rbp - 8]
call fcn.140002a50
movapd xmm6, xmm0
mov qword [rbp - 8], 0
mov rcx, r15
lea rdx, str.price
lea r8, [rbp - 8]
call fcn.140002a50
mulsd xmm6, xmm0
movsd qword [rbp - 8], xmm6
mov r15, qword [rbp + 0x38]
lea r13, [rbp + 0x20]
cmp r15, 0x10
jb 0x1400013e9
mov r13, qword [rbp + 0x20]
mov r12, qword [rbp + 0x30]
movabs rdx, 0xcbf29ce484222325
test r12, r12
je 0x1400014a7
cmp r12, 4
jae 0x140001420
xor eax, eax
movabs rcx, 0xcbf29ce484222325
jmp 0x14000147d
mov rdx, r12
and rdx, 0xfffffffffffffffc
xor eax, eax
movabs rcx, 0xcbf29ce484222325
nop word cs:[rax + rax]
movzx r8d, byte [r13 + rax]
xor r8, rcx
imul r8, r14
movzx ecx, byte [r13 + rax + 1]
xor rcx, r8
imul rcx, r14
movzx r8d, byte [r13 + rax + 2]
xor r8, rcx
imul r8, r14
movzx ecx, byte [r13 + rax + 3]
xor rcx, r8
imul rcx, r14
add rax, 4
cmp rdx, rax
jne 0x140001440
mov r8d, r12d
mov rdx, rcx
and r8d, 3
je 0x1400014a7
add rax, r13
xor r9d, r9d
nop
movzx edx, byte [rax + r9]
xor rdx, rcx
imul rdx, r14
inc r9
mov rcx, rdx
cmp r8, r9
jne 0x140001490
mov rax, qword [rbp - 0x18]
and rdx, qword [rax + 0x30]
mov rbx, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov rcx, rdx
shl rcx, 4
mov rsi, qword [rax + rcx + 8]
cmp rsi, rbx
je 0x140001530
add rdx, rdx
mov rdi, qword [rax + rdx*8]
cmp r12, qword [rsi + 0x20]
jne 0x140001503
nop word cs:[rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x1400014f0
mov rdx, qword [rsi + 0x10]
jmp 0x1400014f4
lea rdx, [rsi + 0x10]
mov rcx, r13
mov r8, r12
call fcn.14006e630
test eax, eax
je 0x140001520
cmp rsi, rdi
je 0x140001530
mov rsi, qword [rsi + 8]
cmp r12, qword [rsi + 0x20]
je 0x1400014e0
jmp 0x140001503
cmp rsi, rbx
jne 0x140001637
nop dword [rax]
mov rcx, qword [rbp + 0xa0]
mov r12, qword [rcx + 8]
cmp r12, qword [rcx + 0x10]
je 0x140001590
movups xmmword [r12 + 0x10], xmm7
movups xmmword [r12], xmm7
cmp qword [rbp + 0x38], 0x10
lea r13, [rbp + 0x20]
jb 0x14000155b
mov r13, qword [rbp + 0x20]
mov r15, qword [rbp + 0x30]
test r15, r15
js 0x140001852
cmp r15, 0xf
ja 0x1400015b0
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], 0xf
movupd xmm0, xmmword [r13]
movupd xmmword [r12], xmm0
jmp 0x14000161b
mov rdx, r12
lea r8, [rbp + 0x20]
lea r9, [rbp - 8]
call fcn.14000cd70
movsd xmm6, qword [rbp - 8]
jmp 0x140001627
mov rsi, r15
or rsi, 0xf
cmp rsi, 0x17
mov eax, 0x16
cmovb rsi, rax
cmp rsi, 0xfff
jb 0x1400015e7
lea rcx, [rsi + 0x28]
call fcn.1400431a8
mov rcx, rax
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400015f0
lea rcx, [rsi + 1]
call fcn.1400431a8
mov qword [r12], rax
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], rsi
inc r15
mov rcx, rax
mov rdx, r13
mov r8, r15
call fcn.14006e730
movsd xmm6, qword [rbp - 8]
mov rcx, qword [rbp + 0xa0]
movsd qword [r12 + 0x20], xmm6
add qword [rcx + 8], 0x28
mov rax, qword [rbp + 0x78]
addsd xmm6, qword [rax]
movsd qword [rax], xmm6
mov r15, qword [rbp + 0x38]
cmp r15, 0x10
mov rsi, qword [rbp - 0x10]
jb 0x140001676
mov rcx, qword [rbp + 0x20]
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x140001671
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14000184d
add r15, 0x28
mov rdx, r15
mov rcx, rax
call fcn.1400431ec
mov r12, qword [rbp + 0x58]
movzx eax, byte [r12]
cmp eax, 2
je 0x140001310
cmp eax, 1
jne 0x1400016f0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rcx + 0x10]
cmp byte [rdx + 0x19], 0
je 0x1400016d0
nop dword [rax + rax]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400016dc
mov rdx, rcx
mov rcx, rax
cmp rdx, qword [rax + 0x10]
je 0x1400016a0
mov rax, rcx
mov qword [rbp + 0x60], rcx
jmp 0x140001315
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x1400016d0
mov qword [rbp + 0x60], rax
jmp 0x140001315
inc qword [rbp + 0x70]
jmp 0x140001315
xor esi, esi
lea rcx, [rbp + 0x98]
movzx edx, byte [rbp + 0x90]
call fcn.1400116a0
mov eax, dword [rbp + 0xac]
or al, sil
jne 0x1400017ef
mov rax, qword [rbp + 0xa0]
mov rsi, qword [rax]
test rsi, rsi
je 0x1400017ef
mov rax, qword [rbp + 0xa0]
mov rdi, qword [rax + 8]
cmp rsi, rdi
mov rbx, rax
jne 0x140001771
jmp 0x1400017af
call fcn.1400431ec
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
add rsi, 0x28
cmp rsi, rdi
je 0x1400017ac
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x140001755
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140001750
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000184d
add rax, 0x28
mov rdx, rax
mov rcx, r8
jmp 0x140001750
mov rsi, qword [rbx]
mov rdx, qword [rbx + 0x10]
sub rdx, rsi
cmp rdx, 0x1000
jb 0x1400017d7
mov rax, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
sub rsi, rax
cmp rsi, 0x20
jae 0x14000184d
add rdx, 0x27
mov rsi, rax
mov rcx, rsi
call fcn.1400431ec
xorpd xmm0, xmm0
movupd xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rax, qword [rbp + 0xa0]
movaps xmm6, xmmword [rbp + 0xc0]
movaps xmm7, xmmword [rbp + 0xd0]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rdx, str.cannot_compare_iterators_of_different_containers
lea rcx, [rbp - 8]
call fcn.140003c30
lea rcx, [rbp + 0x20]
lea r8, [rbp - 8]
mov edx, 0xd4
mov r9, r12
call fcn.14001c2d0
lea rdx, [0x1400b2a20]
lea rcx, [rbp + 0x20]
call fcn.140047af0
call fcn.140050580
call fcn.14000c610
int3