Function at 0x140012950
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x1403aa1b0]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov eax, dword [rdi + 0x48c0]
sub eax, 1
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x1400129cf
movsxd rdx, eax
mov rax, qword [rdi + 0x48c8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x1400129c5
test dword [rsi + 0x14], 0x8000000
jne 0x140012a93
sub r8, 0x38
sub rdx, 1
jns 0x1400129b0
mov rsi, r9
xorps xmm6, xmm6
cmp qword [rdi + 0x4af0], r9
je 0x140012a21
cmp qword [rdi + 0x4ae8], r9
jne 0x140012a21
comiss xmm6, dword [rdi + 0x4b1c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4b04]
mulss xmm0, dword [0x1400b0988]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x4b04], xmm1
jb 0x140012a21
comiss xmm6, xmm1
jb 0x140012a21
mov qword [rdi + 0x4af0], r9
mov r13d, 0xffffffff
lea rdx, [0x1400b06f9]
mov ebx, r13d
lea r9, [0x1400aecc0]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x140012a53
cmp byte [rdx], r8b
jne 0x140012a53
cmp byte [rdx + 1], r8b
cmove ebx, r13d
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 0x140012a40
mov r14d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
movzx eax, r14b
test r14b, 2
je 0x140012a9f
test byte [rdi + 0xc], 1
je 0x140012a9f
mov r12b, 1
jmp 0x140012aa6
mov qword [rdi + 0x4ae8], r9
jmp 0x1400129d2
xor r12b, r12b
movzx r14d, al
and r14b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], r15
test rsi, rsi
jne 0x140012adc
mov ecx, dword [rdi + 0x4ae0]
test ecx, ecx
je 0x140012adc
mov r8d, 0x1001
mov edx, ebx
call fcn.140019950
test al, al
je 0x140012adc
mov bpl, 1
jmp 0x140012ae4
xor bpl, bpl
test rsi, rsi
jne 0x140012b04
mov ecx, dword [rdi + 0x4ae4]
test ecx, ecx
je 0x140012b04
mov r8d, 0x1001
mov edx, ebx
call fcn.140019950
test al, al
je 0x140012b04
mov r15b, 1
jmp 0x140012b0c
xor r15b, r15b
test rsi, rsi
jne 0x140012b32
test r12b, r12b
je 0x140012b32
cmp qword [rdi + 0x4ae8], r13
jne 0x140012b32
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.14000e6f0
test al, al
je 0x140012b32
mov r12b, 1
jmp 0x140012b3a
xor r12b, r12b
test rsi, rsi
jne 0x140012b52
cmp qword [rdi + 0x4ae8], r13
jne 0x140012b52
test bpl, bpl
jne 0x140012b4d
test r15b, r15b
je 0x140012b52
mov sil, 1
jmp 0x140012b55
xor sil, sil
test r12b, r12b
jne 0x140012b63
test sil, sil
je 0x140012bf3
mov rax, qword [rdi + 0x4908]
test rax, rax
jne 0x140012b8a
mov ecx, dword [rdi + 0x3eb8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.14000b800
test rax, rax
je 0x140012bf3
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4af0], rax
mov qword [rdi + 0x4ae8], rax
xor eax, eax
mov qword [rdi + 0x4b00], rax
mov qword [rdi + 0x4b14], rax
mov qword [rdi + 0x4b0c], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4b08], r12b
add eax, 2
mov dword [rdi + 0x493c], eax
test bpl, bpl
jne 0x140012bd7
test r15b, r15b
je 0x140012bf3
mov ecx, dword [rdi + 0x4ae4]
xor r8d, r8d
or ecx, dword [rdi + 0x4ae0]
mov edx, ebx
and ecx, 0xf800
call fcn.140019080
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4b00]
movss xmm7, dword [0x1400b0954]
movaps xmmword [rsp + 0x20], xmm8
mov r12, qword [rsp + 0x68]
movss dword [rdi + 0x4b00], xmm0
cmp qword [rdi + 0x4ae8], r13
je 0x140012cfb
cmp dword [rdi + 0x493c], 3
jne 0x140012cfb
subss xmm0, dword [0x1400b091c]
divss xmm0, dword [0x1400b090c]
comiss xmm6, xmm0
jbe 0x140012c4f
movaps xmm1, xmm6
jmp 0x140012c56
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4b04]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x273
lea r8d, [rdx + 1]
movss dword [rdi + 0x4b04], xmm8
call fcn.14000e6f0
xor edx, edx
movzx ebx, al
mov ecx, 0x274
lea r8d, [rdx + 1]
call fcn.14000e6f0
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x140012cae
mov ecx, eax
call fcn.140013220
mov dword [rdi + 0x4b04], 0x3f800000
movaps xmm8, xmm7
mov rax, qword [0x1403aa1b0]
cmp byte [rax + 0x34d4], r13b
je 0x140012cc7
cmp byte [rax + 0x44bc], r13b
je 0x140012cfb
comiss xmm7, xmm8
seta al
and byte [rdi + 0x4b08], al
je 0x140012ce9
cmp qword [rdi + 0x4908], r13
je 0x140012cf0
mov byte [rsp + 0x90], 1
jmp 0x140012cf0
mov r13, qword [rdi + 0x4ae8]
mov qword [rdi + 0x4ae8], 0
cmp qword [rdi + 0x4ae8], 0
je 0x140012db1
cmp dword [rdi + 0x493c], 2
jne 0x140012db1
mov eax, dword [rdi + 0x4ae0]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4b00]
test eax, eax
subss xmm0, dword [0x1400b091c]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4ae4]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x1400b090c]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x140012d62
movaps xmm7, xmm6
jmp 0x140012d66
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x4b04]
maxss xmm0, xmm7
movss dword [rdi + 0x4b04], xmm0
test bpl, bpl
jne 0x140012d9e
test r15b, r15b
jne 0x140012d9e
mov eax, dword [rdi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x140012db1
mov r13, qword [rdi + 0x4ae8]
jmp 0x140012db1
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140013220
mov r15, qword [rsp + 0x50]
test r14b, r14b
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0xa0]
je 0x140012def
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.14000e6f0
test al, al
je 0x140012def
mov byte [rdi + 0x4b08], 1
mov dword [rdi + 0x493c], 2
cmp byte [rdi + 0x4b08], 0
je 0x140012f2b
cmp dword [rdi + 0x493c], 2
jne 0x140012f2b
cmp dword [rdi + 0x37b8], 0
jg 0x140012e3d
cmp byte [rdi + 0xe1c], 0
jne 0x140012e3d
cmp byte [rdi + 0xe1d], 0
jne 0x140012e3d
cmp byte [rdi + 0xe1f], 0
jne 0x140012e3d
mov rax, qword [0x1403aa1b0]
cmp dword [rax + 0x4628], 0xffffffff
je 0x140012e44
mov byte [rdi + 0x4b08], 0
mov rax, qword [0x1403aa1b0]
comiss xmm6, dword [rax + 0x36cc]
ja 0x140012f0b
cmp byte [rax + 0x36c4], 0
jne 0x140012f0b
cmp byte [rax + 0x4630], 0
jne 0x140012f24
cmp byte [rdi + 0x4b08], 0
je 0x140012f0b
cmp dword [rdi + 0x3f68], 0
je 0x140012e91
cmp byte [rdi + 0x3f75], 0
je 0x140012f0b
lea rax, [rdi + 0x36e8]
test rax, rax
jne 0x140012eaa
mov rax, qword [0x1403aa1b0]
add rax, 0xe00
movss xmm0, dword [rax]
movss xmm1, dword [0x1400b09cc]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140012ec9
comiss xmm2, xmm1
jb 0x140012ec9
mov cl, 1
jmp 0x140012ecb
xor cl, cl
lea rax, [rdi + 0xe00]
test rax, rax
jne 0x140012ee4
mov rax, qword [0x1403aa1b0]
add rax, 0xe00
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140012efb
comiss xmm2, xmm1
jb 0x140012efb
mov al, 1
jmp 0x140012efd
xor al, al
cmp al, cl
jne 0x140012f0b
mov byte [rsp + 0x90], 1
jmp 0x140012f24
mov rax, qword [0x1403aa1b0]
cmp byte [rax + 0x36c4], 0
je 0x140012f24
cmp byte [rax + 0x4630], 0
je 0x140012f2b
mov byte [rdi + 0x4b08], 0
mov rax, qword [rdi + 0x4ae8]
test rax, rax
je 0x1400130a4
test byte [rax + 0x14], 4
jne 0x1400130a4
mov eax, dword [rdi + 0x493c]
movaps xmm2, xmm6
movaps xmm3, xmm6
cmp eax, 2
jne 0x140012f88
cmp byte [rdi + 0xe1d], 0
jne 0x140012fb4
mov rax, qword [0x1403aa1b0]
movss xmm2, dword [rax + 0x2e50]
movss xmm3, dword [rax + 0x2e70]
subss xmm2, dword [rax + 0x2e40]
subss xmm3, dword [rax + 0x2e60]
jmp 0x140012fb4
cmp eax, 3
jne 0x140012fb4
mov rax, qword [0x1403aa1b0]
movss xmm2, dword [rax + 0x35d0]
movss xmm3, dword [rax + 0x35f0]
subss xmm2, dword [rax + 0x35c0]
subss xmm3, dword [rax + 0x35e0]
ucomiss xmm2, xmm6
jp 0x140012fc6
jne 0x140012fc6
ucomiss xmm3, xmm6
jp 0x140012fc6
je 0x1400130a4
movss xmm1, dword [rdi + 0x50]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm7, xmm7
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1400b09b8]
mov byte [rdi + 0x4953], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4b0c]
addss xmm3, dword [rdi + 0x4b10]
cvttss2si eax, xmm2
movss dword [rdi + 0x4b0c], xmm2
movss dword [rdi + 0x4b10], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm6
cvtsi2ss xmm7, eax
jp 0x140013037
jne 0x140013037
ucomiss xmm7, xmm6
jp 0x140013037
je 0x1400130a4
mov rax, qword [rdi + 0x4ae8]
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.1400196c0
movss xmm0, dword [rdi + 0x4b0c]
movss xmm1, dword [rdi + 0x4b10]
subss xmm0, xmm8
subss xmm1, xmm7
movss dword [rdi + 0x4b0c], xmm0
movss dword [rdi + 0x4b10], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test r13, r13
je 0x140013142
mov rax, qword [rdi + 0x4908]
test rax, rax
je 0x1400130d2
cmp r13, qword [rax + 0x378]
je 0x140013137
xor edx, edx
xor ecx, ecx
call fcn.140018ac0
mov rax, qword [0x1403aa1b0]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4951], 1
mov byte [rax + 0x4953], 1
call fcn.140008bc0
mov edx, 1
mov rcx, r13
call fcn.14000bb60
mov rbx, qword [rdi + 0x4908]
cmp dword [rbx + 0x3a0], 0
jne 0x140013123
xor edx, edx
mov rcx, rbx
call fcn.14000fb40
cmp word [rbx + 0x15e], 2
jne 0x140013137
mov dword [rdi + 0x4940], 1
mov qword [rdi + 0x4ae8], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x140013215
cmp qword [rdi + 0x4908], 0
je 0x140013215
xor edx, edx
xor ecx, ecx
call fcn.140018ac0
mov rbx, qword [rdi + 0x4908]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x1400131a8
test byte [rbx + 0x15c], 2
jne 0x1400131a8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400131a8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140013180
mov rsi, qword [rdi + 0x4908]
cmp rbx, rsi
je 0x1400131c5
xor edx, edx
mov rcx, rbx
call fcn.14000bb60
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x4908]
test byte [rax + 0x15c], 2
je 0x1400131e0
mov ecx, dword [rdi + 0x4940]
xor ecx, 1
jmp 0x1400131e2
xor ecx, ecx
cmp ecx, dword [rdi + 0x4940]
je 0x140013215
cmp ecx, 1
jne 0x1400131f9
mov dword [rax + 0x3a4], 0
call fcn.1400107b0
mov rax, qword [0x1403aa1b0]
mov word [rax + 0x4951], 1
mov byte [rax + 0x4953], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret