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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140137010]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rdx
mov r14, rcx
mov rcx, qword [rcx]
mov r8, qword [r14 + 8]
sub r8, rcx
add r8, 3
shr r8, 2
xor r12d, r12d
cmp rcx, qword [r14 + 8]
cmova r8, r12
test r8, r8
je 0x140019a1d
shl r8, 2
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14 + 0x18]
mov r8, qword [r14 + 0x20]
sub r8, rcx
cmp rcx, qword [r14 + 0x20]
cmova r8, r12
test r8, r8
je 0x140019a3c
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r14 + 0x30]
mov r8, qword [r14 + 0x38]
sub r8, rcx
add r8, 3
shr r8, 2
cmp rcx, qword [r14 + 0x38]
cmova r8, r12
test r8, r8
je 0x140019a67
shl r8, 2
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r12
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 4
test rbx, rbx
je 0x140019ad7
movabs rax, 0xfffffffffffffff
cmp rbx, rax
ja 0x140019f68
mov rdx, rbx
call fcn.140005dc0
mov rdi, rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
shl rbx, 4
add rbx, rax
mov qword [rbp - 8], rbx
mov rbx, qword [rsi + 8]
mov rdx, qword [rsi]
sub rbx, rdx
mov r8, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
and rbx, 0xfffffffffffffff0
lea rdx, [rbx + rdi]
mov qword [rbp - 0x10], rdx
jmp 0x140019adb
mov rdx, qword [rbp - 0x10]
mov r8, rdx
mov rcx, qword [rbp - 0x18]
sub r8, rcx
sar r8, 4
movzx r9d, byte [rsp + 0x24]
call fcn.140019f70
mov r15, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
cmp rcx, r15
je 0x140019f04
lea rdi, [rcx + 4]
movabs r13, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx r8d, word [rdi - 2]
movsx eax, word [rdi - 4]
mov r9d, eax
shl r9d, 0xb
add r9d, r8d
cdq
and edx, 7
lea ecx, [rdx + rax]
sar ecx, 3
shl ecx, 8
mov eax, r8d
cdq
and edx, 7
add eax, edx
sar eax, 3
add ecx, eax
movsxd r8, r9d
add r8, qword [r14 + 0x18]
movsxd rcx, ecx
mov rax, qword [r14]
lea rdx, [rax + rcx*4]
mov ecx, dword [rdi + 4]
xor ecx, dword [rdx]
and ecx, 0xfffffff0
xor ecx, dword [rdi + 4]
mov dword [rdx], ecx
inc byte [r8]
movzx edx, byte [r8]
mov dword [rsp + 0x20], r12d
movzx eax, word [rdi]
mov word [rsp + 0x20], ax
movzx ecx, byte [rdi + 8]
and cl, 0xf
movzx eax, byte [rsp + 0x22]
and al, 0xf0
or cl, al
mov byte [rsp + 0x22], cl
shl r9d, 6
add r9d, edx
movsxd rcx, r9d
mov rax, qword [r14 + 0x30]
lea rdx, [rax + rcx*4]
mov eax, dword [rsp + 0x20]
mov dword [rdx - 4], eax
cmp byte [r8], 0x3f
jb 0x140019eef
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8d, 7
lea rdx, str.Geodata
lea rcx, [rsp + 0x58]
call fcn.140004240
nop
mov dword [rsp + 0x28], 2
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400038d0
nop
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x50], rsi
cmp dword [rsp + 0x28], 4
jg 0x140019d36
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140019c89
cmp qword [0x140137680], 0
je 0x140019c84
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
test rbx, rbx
je 0x140019c63
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, rbx
jb 0x140019c50
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [0x140137670]
call fcn.140016da0
cmp qword [rax + 8], 0
je 0x140019d36
test rbx, rbx
jne 0x140019cc7
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x28]
call fcn.1400b4880
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140019ca6
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.140004f80
mov rcx, rax
lea rdx, [0x1400bbc98]
call fcn.140003f20
nop
lea rcx, [rbp - 0x78]
jmp 0x140019d30
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x28]
call fcn.1400b4880
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140019ce4
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.140004f80
lea rdx, [0x140101238]
mov rcx, rax
call fcn.140003f20
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rax
call fcn.140004f80
mov rcx, rax
lea rdx, [0x1400bc2a0]
call fcn.140003f20
nop
lea rcx, [rbp - 0x58]
call fcn.140003b00
nop
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019d55
lea rdx, str.Assertion__
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019d74
lea rdx, str.column.layers___MAX_LAYERS___1
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019d93
lea rdx, str.__failed_at
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019db2
lea rdx, str.C:Userso2f4p0r9m0g4k2r1_source_reposl2mapconv2l2mapconv2geodata_srcExportBuffer.cpp
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019dd1
lea rdx, [0x1400bc210]
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019def
mov edx, 0x2d
mov rcx, qword [rsp + 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__::operator___int____ptr64]
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019e0e
lea rdx, [0x1400bc2a0]
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019e2d
lea rdx, str.Too_many_layers_in_column:
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019e4a
movzx edx, word [rdi - 4]
mov rcx, qword [rsp + 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__::operator___short_int____ptr64]
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019e69
lea rdx, [0x1400bcaec]
mov rcx, qword [rsp + 0x50]
call fcn.140003f20
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019e86
movzx edx, word [rdi - 2]
mov rcx, qword [rsp + 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__::operator___short_int____ptr64]
lea rcx, [rsp + 0x28]
call fcn.1400b4ac0
test al, al
je 0x140019eda
mov rbx, qword [rsp + 0x50]
xor r8d, r8d
lea rdx, [rbp - 0x38]
call fcn.1400b4b50
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140019eb4
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140004f80
lea rdx, [0x140003e00]
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
lea rcx, [rbp - 0x38]
call fcn.140003b00
nop
lea rcx, [rsp + 0x30]
call fcn.140003b00
nop
lea rcx, [rsp + 0x58]
call fcn.140003b00
add rdi, 0x10
lea rax, [rdi - 4]
cmp rax, r15
jne 0x140019b20
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140019f41
mov rdx, qword [rbp - 8]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019f3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019f3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5af4
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400b5770
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140004a40
int3