Function at 0x1800b1c80
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rsi, qword [0x180b5ee10]
xor r9d, r9d
mov qword [rax + 0x20], rbp
mov rdi, rsi
mov qword [rax - 0x20], r12
mov qword [rax - 0x38], r15
vmovaps xmmword [rax - 0x48], xmm6
vmovaps xmmword [rax - 0x58], xmm7
mov eax, dword [rsi + 0x4878]
sub eax, 1
mov qword [rsp + 0xa0], r9
mov byte [rsp + 0x98], r9b
js 0x1800b1cff
mov r8, qword [rsi + 0x4880]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rbp, qword [r8]
test rbp, rbp
je 0x1800b1cf5
test dword [rbp + 0x14], 0x8000000
jne 0x1800b1dc1
sub r8, 0x38
sub rdx, 1
jns 0x1800b1ce0
mov rbp, r9
vxorps xmm7, xmm7, xmm7
cmp qword [rsi + 0x4a20], r9
je 0x1800b1d54
cmp qword [rsi + 0x4a18], r9
jne 0x1800b1d54
vcomiss xmm7, dword [rsi + 0x4a4c]
vmovss xmm0, dword [rsi + 0x18]
vmulss xmm1, xmm0, dword [0x180249148]
vmovss xmm0, dword [rsi + 0x4a34]
vsubss xmm2, xmm0, xmm1
vmaxss xmm3, xmm2, xmm7
vmovss dword [rsi + 0x4a34], xmm3
jb 0x1800b1d54
vcomiss xmm7, xmm3
jb 0x1800b1d54
mov qword [rsi + 0x4a20], r9
mov esi, 0xffffffff
lea rdx, [0x1802455f1]
mov ebx, esi
lea r9, [0x18023e6c0]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x1800b1d82
cmp byte [rdx], r8b
jne 0x1800b1d82
cmp byte [rdx + 1], r8b
cmove ebx, esi
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 0x1800b1d70
mov r12d, dword [rdi + 8]
not ebx
mov rsi, qword [0x180b5ee10]
movzx eax, r12b
test r12b, 2
je 0x1800b1dcd
test byte [rdi + 0xc], 1
je 0x1800b1dcd
mov r15b, 1
jmp 0x1800b1dd4
mov qword [rsi + 0x4a18], r9
jmp 0x1800b1d02
xor r15b, r15b
movzx r12d, al
and r12b, 1
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
test rbp, rbp
jne 0x1800b1e0e
mov ecx, dword [rdi + 0x4a10]
test ecx, ecx
je 0x1800b1e0e
mov r8d, 0x1001
mov edx, ebx
call fcn.1800ac620
mov rsi, qword [0x180b5ee10]
test al, al
je 0x1800b1e0e
mov r14b, 1
jmp 0x1800b1e16
xor r14b, r14b
test rbp, rbp
jne 0x1800b1e3d
mov ecx, dword [rdi + 0x4a14]
test ecx, ecx
je 0x1800b1e3d
mov r8d, 0x1001
mov edx, ebx
call fcn.1800ac620
mov rsi, qword [0x180b5ee10]
test al, al
je 0x1800b1e3d
mov r13b, 1
jmp 0x1800b1e45
xor r13b, r13b
test rbp, rbp
jne 0x1800b1e6c
test r15b, r15b
je 0x1800b1e6c
cmp qword [rdi + 0x4a18], 0
jne 0x1800b1e6c
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.1800aa610
test al, al
je 0x1800b1e6c
mov r15b, 1
jmp 0x1800b1e74
xor r15b, r15b
test rbp, rbp
jne 0x1800b1e8d
cmp qword [rdi + 0x4a18], 0
jne 0x1800b1e8d
test r14b, r14b
jne 0x1800b1e88
test r13b, r13b
je 0x1800b1e8d
mov bpl, 1
jmp 0x1800b1e90
xor bpl, bpl
test r15b, r15b
jne 0x1800b1e9e
test bpl, bpl
je 0x1800b1fb7
mov rax, qword [rdi + 0x48b0]
test rax, rax
jne 0x1800b1ec9
mov ecx, dword [rdi + 0x3e80]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.1800b1b50
test rax, rax
je 0x1800b1fb7
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a20], rax
mov qword [rdi + 0x4a18], rax
xor eax, eax
mov qword [rdi + 0x4a30], rax
mov qword [rdi + 0x4a44], rax
mov qword [rdi + 0x4a3c], rax
movzx eax, bpl
xor eax, 1
mov byte [rdi + 0x4a38], r15b
add eax, 2
mov dword [rdi + 0x48e4], eax
test r14b, r14b
jne 0x1800b1f1a
test r13b, r13b
je 0x1800b1fb7
mov eax, dword [rdi + 0x4a14]
or eax, dword [rdi + 0x4a10]
bt eax, 0xc
jae 0x1800b1f41
mov dword [rsi + 0x45dc], ebx
mov dword [rsi + 0x45d8], ebx
mov word [rsi + 0x45e0], 0
bt eax, 0xd
jae 0x1800b1f5c
mov dword [rsi + 0x45e8], ebx
mov dword [rsi + 0x45e4], ebx
mov word [rsi + 0x45ec], 0
bt eax, 0xe
jae 0x1800b1f77
mov dword [rsi + 0x45f4], ebx
mov dword [rsi + 0x45f0], ebx
mov word [rsi + 0x45f8], 0
bt eax, 0xf
jae 0x1800b1f92
mov dword [rsi + 0x4600], ebx
mov dword [rsi + 0x45fc], ebx
mov word [rsi + 0x4604], 0
bt eax, 0xb
jae 0x1800b1fb7
cmp byte [rsi + 0x79], 0
mov eax, 0x45d8
mov ecx, 0x45fc
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
cmp qword [rdi + 0x4a18], 0
mov ebp, 1
vmovss xmm0, dword [rdi + 0x18]
vaddss xmm1, xmm0, dword [rdi + 0x4a30]
vmovss xmm6, dword [0x180248f20]
vmovaps xmmword [rsp + 0x20], xmm8
mov r15, qword [rsp + 0x50]
vmovss dword [rdi + 0x4a30], xmm1
je 0x1800b2182
cmp dword [rdi + 0x48e4], 3
jne 0x1800b20cb
vsubss xmm0, xmm1, dword [0x180248ec0]
vdivss xmm1, xmm0, dword [0x180248ea0]
vcomiss xmm7, xmm1
jbe 0x1800b201b
vmovaps xmm2, xmm7
jmp 0x1800b201f
vminss xmm2, xmm6, xmm1
vmovss xmm0, dword [rdi + 0x4a34]
vmaxss xmm8, xmm0, xmm2
mov r8d, ebp
xor edx, edx
mov ecx, 0x273
vmovss dword [rdi + 0x4a34], xmm8
call fcn.1800aa610
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.1800aa610
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x1800b2072
mov ecx, eax
call fcn.1800b1be0
mov dword [rdi + 0x4a34], 0x3f800000
vmovaps xmm8, xmm6
mov edx, 0x26b
mov rcx, rsi
call fcn.1800a9ef0
cmp byte [rax], 0
je 0x1800b208d
cmp byte [rsi + 0x4484], 0
je 0x1800b20cb
vcomiss xmm6, xmm8
seta al
and byte [rdi + 0x4a38], al
je 0x1800b20b1
cmp qword [rdi + 0x48b0], 0
je 0x1800b20c0
mov byte [rsp + 0x98], bpl
jmp 0x1800b20c0
mov rax, qword [rdi + 0x4a18]
mov qword [rsp + 0xa0], rax
mov qword [rdi + 0x4a18], 0
cmp qword [rdi + 0x4a18], 0
je 0x1800b2182
cmp dword [rdi + 0x48e4], 2
jne 0x1800b2182
mov eax, dword [rdi + 0x4a10]
mov ecx, 0xf800
vmovss xmm0, dword [rdi + 0x4a30]
vsubss xmm1, xmm0, dword [0x180248ec0]
vdivss xmm2, xmm1, dword [0x180248ea0]
test eax, eax
mov edx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4a14]
test eax, eax
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
vcomiss xmm7, xmm2
jbe 0x1800b2134
vmovaps xmm1, xmm7
jmp 0x1800b2138
vminss xmm1, xmm6, xmm2
vmovss xmm0, dword [rdi + 0x4a34]
vmaxss xmm1, xmm0, xmm1
vmovss dword [rdi + 0x4a34], xmm1
test r14b, r14b
jne 0x1800b2170
test r13b, r13b
jne 0x1800b2170
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1800b2182
mov rbx, qword [rdi + 0x4a18]
jmp 0x1800b218a
movzx ecx, r14b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.1800b1be0
mov rbx, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x58]
test r12b, r12b
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
je 0x1800b21c5
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.1800aa610
test al, al
je 0x1800b21c5
mov byte [rdi + 0x4a38], bpl
mov dword [rdi + 0x48e4], 2
cmp byte [rdi + 0x4a38], 0
je 0x1800b2300
cmp dword [rdi + 0x48e4], 2
jne 0x1800b2300
cmp dword [rdi + 0x37c0], 0
jg 0x1800b220c
cmp byte [rdi + 0xe24], 0
jne 0x1800b220c
cmp byte [rdi + 0xe25], 0
jne 0x1800b220c
cmp byte [rdi + 0xe27], 0
jne 0x1800b220c
cmp dword [rsi + 0x45f0], 0xffffffff
je 0x1800b2213
mov byte [rdi + 0x4a38], 0
mov edx, 0x4000
mov rcx, rsi
call fcn.1800a9ef0
vcomiss xmm7, dword [rax + 8]
ja 0x1800b22de
cmp byte [rax], 0
jne 0x1800b22de
cmp byte [rsi + 0x45f8], 0
jne 0x1800b22de
cmp byte [rdi + 0x4a38], 0
je 0x1800b22de
cmp dword [rdi + 0x3f30], 0
je 0x1800b2260
cmp byte [rdi + 0x3f3d], 0
je 0x1800b22de
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x1800b2273
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x1802492c0]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x1800b2296
vcomiss xmm2, xmm1
jb 0x1800b2296
movzx ecx, bpl
jmp 0x1800b2298
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x1800b22ab
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x1800b22c6
vcomiss xmm2, xmm1
jb 0x1800b22c6
movzx eax, bpl
jmp 0x1800b22c8
xor al, al
mov edx, dword [rsp + 0x98]
cmp al, cl
movzx edx, dl
cmove edx, ebp
mov dword [rsp + 0x98], edx
mov edx, 0x4000
mov rcx, rsi
call fcn.1800a9ef0
cmp byte [rax], 0
je 0x1800b22f9
cmp byte [rsi + 0x45f8], 0
je 0x1800b2300
mov byte [rdi + 0x4a38], 0
mov rax, qword [rdi + 0x4a18]
test rax, rax
je 0x1800b24a9
test byte [rax + 0x14], 4
jne 0x1800b24a9
mov eax, dword [rdi + 0x48e4]
cmp eax, 2
jne 0x1800b2366
cmp byte [rdi + 0xe25], 0
jne 0x1800b24a9
mov edx, 0x203
mov rcx, rsi
call fcn.1800a9ef0
mov edx, 0x201
mov rcx, rsi
mov r10, rax
call fcn.1800a9ef0
mov edx, 0x202
mov rcx, rsi
mov r9, rax
call fcn.1800a9ef0
mov edx, 0x204
jmp 0x1800b23a1
cmp eax, 3
jne 0x1800b24a9
mov edx, 0x27b
mov rcx, rsi
call fcn.1800a9ef0
mov edx, 0x279
mov rcx, rsi
mov r10, rax
call fcn.1800a9ef0
mov edx, 0x27a
mov rcx, rsi
mov r9, rax
call fcn.1800a9ef0
mov edx, 0x27c
vmovss xmm0, dword [rax + 0xc]
vsubss xmm6, xmm0, dword [r9 + 0xc]
mov rcx, rsi
call fcn.1800a9ef0
vucomiss xmm6, xmm7
vmovss xmm0, dword [rax + 0xc]
vsubss xmm4, xmm0, dword [r10 + 0xc]
jp 0x1800b23d3
jne 0x1800b23d3
vucomiss xmm4, xmm7
jp 0x1800b23d3
je 0x1800b24a9
vmovss xmm0, dword [rdi + 0x70]
vminss xmm2, xmm0, dword [rdi + 0x74]
vmovss xmm1, dword [rdi + 0x18]
vmulss xmm0, xmm1, dword [0x180249238]
vmulss xmm3, xmm2, xmm0
vmulss xmm0, xmm6, xmm3
vaddss xmm2, xmm0, dword [rdi + 0x4a3c]
vcvttss2si eax, xmm2
vmulss xmm0, xmm4, xmm3
vaddss xmm1, xmm0, dword [rdi + 0x4a40]
vxorps xmm8, xmm8, xmm8
vcvtsi2ss xmm8, xmm8, eax
vucomiss xmm8, xmm7
vcvttss2si eax, xmm1
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
vmovss dword [rdi + 0x4a3c], xmm2
vmovss dword [rdi + 0x4a40], xmm1
mov byte [rdi + 0x48ef], bpl
jp 0x1800b2446
jne 0x1800b2446
vucomiss xmm6, xmm7
jp 0x1800b2446
je 0x1800b24a9
mov rax, qword [rdi + 0x4a18]
lea rdx, [rsp + 0x90]
mov r8d, ebp
mov rcx, qword [rax + 0x378]
vaddss xmm0, xmm8, dword [rcx + 0x20]
vaddss xmm1, xmm6, dword [rcx + 0x24]
vmovss dword [rsp + 0x90], xmm0
vmovss dword [rsp + 0x94], xmm1
call fcn.1800a9930
vmovss xmm0, dword [rdi + 0x4a3c]
vmovss xmm2, dword [rdi + 0x4a40]
vsubss xmm1, xmm0, xmm8
vsubss xmm0, xmm2, xmm6
vmovss dword [rdi + 0x4a40], xmm0
vmovss dword [rdi + 0x4a3c], xmm1
vmovaps xmm8, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
test rbx, rbx
je 0x1800b253c
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x1800b24d5
cmp rbx, qword [rax + 0x378]
je 0x1800b2531
xor edx, edx
xor ecx, ecx
call fcn.1800a0810
mov rax, qword [0x180b5ee10]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x48ed], bp
mov byte [rax + 0x48ef], bpl
call fcn.1800add30
mov edx, ebp
mov rcx, rbx
call fcn.1800a9070
mov rbx, qword [rdi + 0x48b0]
cmp dword [rbx + 0x3a0], 0
jne 0x1800b2521
xor edx, edx
mov rcx, rbx
call fcn.1800af8d0
cmp word [rbx + 0x15e], 2
jne 0x1800b2531
mov dword [rdi + 0x48e8], ebp
mov qword [rdi + 0x4a18], 0
cmp byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0xa8]
je 0x1800b2615
cmp qword [rdi + 0x48b0], 0
je 0x1800b2615
xor edx, edx
xor ecx, ecx
call fcn.1800a0810
mov rbx, qword [rdi + 0x48b0]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x1800b25a8
nop dword [rax]
test byte [rbx + 0x15c], 2
jne 0x1800b25a8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1800b25a8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x1800b2580
mov rsi, qword [rdi + 0x48b0]
cmp rbx, rsi
je 0x1800b25c5
xor edx, edx
mov rcx, rbx
call fcn.1800a9070
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48b0]
test byte [rax + 0x15c], 2
je 0x1800b25e0
mov ecx, dword [rdi + 0x48e8]
xor ecx, 1
jmp 0x1800b25e2
xor ecx, ecx
cmp ecx, dword [rdi + 0x48e8]
je 0x1800b2615
cmp ecx, 1
jne 0x1800b25f9
mov dword [rax + 0x3a4], 0
call fcn.1800af7e0
mov rax, qword [0x180b5ee10]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret