Function at 0x140058f10
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rax + 0x18], rbp
xor r9d, r9d
mov rbp, qword [0x140128418]
mov qword [rax - 0x30], r14
mov rdi, rbp
mov qword [rax - 0x38], r15
mov r14d, r9d
movaps xmmword [rax - 0x58], xmm7
movsxd rax, dword [rbp + 0x4880]
mov byte [rsp + 0x80], r9b
test eax, eax
jle 0x140058f82
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x4888]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x140058f78
test dword [rsi + 0x14], 0x8000000
jne 0x14005903a
sub r8, 0x38
sub rdx, 1
jns 0x140058f63
mov rax, qword [rbp + 0x4a20]
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rbp + 0x4a28], r9
je 0x140058fd7
test rax, rax
jne 0x140058fd7
comiss xmm7, dword [rbp + 0x4a54]
movss xmm0, dword [rbp + 0x18]
movss xmm1, dword [rbp + 0x4a3c]
mulss xmm0, dword [0x14010a8e4]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rbp + 0x4a3c], xmm1
jb 0x140058fd7
comiss xmm7, xmm1
jb 0x140058fd7
mov qword [rbp + 0x4a28], r9
mov ebp, 0xffffffff
lea rdx, [0x140108be9]
mov ebx, ebp
lea r9, [0x140101af0]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop
cmp r8b, 0x23
jne 0x140059002
cmp byte [rdx], r8b
jne 0x140059002
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 0x140058ff0
mov eax, dword [rdi + 8]
not ebx
mov rbp, qword [0x140128418]
test al, 2
je 0x140059049
test byte [rdi + 0xc], 1
je 0x140059049
mov r15b, 1
jmp 0x14005904c
mov qword [rbp + 0x4a20], r9
mov rax, r9
jmp 0x140058f8c
xor r15b, r15b
and al, 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x88], eax
test rsi, rsi
jne 0x14005908b
mov ecx, dword [rdi + 0x4a18]
test ecx, ecx
je 0x14005908b
mov r8d, 0x1001
mov edx, ebx
call fcn.140053290
mov rbp, qword [0x140128418]
test al, al
je 0x14005908b
mov r12b, 1
jmp 0x140059093
xor r12b, r12b
test rsi, rsi
jne 0x1400590ba
mov ecx, dword [rdi + 0x4a1c]
test ecx, ecx
je 0x1400590ba
mov r8d, 0x1001
mov edx, ebx
call fcn.140053290
mov rbp, qword [0x140128418]
test al, al
je 0x1400590ba
mov r13b, 1
jmp 0x1400590c2
xor r13b, r13b
test rsi, rsi
jne 0x1400590e8
test r15b, r15b
je 0x1400590e8
cmp qword [rdi + 0x4a20], r14
jne 0x1400590e8
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140051460
test al, al
je 0x1400590e8
mov r15b, 1
jmp 0x1400590f9
xor r15b, r15b
test rsi, rsi
jne 0x140059108
cmp qword [rdi + 0x4a20], r14
jne 0x140059108
test r12b, r12b
jne 0x140059103
test r13b, r13b
je 0x140059108
mov sil, 1
jmp 0x14005910b
xor sil, sil
test r15b, r15b
jne 0x140059119
test sil, sil
je 0x140059239
mov rax, qword [rdi + 0x48b8]
test rax, rax
jne 0x140059144
mov ecx, dword [rdi + 0x3e80]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.140058de0
test rax, rax
je 0x140059239
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], r15b
add eax, 2
mov dword [rdi + 0x48ec], eax
test r12b, r12b
jne 0x140059195
test r13b, r13b
je 0x140059239
mov r9d, dword [rdi + 0x4a1c]
or r9d, dword [rdi + 0x4a18]
bt r9d, 0xc
jae 0x1400591c1
mov edx, 0x1000
mov rcx, rbp
call fcn.140043bc0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r14w
bt r9d, 0xd
jae 0x1400591df
mov edx, 0x2000
mov rcx, rbp
call fcn.140043bc0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r14w
bt r9d, 0xe
jae 0x1400591fd
mov edx, 0x4000
mov rcx, rbp
call fcn.140043bc0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r14w
bt r9d, 0xf
jae 0x14005921b
mov edx, 0x8000
mov rcx, rbp
call fcn.140043bc0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r14w
bt r9d, 0xb
jae 0x140059239
mov edx, 0x800
mov rcx, rbp
call fcn.140043bc0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r14w
movss xmm0, dword [rdi + 0x4a38]
mov r15d, 1
mov rsi, qword [rdi + 0x4a20]
movss xmm5, dword [0x14010a854]
mov r10, rsi
movaps xmmword [rsp + 0x30], xmm6
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x4a38], xmm0
test rsi, rsi
je 0x140059365
cmp dword [rdi + 0x48ec], 3
jne 0x14005936e
subss xmm0, dword [0x14010a7f8]
divss xmm0, dword [0x14010a7d8]
comiss xmm7, xmm0
jbe 0x14005929b
movaps xmm1, xmm7
jmp 0x1400592a2
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [rdi + 0x4a3c]
mov r8d, r15d
maxss xmm6, xmm1
xor edx, edx
mov ecx, 0x273
movss dword [rdi + 0x4a3c], xmm6
call fcn.140051460
mov r8d, r15d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.140051460
movzx ecx, al
mov r10, rsi
mov eax, ebx
sub eax, ecx
je 0x140059301
mov ecx, eax
call fcn.140058e70
mov rsi, qword [rdi + 0x4a20]
movaps xmm6, xmm5
mov r10, rsi
mov dword [rdi + 0x4a3c], 0x3f800000
mov edx, 0x26b
mov rcx, rbp
call fcn.140050d30
cmp byte [rax], r14b
je 0x140059323
xor edx, edx
mov ecx, 0x26b
call fcn.1400531e0
test al, al
jne 0x140059365
comiss xmm5, xmm6
seta al
and byte [rdi + 0x4a40], al
je 0x140059352
cmp qword [rdi + 0x48b8], r14
je 0x140059355
mov byte [rsp + 0x80], r15b
mov qword [rdi + 0x4a20], 0
jmp 0x140059412
mov r14, rsi
mov qword [rdi + 0x4a20], 0
jmp 0x140059412
test r10, r10
je 0x140059412
cmp dword [rdi + 0x48ec], 2
jne 0x140059412
mov eax, dword [rdi + 0x4a18]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a38]
test eax, eax
subss xmm0, dword [0x14010a7f8]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4a1c]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x14010a7d8]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x1400593c7
movaps xmm5, xmm7
jmp 0x1400593cb
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x4a3c]
maxss xmm0, xmm5
movss dword [rdi + 0x4a3c], xmm0
test r12b, r12b
jne 0x1400593ff
test r13b, r13b
jne 0x1400593ff
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x140059412
mov r14, rsi
jmp 0x140059412
movzx ecx, r12b
xor ecx, r15d
lea ecx, [rcx*2 - 1]
call fcn.140058e70
cmp byte [rsp + 0x88], 0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
je 0x14005944d
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140051460
test al, al
je 0x14005944d
mov byte [rdi + 0x4a40], r15b
mov dword [rdi + 0x48ec], 2
cmp byte [rdi + 0x4a40], 0
je 0x14005959b
cmp dword [rdi + 0x48ec], 2
jne 0x14005959b
cmp dword [rdi + 0x37c0], 0
jg 0x14005949d
cmp byte [rdi + 0xe24], 0
jne 0x14005949d
cmp byte [rdi + 0xe25], 0
jne 0x14005949d
cmp byte [rdi + 0xe27], 0
jne 0x14005949d
mov edx, 0x4000
mov rcx, rbp
call fcn.140043bc0
cmp dword [rax], 0xffffffff
je 0x1400594a4
mov byte [rdi + 0x4a40], 0
mov edx, 0x4000
mov rcx, rbp
call fcn.140050d30
comiss xmm7, dword [rax + 8]
ja 0x140059572
cmp byte [rax], 0
jne 0x140059572
xor edx, edx
mov ecx, 0x4000
call fcn.1400531e0
test al, al
je 0x140059572
cmp byte [rdi + 0x4a40], 0
je 0x140059572
cmp dword [rdi + 0x3f38], 0
je 0x1400594f7
cmp byte [rdi + 0x3f45], 0
je 0x140059572
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x14005950a
lea rax, [rbp + 0xe08]
movss xmm0, dword [rax]
movss xmm1, dword [0x14010ab70]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14005952b
comiss xmm2, xmm1
jb 0x14005952b
movzx ecx, r15b
jmp 0x14005952d
xor cl, cl
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x140059540
lea rax, [rbp + 0xe08]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140059559
comiss xmm2, xmm1
jb 0x140059559
movzx eax, r15b
jmp 0x14005955b
xor al, al
mov edx, dword [rsp + 0x80]
cmp cl, al
movzx edx, dl
cmove edx, r15d
mov dword [rsp + 0x80], edx
mov edx, 0x4000
mov rcx, rbp
call fcn.140050d30
cmp byte [rax], 0
je 0x140059594
xor edx, edx
mov ecx, 0x4000
call fcn.1400531e0
test al, al
jne 0x14005959b
mov byte [rdi + 0x4a40], 0
mov rax, qword [rdi + 0x4a20]
test rax, rax
je 0x140059760
test byte [rax + 0x14], 4
jne 0x140059760
mov eax, dword [rdi + 0x48ec]
cmp eax, 2
jne 0x14005961f
cmp byte [rdi + 0xe25], 0
jne 0x140059760
mov edx, 0x203
mov rcx, rbp
call fcn.140050d30
mov edx, 0x201
mov rcx, rbp
mov r10, rax
call fcn.140050d30
mov edx, 0x202
mov rcx, rbp
mov r9, rax
call fcn.140050d30
mov edx, 0x204
mov rcx, rbp
movss xmm2, dword [rax + 0xc]
subss xmm2, dword [r9 + 0xc]
call fcn.140050d30
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jmp 0x140059678
cmp eax, 3
jne 0x140059760
mov edx, 0x27c
mov rcx, rbp
call fcn.140050d30
mov edx, 0x279
mov rcx, rbp
mov r10, rax
call fcn.140050d30
mov edx, 0x27a
mov rcx, rbp
mov r9, rax
call fcn.140050d30
mov edx, 0x27b
mov rcx, rbp
movss xmm2, dword [rax + 0xc]
subss xmm2, dword [r9 + 0xc]
call fcn.140050d30
movss xmm3, dword [r10 + 0xc]
subss xmm3, dword [rax + 0xc]
ucomiss xmm2, xmm7
jp 0x14005968a
jne 0x14005968a
ucomiss xmm3, xmm7
jp 0x14005968a
je 0x140059760
movss xmm1, dword [rdi + 0x70]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x14010aacc]
mov byte [rdi + 0x48f7], r15b
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 xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm7
cvtsi2ss xmm5, eax
jp 0x1400596f8
jne 0x1400596f8
ucomiss xmm5, xmm7
jp 0x1400596f8
je 0x140059760
mov rax, qword [rdi + 0x4a20]
lea rdx, [rsp + 0x88]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, r15d
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x88], xmm0
movss dword [rsp + 0x8c], xmm1
call fcn.1400508e0
movss xmm0, dword [rdi + 0x4a48]
movss xmm4, dword [rdi + 0x4a44]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4a48], xmm0
movss dword [rdi + 0x4a44], xmm4
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
mov rbp, qword [rsp + 0x90]
test r14, r14
je 0x140059809
mov rax, qword [rdi + 0x48b8]
test rax, rax
je 0x140059790
cmp r14, qword [rax + 0x378]
je 0x1400597fe
xor edx, edx
xor ecx, ecx
call fcn.140047480
mov rax, qword [0x140128418]
mov word [rax + 0x48f5], r15w
mov byte [rax + 0x48f7], r15b
mov rax, qword [r14 + 0x398]
test rax, rax
je 0x1400597c6
cmp byte [rax + 0xb7], 0
cmovne r14, rax
xor edx, edx
mov rcx, r14
call fcn.140054b60
mov rcx, r14
call fcn.1400503d0
cmp dword [r14 + 0x3a0], 0
jne 0x1400597ec
xor edx, edx
mov rcx, r14
call fcn.140056950
cmp word [r14 + 0x15e], 2
jne 0x1400597fe
mov dword [rdi + 0x48f0], r15d
mov qword [rdi + 0x4a20], 0
cmp byte [rsp + 0x80], 0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
je 0x1400598da
cmp qword [rdi + 0x48b8], 0
je 0x1400598da
xor edx, edx
xor ecx, ecx
call fcn.140047480
mov rsi, qword [rdi + 0x48b8]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x140059878
nop
test byte [rbx + 0x15c], 2
jne 0x140059878
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140059878
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140059850
cmp rbx, rsi
je 0x140059893
mov rcx, rbx
call fcn.1400503d0
mov qword [rbx + 0x398], rsi
mov rsi, qword [rdi + 0x48b8]
test byte [rsi + 0x15c], 2
mov eax, dword [rdi + 0x48f0]
je 0x1400598a9
mov ecx, eax
xor ecx, 1
jmp 0x1400598ab
xor ecx, ecx
cmp ecx, eax
je 0x1400598da
cmp ecx, 1
jne 0x1400598be
mov dword [rsi + 0x3a4], 0
call fcn.140056860
mov rax, qword [0x140128418]
mov word [rax + 0x48f5], 1
mov byte [rax + 0x48f7], 1
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret