Function at 0x18001b590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push r15
sub rsp, 0x50
mov r15, qword [0x18004dcd0]
mov rbp, rcx
mov qword [rsp + 0x48], rsi
mov rsi, rdx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
test rdx, rdx
jne 0x18001b5de
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rsi + rcx], 0
jne 0x18001b5d0
mov qword [rsp + 0x78], rsi
mov ecx, dword [r15 + 0x4704]
lea ebx, [rsi + 1]
cmp ebx, ecx
jle 0x18001b613
test ecx, ecx
je 0x18001b5fb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001b600
mov eax, 8
cmp eax, ebx
lea rcx, [r15 + 0x4700]
mov edx, ebx
cmovg edx, eax
call fcn.18001d510
mov dword [r15 + 0x4700], ebx
mov r8, rsi
mov r14, qword [r15 + 0x4708]
mov rdx, rbp
mov rcx, r14
mov qword [rsp + 0x88], r14
lea rdi, [r14 + rsi]
mov qword [rsp + 0x80], rdi
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [rdi], 0
mov ebx, ebp
cmp dword [r15 + 0x4710], ebx
jle 0x18001b699
mov edi, ebp
nop word [rax + rax]
mov rdx, qword [r15 + 0x4718]
mov r8, qword [rdi + rdx + 0x18]
test r8, r8
je 0x18001b682
movsxd rax, ebx
lea rcx, [rax + rax*8]
lea rdx, [rdx + rcx*8]
mov rcx, r15
call r8
inc ebx
add rdi, 0x48
cmp ebx, dword [r15 + 0x4710]
jl 0x18001b660
mov rdi, qword [rsp + 0x80]
mov r13, rbp
mov rsi, rbp
mov rcx, r14
cmp r14, rdi
jae 0x18001b80f
mov qword [rsp + 0x38], r12
movzx eax, byte [rcx]
cmp al, 0xa
je 0x18001b8e4
cmp al, 0xd
je 0x18001b8e4
mov rbx, rcx
cmp rcx, rdi
jae 0x18001b6e3
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x18001b6e3
cmp al, 0xd
je 0x18001b6e3
inc rbx
cmp rbx, rdi
jb 0x18001b6d0
mov byte [rbx], bpl
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x18001b7f5
cmp al, 0x5b
jne 0x18001b8be
cmp rbx, rcx
jbe 0x18001b8be
cmp byte [rbx - 1], 0x5d
lea rdi, [rbx - 1]
jne 0x18001b8b6
lea r14, [rcx + 1]
mov byte [rdi], bpl
mov r8, rdi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r12, rax
test rax, rax
je 0x18001b7ed
lea rcx, [rax + 1]
mov edx, 0x5b
sub rdi, rcx
mov r8, rdi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x18001b7ed
mov r10, qword [0x18004dcd0]
lea r8, [r14 + 1]
mov byte [r12], bpl
mov r12d, 0xffffffff
movzx r9d, byte [r14]
mov ecx, r12d
test r9b, r9b
je 0x18001b7ad
cmp r9b, 0x23
jne 0x18001b78a
cmp byte [r8], r9b
jne 0x18001b78a
cmp byte [r8 + 1], r9b
cmove ecx, r12d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x180040c10]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x18001b777
movsxd rax, dword [r10 + 0x4710]
not ecx
mov r8d, ebp
mov rdx, rbp
test eax, eax
jle 0x18001b7e7
mov r10, qword [r10 + 0x4718]
mov r9, rax
lea rax, [r10 + 8]
nop
cmp dword [rax], ecx
je 0x18001b88a
inc r8d
inc rdx
add rax, 0x48
cmp rdx, r9
jl 0x18001b7d0
mov rsi, rbp
mov r13, rbp
mov rdi, qword [rsp + 0x80]
lea rcx, [rbx + 1]
cmp rcx, rdi
jb 0x18001b6b0
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0x38]
mov r8, qword [rsp + 0x78]
mov rcx, r14
mov rdx, qword [rsp + 0x70]
mov byte [r15 + 0x46f9], 1
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
cmp dword [r15 + 0x4710], ebp
jle 0x18001b881
mov rbx, rbp
nop dword [rax]
mov rdx, qword [r15 + 0x4718]
mov r8, qword [rbx + rdx + 0x30]
test r8, r8
je 0x18001b872
movsxd rax, ebp
lea rcx, [rax + rax*8]
lea rdx, [rdx + rcx*8]
mov rcx, r15
call r8
inc ebp
add rbx, 0x48
cmp ebp, dword [r15 + 0x4710]
jl 0x18001b850
add rsp, 0x50
pop r15
pop rbp
pop rbx
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rsi, [r10 + rcx*8]
test rsi, rsi
je 0x18001b7ea
mov rax, qword [rsi + 0x20]
lea r8, [r11 + 1]
mov rdx, rsi
mov rcx, r15
call rax
mov r13, rax
jmp 0x18001b7ed
mov rdi, qword [rsp + 0x80]
test rsi, rsi
je 0x18001b7f5
test r13, r13
je 0x18001b7f5
mov r9, rcx
mov r8, r13
mov rcx, r15
mov rdx, rsi
call qword [rsi + 0x28]
jmp 0x18001b7f5
inc rcx
jmp 0x18001b6b0