Function at 0x18001ad50
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rdi, qword [0x18015fa70]
xor r9d, r9d
mov qword [rax + 0x20], rbp
mov qword [rax - 0x28], r13
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movsxd rax, dword [rdi + 0x4aa0]
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], r9
mov byte [rsp + 0xa0], r9b
test eax, eax
jle 0x18001addf
lea rdx, [rax - 1]
mov rax, qword [rdi + 0x4aa8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop word [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x18001add5
test dword [rsi + 0x14], 0x8000000
jne 0x18001aea3
sub r8, 0x38
sub rdx, 1
jns 0x18001adc0
mov rax, qword [rdi + 0x4cc8]
mov rsi, r9
xorps xmm8, xmm8
cmp qword [rdi + 0x4cd0], r9
je 0x18001ae38
test rax, rax
jne 0x18001ae38
comiss xmm8, dword [rdi + 0x4cfc]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4ce4]
mulss xmm0, dword [0x1800f4e34]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rdi + 0x4ce4], xmm1
jb 0x18001ae38
comiss xmm8, xmm1
jb 0x18001ae38
mov qword [rdi + 0x4cd0], r9
mov edi, 0xffffffff
lea rdx, [0x1800e9a61]
mov ebx, edi
lea r9, [0x1800ea3b0]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x18001ae62
cmp byte [rdx], r8b
jne 0x18001ae62
cmp byte [rdx + 1], r8b
cmove ebx, edi
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 0x18001ae50
mov rdi, qword [rsp + 0xb0]
not ebx
mov qword [rsp + 0x68], r14
mov r13d, dword [rdi + 8]
test r13b, 2
je 0x18001aeb2
test byte [rdi + 0xc], 1
je 0x18001aeb2
mov r14b, 1
jmp 0x18001aeb5
mov qword [rdi + 0x4cc8], r9
mov rax, r9
jmp 0x18001ade9
xor r14b, r14b
and r13b, 1
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x60], r15
test rsi, rsi
jne 0x18001aefd
mov ebp, dword [rdi + 0x4cc0]
test ebp, ebp
je 0x18001aefd
mov r8d, 0x1101
mov edx, ebx
mov ecx, ebp
call fcn.180011d80
test al, al
je 0x18001aefd
mov r8d, 0x1101
mov edx, ebx
mov ecx, ebp
call fcn.180014540
test al, al
je 0x18001aefd
mov r15b, 1
jmp 0x18001af05
xor r15b, r15b
test rsi, rsi
jne 0x18001af3a
mov ebp, dword [rdi + 0x4cc4]
test ebp, ebp
je 0x18001af3a
mov r8d, 0x1101
mov edx, ebx
mov ecx, ebp
call fcn.180011d80
test al, al
je 0x18001af3a
mov r8d, 0x1101
mov edx, ebx
mov ecx, ebp
call fcn.180014540
test al, al
je 0x18001af3a
mov r12b, 1
jmp 0x18001af42
xor r12b, r12b
test rsi, rsi
jne 0x18001af69
test r14b, r14b
je 0x18001af69
cmp qword [rdi + 0x4cc8], 0
jne 0x18001af69
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.180011f00
test al, al
je 0x18001af69
mov bpl, 1
jmp 0x18001af71
xor bpl, bpl
test rsi, rsi
jne 0x18001af8a
cmp qword [rdi + 0x4cc8], 0
jne 0x18001af8a
test r15b, r15b
jne 0x18001af85
test r12b, r12b
je 0x18001af8a
mov sil, 1
jmp 0x18001af8d
xor sil, sil
test bpl, bpl
jne 0x18001af9b
test sil, sil
je 0x18001b02b
mov rax, qword [rdi + 0x4ae8]
test rax, rax
jne 0x18001afc2
mov ecx, dword [rdi + 0x3fb8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.18001abe0
test rax, rax
je 0x18001b02b
mov rax, qword [rax + 0x388]
xor r14d, r14d
mov qword [rdi + 0x4cd0], rax
mov qword [rdi + 0x4cc8], rax
movzx eax, sil
xor eax, 1
mov qword [rdi + 0x4ce0], r14
add eax, 2
mov qword [rdi + 0x4cf4], r14
mov qword [rdi + 0x4cec], r14
mov byte [rdi + 0x4ce8], bpl
mov dword [rdi + 0x4b1c], eax
test r15b, r15b
jne 0x18001b010
test r12b, r12b
je 0x18001b02e
mov ecx, dword [rdi + 0x4cc4]
mov edx, ebx
or ecx, dword [rdi + 0x4cc0]
and ecx, 0xf800
call fcn.180014390
jmp 0x18001b02e
xor r14d, r14d
cmp qword [rdi + 0x4cc8], 0
mov ebp, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4ce0]
movss xmm7, dword [0x1800f4d44]
movss xmm9, dword [0x1800f4d2c]
movss xmm6, dword [0x1800f4d90]
movss dword [rdi + 0x4ce0], xmm0
je 0x18001b20e
cmp dword [rdi + 0x4b1c], 3
jne 0x18001b149
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x18001b091
movaps xmm1, xmm8
jmp 0x18001b098
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm0, dword [rdi + 0x4ce4]
mov r8d, ebp
maxss xmm0, xmm1
xor edx, edx
mov ecx, 0x281
movss dword [rdi + 0x4ce4], xmm0
call fcn.180011f00
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x282
call fcn.180011f00
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x18001b0e7
mov ecx, eax
call fcn.18001ac80
mov dword [rdi + 0x4ce4], 0x3f800000
mov rcx, qword [0x18015fa70]
mov edx, 0x279
call fcn.180011640
cmp byte [rax], 0
je 0x18001b10d
xor edx, edx
mov ecx, 0x279
call fcn.180014250
test al, al
jne 0x18001b149
comiss xmm6, dword [rdi + 0x4ce4]
seta al
and byte [rdi + 0x4ce8], al
je 0x18001b133
cmp qword [rdi + 0x4ae8], 0
je 0x18001b142
mov byte [rsp + 0xa0], bpl
jmp 0x18001b142
mov rax, qword [rdi + 0x4cc8]
mov qword [rsp + 0xa8], rax
mov qword [rdi + 0x4cc8], r14
cmp qword [rdi + 0x4cc8], 0
je 0x18001b20e
cmp dword [rdi + 0x4b1c], 2
jne 0x18001b20e
mov eax, dword [rdi + 0x4cc0]
mov ecx, 0xf800
test eax, eax
mov ebx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4cc4]
test eax, eax
cmovne ebx, eax
and ebx, ecx
and ebx, 0xf800
jne 0x18001b1a8
mov r8d, 0x304b
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.cpp
lea rcx, str.shared_mods___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x4ce0]
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x18001b1c5
movaps xmm6, xmm8
jmp 0x18001b1c9
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4ce4]
maxss xmm0, xmm6
movss dword [rdi + 0x4ce4], xmm0
test r15b, r15b
jne 0x18001b1fc
test r12b, r12b
jne 0x18001b1fc
mov eax, dword [rdi + 0xe68]
and eax, ebx
cmp eax, ebx
je 0x18001b20e
mov rsi, qword [rdi + 0x4cc8]
jmp 0x18001b216
movzx ecx, r15b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.18001ac80
mov rsi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x60]
test r13b, r13b
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
je 0x18001b251
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.180011f00
test al, al
je 0x18001b251
mov byte [rdi + 0x4ce8], bpl
mov dword [rdi + 0x4b1c], 2
cmp byte [rdi + 0x4ce8], 0
je 0x18001b352
cmp dword [rdi + 0x4b1c], 2
jne 0x18001b352
cmp dword [rdi + 0x38e0], 0
jg 0x18001b2a5
cmp byte [rdi + 0xe64], 0
jne 0x18001b2a5
cmp byte [rdi + 0xe65], 0
jne 0x18001b2a5
cmp byte [rdi + 0xe67], 0
jne 0x18001b2a5
mov rcx, qword [0x18015fa70]
mov edx, 0x4000
call fcn.1800025f0
cmp dword [rax], 0xffffffff
je 0x18001b2ac
mov byte [rdi + 0x4ce8], 0
mov rcx, qword [0x18015fa70]
mov edx, 0x4000
call fcn.180011640
comiss xmm8, dword [rax + 8]
ja 0x18001b325
cmp byte [rax], 0
jne 0x18001b325
xor edx, edx
mov ecx, 0x4000
call fcn.180014250
test al, al
je 0x18001b325
cmp byte [rdi + 0x4ce8], 0
je 0x18001b325
cmp dword [rdi + 0x406c], 0
je 0x18001b2f4
cmp byte [rdi + 0x4079], 0
je 0x18001b325
lea rcx, [rdi + 0xe48]
call fcn.1800122f0
lea rcx, [rdi + 0x3810]
movzx ebx, al
call fcn.1800122f0
mov ecx, dword [rsp + 0xa0]
cmp bl, al
movzx ecx, cl
cmove ecx, ebp
mov dword [rsp + 0xa0], ecx
mov rcx, qword [0x18015fa70]
mov edx, 0x4000
call fcn.180011640
cmp byte [rax], 0
je 0x18001b34b
xor edx, edx
mov ecx, 0x4000
call fcn.180014250
test al, al
jne 0x18001b352
mov byte [rdi + 0x4ce8], 0
mov rax, qword [rdi + 0x4cc8]
test rax, rax
je 0x18001b54b
test byte [rax + 0x14], 4
jne 0x18001b54b
mov eax, dword [rdi + 0x4b1c]
movaps xmm2, xmm8
movaps xmm7, xmm8
cmp eax, 2
jne 0x18001b3f4
cmp byte [rdi + 0xe65], 0
jne 0x18001b54b
mov rcx, qword [0x18015fa70]
mov edx, 0x204
call fcn.180011640
mov rcx, qword [0x18015fa70]
mov edx, 0x203
mov rbx, rax
call fcn.180011640
mov rcx, qword [0x18015fa70]
mov edx, 0x202
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.180011640
mov rcx, qword [0x18015fa70]
mov edx, 0x201
mov rbx, rax
call fcn.180011640
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
mov eax, dword [rdi + 0x4b1c]
cmp eax, 3
jne 0x18001b45b
mov rcx, qword [0x18015fa70]
mov edx, 0x28a
call fcn.180011640
mov rcx, qword [0x18015fa70]
mov edx, 0x289
mov rbx, rax
call fcn.180011640
mov rcx, qword [0x18015fa70]
mov edx, 0x288
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.180011640
mov rcx, qword [0x18015fa70]
mov edx, 0x287
mov rbx, rax
call fcn.180011640
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm8
jp 0x18001b46f
jne 0x18001b46f
ucomiss xmm7, xmm8
jp 0x18001b46f
je 0x18001b54b
movss xmm1, dword [rdi + 0x50]
xorps xmm9, xmm9
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1800f4f60]
mov byte [rdi + 0x4b33], bpl
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm7, xmm1
addss xmm2, dword [rdi + 0x4cec]
addss xmm7, dword [rdi + 0x4cf0]
cvttss2si eax, xmm2
movss dword [rdi + 0x4cec], xmm2
movss dword [rdi + 0x4cf0], xmm7
cvtsi2ss xmm9, eax
cvttss2si eax, xmm7
ucomiss xmm9, xmm8
cvtsi2ss xmm6, eax
jp 0x18001b4e1
jne 0x18001b4e1
ucomiss xmm6, xmm8
jp 0x18001b4e1
je 0x18001b54b
mov rax, qword [rdi + 0x4cc8]
lea rdx, [rsp + 0xa8]
movaps xmm0, xmm9
movaps xmm1, xmm6
mov r8d, ebp
mov rcx, qword [rax + 0x388]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0xa8], xmm0
movss dword [rsp + 0xac], xmm1
call fcn.1800110b0
movss xmm0, dword [rdi + 0x4cec]
movss xmm1, dword [rdi + 0x4cf0]
subss xmm0, xmm9
subss xmm1, xmm6
movss dword [rdi + 0x4cec], xmm0
movss dword [rdi + 0x4cf0], xmm1
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
test rsi, rsi
je 0x18001b5de
mov rax, qword [rdi + 0x4ae8]
test rax, rax
je 0x18001b57b
cmp rsi, qword [rax + 0x388]
je 0x18001b5d7
xor edx, edx
xor ecx, ecx
call fcn.180006390
mov rax, qword [0x18015fa70]
xor edx, edx
mov rcx, rsi
mov word [rax + 0x4b31], bp
mov byte [rax + 0x4b33], bpl
call fcn.1800163b0
mov edx, ebp
mov rcx, rsi
call fcn.1800107f0
mov rbx, qword [rdi + 0x4ae8]
cmp dword [rbx + 0x3b0], 0
jne 0x18001b5c7
xor edx, edx
mov rcx, rbx
call fcn.1800180d0
cmp word [rbx + 0x16e], 2
jne 0x18001b5d7
mov dword [rdi + 0x4b20], ebp
mov qword [rdi + 0x4cc8], r14
cmp byte [rsp + 0xa0], 0
mov rbp, qword [rsp + 0xb8]
je 0x18001b6ac
cmp qword [rdi + 0x4ae8], 0
je 0x18001b6ac
xor edx, edx
xor ecx, ecx
call fcn.180006390
mov rsi, qword [rdi + 0x4ae8]
mov rbx, rsi
lea rcx, [rsi + 0x378]
cmp qword [rcx], 0
je 0x18001b64a
test byte [rbx + 0x16c], 2
jne 0x18001b64a
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18001b64a
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x18001b622
cmp rbx, rsi
je 0x18001b667
xor edx, edx
mov rcx, rbx
call fcn.1800107f0
mov qword [rbx + 0x3a8], rsi
mov rsi, qword [rdi + 0x4ae8]
test byte [rsi + 0x16c], 2
mov eax, dword [rdi + 0x4b20]
je 0x18001b67d
mov ecx, eax
xor ecx, 1
jmp 0x18001b680
mov ecx, r14d
cmp ecx, eax
je 0x18001b6ac
cmp ecx, 1
jne 0x18001b690
mov dword [rsi + 0x3b4], r14d
call fcn.180018010
mov rax, qword [0x18015fa70]
mov word [rax + 0x4b31], 1
mov byte [rax + 0x4b33], 1
mov r14, qword [rsp + 0x68]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret