Function at 0x140018000
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d17c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 + 8], rbp
xor r9d, r9d
mov rbp, qword [0x140107c10]
mov qword [r11 + 0x10], r12
mov rdi, rbp
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov eax, dword [rbp + 0x4af0]
sub eax, 1
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [r11 - 0x58], xmm8
mov qword [rsp + 0x28], r9
mov byte [rsp + 0x24], r9b
js 0x14001808f
movsxd rdx, eax
mov rax, qword [rbp + 0x4af8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x140018085
test dword [rsi + 0x14], 0x8000000
jne 0x140018153
sub r8, 0x38
sub rdx, 1
jns 0x140018070
mov rsi, r9
xorps xmm8, xmm8
cmp qword [rbp + 0x4d08], r9
je 0x1400180e5
cmp qword [rbp + 0x4d00], r9
jne 0x1400180e5
comiss xmm8, dword [rbp + 0x4d38]
movss xmm0, dword [rbp + 0x18]
movss xmm1, dword [rbp + 0x4d1c]
mulss xmm0, dword [0x1400bf290]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbp + 0x4d1c], xmm1
jb 0x1400180e5
comiss xmm8, xmm1
jb 0x1400180e5
mov qword [rbp + 0x4d08], r9
mov ebp, 0xffffffff
lea rdx, [0x1400b9779]
mov ebx, ebp
lea r9, [0x1400b9cd0]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x140018112
cmp byte [rdx], r8b
jne 0x140018112
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 0x140018100
mov r12d, dword [rdi + 8]
not ebx
mov rbp, qword [0x140107c10]
movzx eax, r12b
test r12b, 2
je 0x14001815f
test byte [rdi + 0xc], 1
je 0x14001815f
mov byte [rsp + 0x20], 1
jmp 0x140018168
mov qword [rbp + 0x4d00], r9
jmp 0x140018092
mov byte [rsp + 0x20], 0
movzx r12d, al
and r12b, 1
mov qword [rsp + 0xb0], r13
test rsi, rsi
jne 0x1400181ee
mov r14d, dword [rdi + 0x4cf8]
test r14d, r14d
je 0x1400181ee
lea eax, [rbx + 1]
mov r15d, ebx
test eax, 0xfffffffe
jne 0x1400181a1
lea eax, [rbx - 1]
cmp eax, 0xfffffffd
jbe 0x1400181a1
mov r15d, dword [rbp + 0x4990]
mov r8d, r15d
mov edx, 0x2001
mov ecx, r14d
call fcn.140010e80
test al, al
je 0x1400181e7
mov r8d, r15d
mov edx, 0x2021
mov ecx, r14d
call fcn.1400133e0
test al, al
je 0x1400181e7
and r14d, 0xf000
mov edx, r15d
mov ecx, r14d
call fcn.140013330
mov rbp, qword [0x140107c10]
mov r13b, 1
jmp 0x1400181f6
mov rbp, qword [0x140107c10]
xor r13b, r13b
test rsi, rsi
jne 0x14001826b
mov r14d, dword [rdi + 0x4cfc]
test r14d, r14d
je 0x14001826b
lea eax, [rbx + 1]
mov r15d, ebx
test eax, 0xfffffffe
jne 0x14001821e
lea eax, [rbx - 1]
cmp eax, 0xfffffffd
jbe 0x14001821e
mov r15d, dword [rbp + 0x4990]
mov r8d, r15d
mov edx, 0x2001
mov ecx, r14d
call fcn.140010e80
test al, al
je 0x140018264
mov r8d, r15d
mov edx, 0x2021
mov ecx, r14d
call fcn.1400133e0
test al, al
je 0x140018264
and r14d, 0xf000
mov edx, r15d
mov ecx, r14d
call fcn.140013330
mov rbp, qword [0x140107c10]
mov r14b, 1
jmp 0x140018273
mov rbp, qword [0x140107c10]
xor r14b, r14b
test rsi, rsi
jne 0x14001829c
cmp byte [rsp + 0x20], 0
je 0x14001829c
cmp qword [rdi + 0x4d00], 0
jne 0x14001829c
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.140011220
test al, al
je 0x14001829c
mov r15b, 1
jmp 0x1400182a4
xor r15b, r15b
test rsi, rsi
jne 0x1400182bd
cmp qword [rdi + 0x4d00], 0
jne 0x1400182bd
test r13b, r13b
jne 0x1400182b8
test r14b, r14b
je 0x1400182bd
mov sil, 1
jmp 0x1400182c0
xor sil, sil
test r15b, r15b
jne 0x1400182ce
test sil, sil
je 0x14001835d
mov rax, qword [rdi + 0x4b30]
test rax, rax
jne 0x1400182f7
mov ecx, dword [rdi + 0x3fc0]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.140017ed0
test rax, rax
je 0x14001835d
mov rax, qword [rax + 0x390]
mov qword [rdi + 0x4d08], rax
mov qword [rdi + 0x4d00], rax
xor eax, eax
mov qword [rdi + 0x4d18], rax
mov qword [rdi + 0x4d30], rax
mov qword [rdi + 0x4d28], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4d20], r15b
add eax, 2
mov dword [rdi + 0x4b7c], eax
test r13b, r13b
jne 0x140018344
test r14b, r14b
je 0x14001835d
mov ecx, dword [rdi + 0x4cfc]
mov edx, ebx
or ecx, dword [rdi + 0x4cf8]
and ecx, 0xf000
call fcn.140013330
cmp qword [rdi + 0x4d00], 0
mov r15d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4d18]
movss xmm6, dword [0x1400bf254]
movss dword [rdi + 0x4d18], xmm0
je 0x140018518
cmp dword [rdi + 0x4b7c], 3
jne 0x140018460
subss xmm0, dword [0x1400bf1f8]
movaps xmmword [rsp + 0x50], xmm7
divss xmm0, dword [0x1400bf1e0]
comiss xmm8, xmm0
jbe 0x1400183bc
movaps xmm1, xmm8
jmp 0x1400183c3
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x4d1c]
xor r8d, r8d
maxss xmm7, xmm1
mov edx, r15d
mov ecx, 0x282
movss dword [rdi + 0x4d1c], xmm7
call fcn.140011220
xor r8d, r8d
movzx ebx, al
mov edx, r15d
mov ecx, 0x281
call fcn.140011220
movzx ecx, al
sub ecx, ebx
je 0x140018413
call fcn.140017f60
mov dword [rdi + 0x4d1c], 0x3f800000
movaps xmm7, xmm6
cmp byte [rbp + 0x28ac], 0
je 0x140018425
cmp byte [rbp + 0x46a0], 0
je 0x14001845b
comiss xmm6, xmm7
seta al
and byte [rdi + 0x4d20], al
je 0x140018444
cmp qword [rdi + 0x4b30], 0
je 0x140018450
mov byte [rsp + 0x24], r15b
jmp 0x140018450
mov rax, qword [rdi + 0x4d00]
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x4d00], 0
movaps xmm7, xmmword [rsp + 0x50]
cmp qword [rdi + 0x4d00], 0
je 0x140018518
cmp dword [rdi + 0x4b7c], 2
jne 0x140018518
mov eax, dword [rdi + 0x4cf8]
mov ecx, 0xf000
movss xmm0, dword [rdi + 0x4d18]
test eax, eax
subss xmm0, dword [0x1400bf1f8]
cmovne ecx, eax
mov edx, 0xf000
mov eax, dword [rdi + 0x4cfc]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x1400bf1e0]
and edx, ecx
mov ecx, edx
and ecx, 0xf000
comiss xmm8, xmm0
jbe 0x1400184c9
movaps xmm6, xmm8
jmp 0x1400184cd
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4d1c]
maxss xmm0, xmm6
movss dword [rdi + 0x4d1c], xmm0
test r13b, r13b
jne 0x140018505
test r14b, r14b
jne 0x140018505
mov eax, dword [rdi + 0x118]
and eax, edx
and eax, 0xf000
cmp eax, ecx
je 0x140018518
mov r14, qword [rdi + 0x4d00]
jmp 0x14001851d
movzx ecx, r13b
xor ecx, r15d
lea ecx, [rcx*2 - 1]
call fcn.140017f60
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0xb0]
lea rbx, [rsp + 0x30]
mov esi, 0x211
mov dword [rsp + 0x34], 0x215
mov dword [rsp + 0x30], esi
nop dword [rax + rax]
test r12b, r12b
je 0x140018558
xor edx, edx
mov r8d, 0xffffffff
mov ecx, esi
call fcn.140011220
test al, al
jne 0x14001856a
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x140018581
mov esi, dword [rbx]
jmp 0x140018540
mov byte [rdi + 0x4d20], r15b
mov dword [rdi + 0x4d24], esi
mov dword [rdi + 0x4b7c], 2
cmp byte [rdi + 0x4d20], 0
mov r12, qword [rsp + 0xa8]
je 0x140018741
cmp dword [rdi + 0x4b7c], 2
jne 0x140018741
cmp dword [rdi + 0x2b90], 0
jg 0x1400185c7
cmp byte [rdi + 0x114], 0
jne 0x1400185c7
cmp byte [rdi + 0x115], 0
jne 0x1400185c7
cmp byte [rdi + 0x117], 0
je 0x1400185ce
mov byte [rdi + 0x4d20], 0
mov ecx, dword [rdi + 0x4d24]
lea eax, [rcx - 0x200]
cmp eax, 0x99
jbe 0x140018601
cmp ecx, 0x1000
je 0x140018601
cmp ecx, 0x2000
je 0x140018601
cmp ecx, 0x4000
je 0x140018601
cmp ecx, 0x8000
jne 0x140018675
cmp byte [rbp + 0x4984], 0
je 0x14001861e
cmp dword [rbp + 0x4074], 0xffffffff
je 0x14001861e
lea eax, [rcx - 0x200]
cmp eax, 0x76
jbe 0x14001867e
test ecx, 0xf000
je 0x140018661
cmp ecx, 0x1000
jne 0x140018635
mov ecx, 0x296
jmp 0x140018661
cmp ecx, 0x2000
jne 0x140018644
mov ecx, 0x297
jmp 0x140018661
cmp ecx, 0x4000
jne 0x140018653
mov ecx, 0x298
jmp 0x140018661
cmp ecx, 0x8000
mov eax, 0x299
cmove ecx, eax
movsxd rax, ecx
add rax, 0x369
lea rax, [rax + rax*2]
cmp dword [rbp + rax*4], 0xffffffff
jne 0x14001867e
cmp dword [rbp + 0x480c], 0xffffffff
je 0x140018685
mov byte [rdi + 0x4d20], 0
mov ecx, dword [rdi + 0x4d24]
call fcn.140011390
test al, al
je 0x14001872c
cmp byte [rdi + 0x4d20], 0
je 0x14001872c
cmp dword [rdi + 0x4074], 0
je 0x1400186b7
cmp byte [rdi + 0x4081], 0
je 0x14001872c
lea rax, [rdi + 0xf8]
test rax, rax
jne 0x1400186ca
lea rax, [rbp + 0xf8]
movss xmm0, dword [rax]
movss xmm1, dword [0x1400bf328]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400186eb
comiss xmm2, xmm1
jb 0x1400186eb
movzx ecx, r15b
jmp 0x1400186ed
xor cl, cl
lea rax, [rdi + 0x2ac0]
test rax, rax
jne 0x140018700
lea rax, [rbp + 0xf8]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140018719
comiss xmm2, xmm1
jb 0x140018719
movzx eax, r15b
jmp 0x14001871b
xor al, al
mov edx, dword [rsp + 0x24]
cmp cl, al
movzx edx, dl
cmove edx, r15d
mov dword [rsp + 0x24], edx
mov ecx, dword [rdi + 0x4d24]
call fcn.140011160
test al, al
jne 0x140018741
mov byte [rdi + 0x4d20], al
mov rax, qword [rdi + 0x4d00]
test rax, rax
je 0x1400188a1
test byte [rax + 0x14], 4
jne 0x1400188a1
mov eax, dword [rdi + 0x4b7c]
movaps xmm2, xmm8
movaps xmm3, xmm8
cmp eax, 2
jne 0x140018799
cmp byte [rdi + 0x115], 0
jne 0x1400187be
movss xmm3, dword [rbp + 0x2168]
movss xmm2, dword [rbp + 0x2148]
subss xmm3, dword [rbp + 0x2158]
subss xmm2, dword [rbp + 0x2138]
jmp 0x1400187be
cmp eax, 3
jne 0x1400187be
movss xmm3, dword [rbp + 0x29c8]
movss xmm2, dword [rbp + 0x29a8]
subss xmm3, dword [rbp + 0x29b8]
subss xmm2, dword [rbp + 0x2998]
ucomiss xmm2, xmm8
jp 0x1400187d2
jne 0x1400187d2
ucomiss xmm3, xmm8
jp 0x1400187d2
je 0x1400188a1
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1400bf2f4]
mov byte [rdi + 0x4b93], r15b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4d28]
addss xmm3, dword [rdi + 0x4d2c]
cvttss2si eax, xmm2
movss dword [rdi + 0x4d28], xmm2
movss dword [rdi + 0x4d2c], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm8
cvtsi2ss xmm5, eax
jp 0x140018842
jne 0x140018842
ucomiss xmm5, xmm8
jp 0x140018842
je 0x1400188a1
mov rax, qword [rdi + 0x4d00]
lea rdx, [rsp + 0x28]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, r15d
mov rcx, qword [rax + 0x390]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.14000ffe0
movss xmm0, dword [rdi + 0x4d2c]
movss xmm4, dword [rdi + 0x4d28]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4d2c], xmm0
movss dword [rdi + 0x4d28], xmm4
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0xa0]
test r14, r14
je 0x140018938
mov rax, qword [rdi + 0x4b30]
test rax, rax
je 0x1400188ce
cmp r14, qword [rax + 0x390]
je 0x14001892d
xor edx, edx
xor ecx, ecx
call fcn.140006db0
mov rax, qword [0x140107c10]
xor edx, edx
mov rcx, r14
mov word [rax + 0x4b91], r15w
mov byte [rax + 0x4b93], r15b
call fcn.1400143d0
mov edx, r15d
mov rcx, r14
call fcn.14000fa70
mov rbx, qword [rdi + 0x4b30]
cmp dword [rbx + 0x3c0], 0
jne 0x14001891c
xor edx, edx
mov rcx, rbx
call fcn.140015c40
cmp word [rbx + 0x176], 2
jne 0x14001892d
mov dword [rdi + 0x4b80], r15d
mov qword [rdi + 0x4d00], 0
cmp byte [rsp + 0x24], 0
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
je 0x140018a15
cmp qword [rdi + 0x4b30], 0
je 0x140018a15
xor edx, edx
xor ecx, ecx
call fcn.140006db0
mov rbx, qword [rdi + 0x4b30]
lea rcx, [rbx + 0x380]
cmp qword [rcx], 0
je 0x1400189a8
nop dword [rax + rax]
test byte [rbx + 0x174], 2
jne 0x1400189a8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400189a8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x380]
cmp qword [rcx], 0
jne 0x140018980
mov rsi, qword [rdi + 0x4b30]
cmp rbx, rsi
je 0x1400189c5
xor edx, edx
mov rcx, rbx
call fcn.14000fa70
mov qword [rbx + 0x3b8], rsi
mov rax, qword [rdi + 0x4b30]
test byte [rax + 0x174], 2
je 0x1400189e0
mov ecx, dword [rdi + 0x4b80]
xor ecx, 1
jmp 0x1400189e2
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b80]
je 0x140018a15
cmp ecx, 1
jne 0x1400189f9
mov dword [rax + 0x3c4], 0
call fcn.140015b80
mov rax, qword [0x140107c10]
mov word [rax + 0x4b91], 1
mov byte [rax + 0x4b93], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a2e40
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret