Function at 0x140052690
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x14047a488]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov eax, dword [rdi + 0x48a0]
sub eax, 1
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x14005270f
movsxd rdx, eax
mov rax, qword [rdi + 0x48a8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x140052705
test dword [rsi + 0x14], 0x8000000
jne 0x1400527d3
sub r8, 0x38
sub rdx, 1
jns 0x1400526f0
mov rsi, r9
xorps xmm6, xmm6
cmp qword [rdi + 0x4a48], r9
je 0x140052761
cmp qword [rdi + 0x4a40], r9
jne 0x140052761
comiss xmm6, dword [rdi + 0x4a74]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a5c]
mulss xmm0, dword [0x140135488]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x4a5c], xmm1
jb 0x140052761
comiss xmm6, xmm1
jb 0x140052761
mov qword [rdi + 0x4a48], r9
mov r13d, 0xffffffff
lea rdx, [0x140135209]
mov ebx, r13d
lea r9, [0x140133b10]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x140052793
cmp byte [rdx], r8b
jne 0x140052793
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 0x140052780
mov r14d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
movzx eax, r14b
test r14b, 2
je 0x1400527df
test byte [rdi + 0xc], 1
je 0x1400527df
mov r12b, 1
jmp 0x1400527e6
mov qword [rdi + 0x4a40], r9
jmp 0x140052712
xor r12b, r12b
movzx r14d, al
and r14b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], r15
test rsi, rsi
jne 0x14005281c
mov ecx, dword [rdi + 0x4a38]
test ecx, ecx
je 0x14005281c
mov r8d, 0x1001
mov edx, ebx
call fcn.140059d20
test al, al
je 0x14005281c
mov bpl, 1
jmp 0x140052824
xor bpl, bpl
test rsi, rsi
jne 0x140052844
mov ecx, dword [rdi + 0x4a3c]
test ecx, ecx
je 0x140052844
mov r8d, 0x1001
mov edx, ebx
call fcn.140059d20
test al, al
je 0x140052844
mov r15b, 1
jmp 0x14005284c
xor r15b, r15b
test rsi, rsi
jne 0x140052872
test r12b, r12b
je 0x140052872
cmp qword [rdi + 0x4a40], r13
jne 0x140052872
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.14004e2d0
test al, al
je 0x140052872
mov r12b, 1
jmp 0x14005287a
xor r12b, r12b
test rsi, rsi
jne 0x140052892
cmp qword [rdi + 0x4a40], r13
jne 0x140052892
test bpl, bpl
jne 0x14005288d
test r15b, r15b
je 0x140052892
mov sil, 1
jmp 0x140052895
xor sil, sil
test r12b, r12b
jne 0x1400528a3
test sil, sil
je 0x140052933
mov rax, qword [rdi + 0x48d8]
test rax, rax
jne 0x1400528ca
mov ecx, dword [rdi + 0x3ea8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.14004b350
test rax, rax
je 0x140052933
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a48], rax
mov qword [rdi + 0x4a40], rax
xor eax, eax
mov qword [rdi + 0x4a58], rax
mov qword [rdi + 0x4a6c], rax
mov qword [rdi + 0x4a64], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a60], r12b
add eax, 2
mov dword [rdi + 0x490c], eax
test bpl, bpl
jne 0x140052917
test r15b, r15b
je 0x140052933
mov ecx, dword [rdi + 0x4a3c]
xor r8d, r8d
or ecx, dword [rdi + 0x4a38]
mov edx, ebx
and ecx, 0xf800
call fcn.140059450
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4a58]
movss xmm7, dword [0x140135458]
movaps xmmword [rsp + 0x20], xmm8
mov r12, qword [rsp + 0x68]
movss dword [rdi + 0x4a58], xmm0
cmp qword [rdi + 0x4a40], r13
je 0x140052a3b
cmp dword [rdi + 0x490c], 3
jne 0x140052a3b
subss xmm0, dword [0x140135420]
divss xmm0, dword [0x14013540c]
comiss xmm6, xmm0
jbe 0x14005298f
movaps xmm1, xmm6
jmp 0x140052996
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4a5c]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x273
lea r8d, [rdx + 1]
movss dword [rdi + 0x4a5c], xmm8
call fcn.14004e2d0
xor edx, edx
movzx ebx, al
mov ecx, 0x274
lea r8d, [rdx + 1]
call fcn.14004e2d0
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x1400529ee
mov ecx, eax
call fcn.140052f60
mov dword [rdi + 0x4a5c], 0x3f800000
movaps xmm8, xmm7
mov rax, qword [0x14047a488]
cmp byte [rax + 0x34dc], r13b
je 0x140052a07
cmp byte [rax + 0x44ac], r13b
je 0x140052a3b
comiss xmm7, xmm8
seta al
and byte [rdi + 0x4a60], al
je 0x140052a29
cmp qword [rdi + 0x48d8], r13
je 0x140052a30
mov byte [rsp + 0x90], 1
jmp 0x140052a30
mov r13, qword [rdi + 0x4a40]
mov qword [rdi + 0x4a40], 0
cmp qword [rdi + 0x4a40], 0
je 0x140052af1
cmp dword [rdi + 0x490c], 2
jne 0x140052af1
mov eax, dword [rdi + 0x4a38]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a58]
test eax, eax
subss xmm0, dword [0x140135420]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4a3c]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x14013540c]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x140052aa2
movaps xmm7, xmm6
jmp 0x140052aa6
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x4a5c]
maxss xmm0, xmm7
movss dword [rdi + 0x4a5c], xmm0
test bpl, bpl
jne 0x140052ade
test r15b, r15b
jne 0x140052ade
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x140052af1
mov r13, qword [rdi + 0x4a40]
jmp 0x140052af1
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140052f60
mov r15, qword [rsp + 0x50]
test r14b, r14b
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0xa0]
je 0x140052b2f
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.14004e2d0
test al, al
je 0x140052b2f
mov byte [rdi + 0x4a60], 1
mov dword [rdi + 0x490c], 2
cmp byte [rdi + 0x4a60], 0
je 0x140052c6b
cmp dword [rdi + 0x490c], 2
jne 0x140052c6b
cmp dword [rdi + 0x37c0], 0
jg 0x140052b7d
cmp byte [rdi + 0xe24], 0
jne 0x140052b7d
cmp byte [rdi + 0xe25], 0
jne 0x140052b7d
cmp byte [rdi + 0xe27], 0
jne 0x140052b7d
mov rax, qword [0x14047a488]
cmp dword [rax + 0x4618], 0xffffffff
je 0x140052b84
mov byte [rdi + 0x4a60], 0
mov rax, qword [0x14047a488]
comiss xmm6, dword [rax + 0x36d4]
ja 0x140052c4b
cmp byte [rax + 0x36cc], 0
jne 0x140052c4b
cmp byte [rax + 0x4620], 0
jne 0x140052c64
cmp byte [rdi + 0x4a60], 0
je 0x140052c4b
cmp dword [rdi + 0x3f58], 0
je 0x140052bd1
cmp byte [rdi + 0x3f65], 0
je 0x140052c4b
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x140052bea
mov rax, qword [0x14047a488]
add rax, 0xe08
movss xmm0, dword [rax]
movss xmm1, dword [0x1401354d8]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140052c09
comiss xmm2, xmm1
jb 0x140052c09
mov cl, 1
jmp 0x140052c0b
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x140052c24
mov rax, qword [0x14047a488]
add rax, 0xe08
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140052c3b
comiss xmm2, xmm1
jb 0x140052c3b
mov al, 1
jmp 0x140052c3d
xor al, al
cmp al, cl
jne 0x140052c4b
mov byte [rsp + 0x90], 1
jmp 0x140052c64
mov rax, qword [0x14047a488]
cmp byte [rax + 0x36cc], 0
je 0x140052c64
cmp byte [rax + 0x4620], 0
je 0x140052c6b
mov byte [rdi + 0x4a60], 0
mov rax, qword [rdi + 0x4a40]
test rax, rax
je 0x140052de4
test byte [rax + 0x14], 4
jne 0x140052de4
mov eax, dword [rdi + 0x490c]
movaps xmm2, xmm6
movaps xmm3, xmm6
cmp eax, 2
jne 0x140052cc8
cmp byte [rdi + 0xe25], 0
jne 0x140052cf4
mov rax, qword [0x14047a488]
movss xmm2, dword [rax + 0x2e58]
movss xmm3, dword [rax + 0x2e78]
subss xmm2, dword [rax + 0x2e48]
subss xmm3, dword [rax + 0x2e68]
jmp 0x140052cf4
cmp eax, 3
jne 0x140052cf4
mov rax, qword [0x14047a488]
movss xmm2, dword [rax + 0x35d8]
movss xmm3, dword [rax + 0x35f8]
subss xmm2, dword [rax + 0x35c8]
subss xmm3, dword [rax + 0x35e8]
ucomiss xmm2, xmm6
jp 0x140052d06
jne 0x140052d06
ucomiss xmm3, xmm6
jp 0x140052d06
je 0x140052de4
movss xmm1, dword [rdi + 0x70]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm7, xmm7
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x1401354c4]
mov byte [rdi + 0x4917], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a64]
addss xmm3, dword [rdi + 0x4a68]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a64], xmm2
movss dword [rdi + 0x4a68], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm6
cvtsi2ss xmm7, eax
jp 0x140052d77
jne 0x140052d77
ucomiss xmm7, xmm6
jp 0x140052d77
je 0x140052de4
mov rax, qword [rdi + 0x4a40]
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.140059ab0
movss xmm0, dword [rdi + 0x4a64]
movss xmm1, dword [rdi + 0x4a68]
subss xmm0, xmm8
subss xmm1, xmm7
movss dword [rdi + 0x4a64], xmm0
movss dword [rdi + 0x4a68], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test r13, r13
je 0x140052e82
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140052e12
cmp r13, qword [rax + 0x378]
je 0x140052e77
xor edx, edx
xor ecx, ecx
call fcn.140058ca0
mov rax, qword [0x14047a488]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
call fcn.140047df0
mov edx, 1
mov rcx, r13
call fcn.14004b500
mov rbx, qword [rdi + 0x48d8]
cmp dword [rbx + 0x3a0], 0
jne 0x140052e63
xor edx, edx
mov rcx, rbx
call fcn.14004f890
cmp word [rbx + 0x15e], 2
jne 0x140052e77
mov dword [rdi + 0x4910], 1
mov qword [rdi + 0x4a40], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x140052f55
cmp qword [rdi + 0x48d8], 0
je 0x140052f55
xor edx, edx
xor ecx, ecx
call fcn.140058ca0
mov rbx, qword [rdi + 0x48d8]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x140052ee8
test byte [rbx + 0x15c], 2
jne 0x140052ee8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140052ee8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140052ec0
mov rsi, qword [rdi + 0x48d8]
cmp rbx, rsi
je 0x140052f05
xor edx, edx
mov rcx, rbx
call fcn.14004b500
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48d8]
test byte [rax + 0x15c], 2
je 0x140052f20
mov ecx, dword [rdi + 0x4910]
xor ecx, 1
jmp 0x140052f22
xor ecx, ecx
cmp ecx, dword [rdi + 0x4910]
je 0x140052f55
cmp ecx, 1
jne 0x140052f39
mov dword [rax + 0x3a4], 0
call fcn.140050550
mov rax, qword [0x14047a488]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret