Function at 0x1400124c0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1401e1990]
xor r9d, r9d
mov qword [rax + 0x18], rbp
mov qword [rax - 0x28], r13
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov eax, dword [rdi + 0x4878]
sub eax, 1
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x140012537
movsxd rdx, eax
mov rax, qword [rdi + 0x4880]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x14001252d
test dword [rsi + 0x14], 0x8000000
jne 0x1400125f3
sub r8, 0x38
sub rdx, 1
jns 0x140012518
mov rsi, r9
xorps xmm6, xmm6
cmp qword [rdi + 0x4a28], r9
je 0x140012589
cmp qword [rdi + 0x4a20], r9
jne 0x140012589
comiss xmm6, dword [rdi + 0x4a54]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a3c]
mulss xmm0, dword [0x1400c9c68]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x4a3c], xmm1
jb 0x140012589
comiss xmm6, xmm1
jb 0x140012589
mov qword [rdi + 0x4a28], r9
mov ebp, 0xffffffff
lea rdx, [0x1400c99b9]
mov ebx, ebp
lea r9, [0x1400c8080]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x1400125b3
cmp byte [rdx], r8b
jne 0x1400125b3
cmp byte [rdx + 1], r8b
cmove ebx, ebp
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x1400125a1
mov r15d, dword [rdi + 8]
not ebx
mov rbp, qword [rsp + 0x98]
movzx eax, r15b
test r15b, 2
je 0x1400125ff
test byte [rdi + 0xc], 1
je 0x1400125ff
mov r13b, 1
jmp 0x140012606
mov qword [rdi + 0x4a20], r9
jmp 0x14001253a
xor r13b, r13b
movzx r15d, al
and r15b, 1
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], r14
test rsi, rsi
jne 0x140012639
mov ecx, dword [rdi + 0x4a18]
test ecx, ecx
je 0x140012639
mov r8d, 0x1001
mov edx, ebx
call fcn.140019b40
test al, al
je 0x140012639
mov r14b, 1
jmp 0x140012641
xor r14b, r14b
test rsi, rsi
jne 0x140012661
mov ecx, dword [rdi + 0x4a1c]
test ecx, ecx
je 0x140012661
mov r8d, 0x1001
mov edx, ebx
call fcn.140019b40
test al, al
je 0x140012661
mov r12b, 1
jmp 0x140012669
xor r12b, r12b
test rsi, rsi
jne 0x14001268f
test r13b, r13b
je 0x14001268f
cmp qword [rdi + 0x4a20], rbp
jne 0x14001268f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.14000e520
test al, al
je 0x14001268f
mov r13b, 1
jmp 0x140012697
xor r13b, r13b
test rsi, rsi
jne 0x1400126af
cmp qword [rdi + 0x4a20], rbp
jne 0x1400126af
test r14b, r14b
jne 0x1400126aa
test r12b, r12b
je 0x1400126af
mov sil, 1
jmp 0x1400126b2
xor sil, sil
test r13b, r13b
jne 0x1400126c0
test sil, sil
je 0x140012750
mov rax, qword [rdi + 0x48b0]
test rax, rax
jne 0x1400126e7
mov ecx, dword [rdi + 0x3e80]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.14000b5c0
test rax, rax
je 0x140012750
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a28], rax
mov qword [rdi + 0x4a20], rax
xor eax, eax
mov qword [rdi + 0x4a38], rax
mov qword [rdi + 0x4a4c], rax
mov qword [rdi + 0x4a44], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a40], r13b
add eax, 2
mov dword [rdi + 0x48e8], eax
test r14b, r14b
jne 0x140012734
test r12b, r12b
je 0x140012750
mov ecx, dword [rdi + 0x4a1c]
xor r8d, r8d
or ecx, dword [rdi + 0x4a18]
mov edx, ebx
and ecx, 0xf800
call fcn.1400192a0
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4a38]
movss xmm7, dword [0x1400c9c34]
movaps xmmword [rsp + 0x20], xmm8
mov r13, qword [rsp + 0x60]
movss dword [rdi + 0x4a38], xmm0
cmp qword [rdi + 0x4a20], rbp
je 0x140012856
cmp dword [rdi + 0x48e8], 3
jne 0x140012856
subss xmm0, dword [0x1400c9bfc]
divss xmm0, dword [0x1400c9bec]
comiss xmm6, xmm0
jbe 0x1400127ac
movaps xmm1, xmm6
jmp 0x1400127b3
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4a3c]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x273
lea r8d, [rdx + 1]
movss dword [rdi + 0x4a3c], xmm8
call fcn.14000e520
xor edx, edx
movzx ebx, al
mov ecx, 0x274
lea r8d, [rdx + 1]
call fcn.14000e520
movzx edx, al
mov ecx, ebx
sub ecx, edx
je 0x140012809
call fcn.140012d90
mov dword [rdi + 0x4a3c], 0x3f800000
movaps xmm8, xmm7
mov rax, qword [0x1401e1990]
cmp byte [rax + 0x34dc], bpl
je 0x140012822
cmp byte [rax + 0x4484], bpl
je 0x140012856
comiss xmm7, xmm8
seta al
and byte [rdi + 0x4a40], al
je 0x140012844
cmp qword [rdi + 0x48b0], rbp
je 0x14001284b
mov byte [rsp + 0x90], 1
jmp 0x14001284b
mov rbp, qword [rdi + 0x4a20]
mov qword [rdi + 0x4a20], 0
cmp qword [rdi + 0x4a20], 0
je 0x14001290c
cmp dword [rdi + 0x48e8], 2
jne 0x14001290c
mov eax, dword [rdi + 0x4a18]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a38]
test eax, eax
subss xmm0, dword [0x1400c9bfc]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4a1c]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x1400c9bec]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x1400128bd
movaps xmm7, xmm6
jmp 0x1400128c1
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x4a3c]
maxss xmm0, xmm7
movss dword [rdi + 0x4a3c], xmm0
test r14b, r14b
jne 0x1400128f9
test r12b, r12b
jne 0x1400128f9
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x14001290c
mov rbp, qword [rdi + 0x4a20]
jmp 0x14001290c
movzx ecx, r14b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140012d90
mov r14, qword [rsp + 0x58]
test r15b, r15b
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
je 0x140012947
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.14000e520
test al, al
je 0x140012947
mov byte [rdi + 0x4a40], 1
mov dword [rdi + 0x48e8], 2
cmp byte [rdi + 0x4a40], 0
je 0x140012a83
cmp dword [rdi + 0x48e8], 2
jne 0x140012a83
cmp dword [rdi + 0x37c0], 0
jg 0x140012995
cmp byte [rdi + 0xe24], 0
jne 0x140012995
cmp byte [rdi + 0xe25], 0
jne 0x140012995
cmp byte [rdi + 0xe27], 0
jne 0x140012995
mov rax, qword [0x1401e1990]
cmp dword [rax + 0x45f0], 0xffffffff
je 0x14001299c
mov byte [rdi + 0x4a40], 0
mov rax, qword [0x1401e1990]
comiss xmm6, dword [rax + 0x36d4]
ja 0x140012a63
cmp byte [rax + 0x36cc], 0
jne 0x140012a63
cmp byte [rax + 0x45f8], 0
jne 0x140012a7c
cmp byte [rdi + 0x4a40], 0
je 0x140012a63
cmp dword [rdi + 0x3f30], 0
je 0x1400129e9
cmp byte [rdi + 0x3f3d], 0
je 0x140012a63
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x140012a02
mov rax, qword [0x1401e1990]
add rax, 0xe08
movss xmm0, dword [rax]
movss xmm1, dword [0x1400c9cb0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140012a21
comiss xmm2, xmm1
jb 0x140012a21
mov cl, 1
jmp 0x140012a23
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x140012a3c
mov rax, qword [0x1401e1990]
add rax, 0xe08
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140012a53
comiss xmm2, xmm1
jb 0x140012a53
mov al, 1
jmp 0x140012a55
xor al, al
cmp al, cl
jne 0x140012a63
mov byte [rsp + 0x90], 1
jmp 0x140012a7c
mov rax, qword [0x1401e1990]
cmp byte [rax + 0x36cc], 0
je 0x140012a7c
cmp byte [rax + 0x45f8], 0
je 0x140012a83
mov byte [rdi + 0x4a40], 0
mov rax, qword [rdi + 0x4a20]
test rax, rax
je 0x140012bfc
test byte [rax + 0x14], 4
jne 0x140012bfc
mov eax, dword [rdi + 0x48e8]
movaps xmm2, xmm6
movaps xmm3, xmm6
cmp eax, 2
jne 0x140012ae0
cmp byte [rdi + 0xe25], 0
jne 0x140012b0c
mov rax, qword [0x1401e1990]
movss xmm2, dword [rax + 0x2e58]
movss xmm3, dword [rax + 0x2e78]
subss xmm2, dword [rax + 0x2e48]
subss xmm3, dword [rax + 0x2e68]
jmp 0x140012b0c
cmp eax, 3
jne 0x140012b0c
mov rax, qword [0x1401e1990]
movss xmm2, dword [rax + 0x35d8]
movss xmm3, dword [rax + 0x35f8]
subss xmm2, dword [rax + 0x35c8]
subss xmm3, dword [rax + 0x35e8]
ucomiss xmm2, xmm6
jp 0x140012b1e
jne 0x140012b1e
ucomiss xmm3, xmm6
jp 0x140012b1e
je 0x140012bfc
movss xmm1, dword [rdi + 0x70]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm7, xmm7
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x1400c9c9c]
mov byte [rdi + 0x48f3], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a44]
addss xmm3, dword [rdi + 0x4a48]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a44], xmm2
movss dword [rdi + 0x4a48], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm6
cvtsi2ss xmm7, eax
jp 0x140012b8f
jne 0x140012b8f
ucomiss xmm7, xmm6
jp 0x140012b8f
je 0x140012bfc
mov rax, qword [rdi + 0x4a20]
lea rdx, [rsp + 0x98]
movaps xmm0, xmm8
movaps xmm1, xmm7
mov r8d, 1
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x98], xmm0
movss dword [rsp + 0x9c], xmm1
call fcn.1400198b0
movss xmm0, dword [rdi + 0x4a44]
movss xmm1, dword [rdi + 0x4a48]
subss xmm0, xmm8
subss xmm1, xmm7
movss dword [rdi + 0x4a44], xmm0
movss dword [rdi + 0x4a48], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test rbp, rbp
je 0x140012ca5
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x140012c2a
cmp rbp, qword [rax + 0x378]
je 0x140012c9a
xor edx, edx
xor ecx, ecx
call fcn.140018a20
mov rax, qword [0x1401e1990]
mov word [rax + 0x48f1], 1
mov byte [rax + 0x48f3], 1
mov rax, qword [rbp + 0x398]
test rax, rax
je 0x140012c61
cmp byte [rax + 0xb7], 0
cmovne rbp, rax
xor edx, edx
mov rcx, rbp
call fcn.140008a00
mov rcx, rbp
call fcn.14000b790
cmp dword [rbp + 0x3a0], 0
jne 0x140012c86
xor edx, edx
mov rcx, rbp
call fcn.14000fa60
cmp word [rbp + 0x15e], 2
jne 0x140012c9a
mov dword [rdi + 0x48ec], 1
mov qword [rdi + 0x4a20], 0
cmp byte [rsp + 0x90], 0
mov rbp, qword [rsp + 0xa0]
je 0x140012d79
cmp qword [rdi + 0x48b0], 0
je 0x140012d79
xor edx, edx
xor ecx, ecx
call fcn.140018a20
mov rbx, qword [rdi + 0x48b0]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x140012d0e
test byte [rbx + 0x15c], 2
jne 0x140012d0e
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140012d0e
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140012ce6
mov rsi, qword [rdi + 0x48b0]
cmp rbx, rsi
je 0x140012d29
mov rcx, rbx
call fcn.14000b790
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48b0]
test byte [rax + 0x15c], 2
je 0x140012d44
mov ecx, dword [rdi + 0x48ec]
xor ecx, 1
jmp 0x140012d46
xor ecx, ecx
cmp ecx, dword [rdi + 0x48ec]
je 0x140012d79
cmp ecx, 1
jne 0x140012d5d
mov dword [rax + 0x3a4], 0
call fcn.140010500
mov rax, qword [0x1401e1990]
mov word [rax + 0x48f1], 1
mov byte [rax + 0x48f3], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret