Function at 0x180016500
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1800c6040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x1800c7420]
xor r9d, r9d
mov qword [r11 + 8], rbp
mov rdi, rsi
mov qword [r11 + 0x10], r12
mov qword [r11 - 0x20], r14
mov eax, dword [rsi + 0x4ad8]
sub eax, 1
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [r11 - 0x58], xmm10
mov qword [rsp + 0x28], r9
mov byte [rsp + 0x24], r9b
js 0x18001658f
mov r8, qword [rsi + 0x4ae0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rbp, qword [r8]
test rbp, rbp
je 0x180016585
test dword [rbp + 0x14], 0x8000000
jne 0x180016653
sub r8, 0x38
sub rdx, 1
jns 0x180016570
mov rbp, r9
xorps xmm10, xmm10
cmp qword [rsi + 0x4d18], r9
je 0x1800165e5
cmp qword [rsi + 0x4d10], r9
jne 0x1800165e5
comiss xmm10, dword [rsi + 0x4d48]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x4d2c]
mulss xmm0, dword [0x1800b77c0]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rsi + 0x4d2c], xmm1
jb 0x1800165e5
comiss xmm10, xmm1
jb 0x1800165e5
mov qword [rsi + 0x4d18], r9
mov esi, 0xffffffff
lea rdx, [0x1800b11d9]
mov ebx, esi
lea r9, [0x1800b1710]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x180016612
cmp byte [rdx], r8b
jne 0x180016612
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 0x180016600
mov r12d, dword [rdi + 8]
not ebx
mov rsi, qword [0x1800c7420]
movzx eax, r12b
test r12b, 2
je 0x18001665f
test byte [rdi + 0xc], 1
je 0x18001665f
mov byte [rsp + 0x21], 1
jmp 0x180016668
mov qword [rsi + 0x4d10], r9
jmp 0x180016592
mov byte [rsp + 0x21], 0
movzx r12d, al
and r12b, 1
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x70], r15
test rbp, rbp
jne 0x1800166e3
mov r15d, dword [rdi + 0x4d08]
test r15d, r15d
je 0x1800166e3
lea eax, [rbx + 1]
mov r14d, ebx
test eax, 0xfffffffe
jne 0x1800166a6
lea eax, [rbx - 1]
cmp eax, 0xfffffffd
jbe 0x1800166a6
mov r14d, dword [rsi + 0x4980]
mov r8d, 0x11001
mov edx, r14d
mov ecx, r15d
call fcn.18000f870
test al, al
je 0x1800166dc
mov r8d, 0x11021
mov edx, r14d
mov ecx, r15d
call fcn.180011ab0
test al, al
je 0x1800166dc
mov rsi, qword [0x1800c7420]
mov r13b, 1
jmp 0x1800166eb
mov rsi, qword [0x1800c7420]
xor r13b, r13b
test rbp, rbp
jne 0x180016750
mov r15d, dword [rdi + 0x4d0c]
test r15d, r15d
je 0x180016750
lea eax, [rbx + 1]
mov r14d, ebx
test eax, 0xfffffffe
jne 0x180016713
lea eax, [rbx - 1]
cmp eax, 0xfffffffd
jbe 0x180016713
mov r14d, dword [rsi + 0x4980]
mov r8d, 0x11001
mov edx, r14d
mov ecx, r15d
call fcn.18000f870
test al, al
je 0x180016749
mov r8d, 0x11021
mov edx, r14d
mov ecx, r15d
call fcn.180011ab0
test al, al
je 0x180016749
mov rsi, qword [0x1800c7420]
mov r15b, 1
jmp 0x180016758
mov rsi, qword [0x1800c7420]
xor r15b, r15b
test rbp, rbp
jne 0x180016781
cmp byte [rsp + 0x21], 0
je 0x180016781
cmp qword [rdi + 0x4d10], 0
jne 0x180016781
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.18000fb40
test al, al
je 0x180016781
mov r14b, 1
jmp 0x180016789
xor r14b, r14b
test rbp, rbp
jne 0x1800167a2
cmp qword [rdi + 0x4d10], 0
jne 0x1800167a2
test r13b, r13b
jne 0x18001679d
test r15b, r15b
je 0x1800167a2
mov bpl, 1
jmp 0x1800167a5
xor bpl, bpl
test r14b, r14b
jne 0x1800167b3
test bpl, bpl
je 0x1800168ce
mov rax, qword [rdi + 0x4b18]
test rax, rax
jne 0x1800167e0
mov ecx, dword [rdi + 0x3fb0]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.1800163d0
test rax, rax
je 0x1800168ce
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4d18], rax
mov qword [rdi + 0x4d10], rax
xor eax, eax
mov qword [rdi + 0x4d28], rax
mov qword [rdi + 0x4d40], rax
mov qword [rdi + 0x4d38], rax
movzx eax, bpl
xor eax, 1
mov byte [rdi + 0x4d30], r14b
add eax, 2
mov dword [rdi + 0x4b64], eax
test r13b, r13b
jne 0x180016831
test r15b, r15b
je 0x1800168ce
mov eax, dword [rdi + 0x4d0c]
or eax, dword [rdi + 0x4d08]
bt eax, 0xc
jae 0x180016858
mov dword [rsi + 0x47e8], ebx
mov dword [rsi + 0x47e4], ebx
mov word [rsi + 0x47ec], 0
bt eax, 0xd
jae 0x180016873
mov dword [rsi + 0x47f4], ebx
mov dword [rsi + 0x47f0], ebx
mov word [rsi + 0x47f8], 0
bt eax, 0xe
jae 0x18001688e
mov dword [rsi + 0x4800], ebx
mov dword [rsi + 0x47fc], ebx
mov word [rsi + 0x4804], 0
bt eax, 0xf
jae 0x1800168a9
mov dword [rsi + 0x480c], ebx
mov dword [rsi + 0x4808], ebx
mov word [rsi + 0x4810], 0
bt eax, 0xb
jae 0x1800168ce
cmp byte [rsi + 0x59], 0
mov eax, 0x47e4
mov ecx, 0x4808
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
cmp qword [rdi + 0x4d10], 0
mov ebp, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4d28]
movss xmm6, dword [0x1800b7780]
movss dword [rdi + 0x4d28], xmm0
je 0x180016a85
cmp dword [rdi + 0x4b64], 3
jne 0x1800169ce
subss xmm0, dword [0x1800b7728]
movaps xmmword [rsp + 0x50], xmm7
divss xmm0, dword [0x1800b7714]
comiss xmm10, xmm0
jbe 0x18001692c
movaps xmm1, xmm10
jmp 0x180016933
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x4d2c]
mov r8d, ebp
maxss xmm7, xmm1
xor edx, edx
mov ecx, 0x282
movss dword [rdi + 0x4d2c], xmm7
call fcn.18000fb40
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x281
call fcn.18000fb40
movzx ecx, al
sub ecx, ebx
je 0x180016981
call fcn.180016460
mov dword [rdi + 0x4d2c], 0x3f800000
movaps xmm7, xmm6
cmp byte [rsi + 0x35f4], 0
je 0x180016993
cmp byte [rsi + 0x4690], 0
je 0x1800169c9
comiss xmm6, xmm7
seta al
and byte [rdi + 0x4d30], al
je 0x1800169b2
cmp qword [rdi + 0x4b18], 0
je 0x1800169be
mov byte [rsp + 0x24], bpl
jmp 0x1800169be
mov rax, qword [rdi + 0x4d10]
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x4d10], 0
movaps xmm7, xmmword [rsp + 0x50]
cmp qword [rdi + 0x4d10], 0
je 0x180016a85
cmp dword [rdi + 0x4b64], 2
jne 0x180016a85
mov eax, dword [rdi + 0x4d08]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4d28]
test eax, eax
subss xmm0, dword [0x1800b7728]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4d0c]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x1800b7714]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm10, xmm0
jbe 0x180016a37
movaps xmm6, xmm10
jmp 0x180016a3b
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4d2c]
maxss xmm0, xmm6
movss dword [rdi + 0x4d2c], xmm0
test r13b, r13b
jne 0x180016a73
test r15b, r15b
jne 0x180016a73
mov eax, dword [rdi + 0xe60]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x180016a85
mov r14, qword [rdi + 0x4d10]
jmp 0x180016a8a
movzx ecx, r13b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.180016460
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x70]
lea rbx, [rsp + 0x30]
mov r13, qword [rsp + 0xb0]
mov ebp, 0x211
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], 0x215
nop dword [rax]
test r12b, r12b
je 0x180016ac8
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, ebp
call fcn.18000fb40
test al, al
jne 0x180016ada
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x180016af1
mov ebp, dword [rbx]
jmp 0x180016ab0
mov byte [rdi + 0x4d30], 1
mov dword [rdi + 0x4d34], ebp
mov dword [rdi + 0x4b64], 2
cmp byte [rdi + 0x4d30], 0
mov r12, qword [rsp + 0xa8]
je 0x180016ccd
cmp dword [rdi + 0x4b64], 2
jne 0x180016ccd
cmp dword [rdi + 0x38d8], 0
jg 0x180016b37
cmp byte [rdi + 0xe5c], 0
jne 0x180016b37
cmp byte [rdi + 0xe5d], 0
jne 0x180016b37
cmp byte [rdi + 0xe5f], 0
je 0x180016b3e
mov byte [rdi + 0x4d30], 0
mov edx, dword [rdi + 0x4d34]
lea eax, [rdx - 0x200]
cmp eax, 0x99
jbe 0x180016b79
cmp edx, 0x1000
je 0x180016b79
cmp edx, 0x2000
je 0x180016b79
cmp edx, 0x4000
je 0x180016b79
cmp edx, 0x8000
je 0x180016b79
cmp edx, 0x800
jne 0x180016ba3
cmp byte [rsi + 0x4974], 0
je 0x180016b96
cmp dword [rsi + 0x4064], 0xffffffff
je 0x180016b96
lea eax, [rdx - 0x200]
cmp eax, 0x76
jbe 0x180016bac
mov rcx, rsi
call fcn.180002720
cmp dword [rax], 0xffffffff
jne 0x180016bac
cmp dword [rsi + 0x47fc], 0xffffffff
je 0x180016bb3
mov byte [rdi + 0x4d30], 0
mov ecx, dword [rdi + 0x4d34]
call fcn.18000fcb0
test al, al
je 0x180016c5c
cmp byte [rdi + 0x4d30], 0
je 0x180016c5c
cmp dword [rdi + 0x4064], 0
je 0x180016be5
cmp byte [rdi + 0x4071], 0
je 0x180016c5c
lea rax, [rdi + 0xe40]
test rax, rax
jne 0x180016bf8
lea rax, [rsi + 0xe40]
movss xmm0, dword [rax]
movss xmm1, dword [0x1800b7828]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180016c17
comiss xmm2, xmm1
jb 0x180016c17
mov cl, 1
jmp 0x180016c19
xor cl, cl
lea rax, [rdi + 0x3808]
test rax, rax
jne 0x180016c2c
lea rax, [rsi + 0xe40]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180016c43
comiss xmm2, xmm1
jb 0x180016c43
mov al, 1
jmp 0x180016c45
xor al, al
mov edx, dword [rsp + 0x24]
cmp cl, al
movzx edx, dl
mov ebp, 1
cmove edx, ebp
mov dword [rsp + 0x24], edx
jmp 0x180016c61
mov ebp, 1
mov r9d, dword [rdi + 0x4d34]
mov rcx, rsi
mov edx, r9d
call fcn.18000f240
cmp byte [rax], 0
je 0x180016cc4
lea eax, [r9 - 0x200]
cmp eax, 0x99
jbe 0x180016cb3
cmp r9d, 0x1000
je 0x180016cb3
cmp r9d, 0x2000
je 0x180016cb3
cmp r9d, 0x4000
je 0x180016cb3
cmp r9d, 0x8000
je 0x180016cb3
cmp r9d, 0x800
jne 0x180016cd2
mov edx, r9d
mov rcx, rsi
call fcn.180002720
cmp byte [rax + 8], 0
je 0x180016cd2
mov byte [rdi + 0x4d30], 0
jmp 0x180016cd2
mov ebp, 1
mov rax, qword [rdi + 0x4d10]
test rax, rax
je 0x180016e35
test byte [rax + 0x14], 4
jne 0x180016e35
mov eax, dword [rdi + 0x4b64]
movaps xmm2, xmm10
movaps xmm3, xmm10
cmp eax, 2
jne 0x180016d2a
cmp byte [rdi + 0xe5d], 0
jne 0x180016d4f
movss xmm3, dword [rsi + 0x2eb0]
movss xmm2, dword [rsi + 0x2e90]
subss xmm3, dword [rsi + 0x2ea0]
subss xmm2, dword [rsi + 0x2e80]
jmp 0x180016d4f
cmp eax, 3
jne 0x180016d4f
movss xmm3, dword [rsi + 0x3710]
movss xmm2, dword [rsi + 0x36f0]
subss xmm3, dword [rsi + 0x3700]
subss xmm2, dword [rsi + 0x36e0]
ucomiss xmm2, xmm10
jp 0x180016d63
jne 0x180016d63
ucomiss xmm3, xmm10
jp 0x180016d63
je 0x180016e35
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
mulss xmm0, dword [0x1800b77fc]
mov byte [rdi + 0x4b7b], 1
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
addss xmm1, dword [rdi + 0x4d3c]
addss xmm0, dword [rdi + 0x4d38]
movss dword [rdi + 0x4d3c], xmm1
cvttss2si eax, xmm0
movss dword [rdi + 0x4d38], xmm0
cvtsi2ss xmm6, eax
cvttss2si eax, xmm1
ucomiss xmm6, xmm10
cvtsi2ss xmm5, eax
jp 0x180016dd6
jne 0x180016dd6
ucomiss xmm5, xmm10
jp 0x180016dd6
je 0x180016e35
mov rax, qword [rdi + 0x4d10]
lea rdx, [rsp + 0x28]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, ebp
mov rcx, qword [rax + 0x388]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.18000ebf0
movss xmm0, dword [rdi + 0x4d3c]
movss xmm4, dword [rdi + 0x4d38]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4d3c], xmm0
movss dword [rdi + 0x4d38], xmm4
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
test r14, r14
je 0x180016ebf
mov rax, qword [rdi + 0x4b18]
test rax, rax
je 0x180016e5a
cmp r14, qword [rax + 0x388]
je 0x180016eb4
call fcn.180005e60
mov rax, qword [0x1800c7420]
xor edx, edx
mov rcx, r14
mov word [rax + 0x4b79], 1
mov byte [rax + 0x4b7b], 1
call fcn.180012920
mov edx, ebp
mov rcx, r14
call fcn.18000e640
mov rbx, qword [rdi + 0x4b18]
cmp dword [rbx + 0x3b8], 0
jne 0x180016ea4
xor edx, edx
mov rcx, rbx
call fcn.180014140
cmp word [rbx + 0x16e], 2
jne 0x180016eb4
mov dword [rdi + 0x4b68], ebp
mov qword [rdi + 0x4d10], 0
cmp byte [rsp + 0x24], 0
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa0]
je 0x180016f95
cmp qword [rdi + 0x4b18], 0
je 0x180016f95
call fcn.180005e60
mov rbx, qword [rdi + 0x4b18]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
je 0x180016f28
nop
test byte [rbx + 0x16c], 2
jne 0x180016f28
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x180016f28
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x180016f00
mov rsi, qword [rdi + 0x4b18]
cmp rbx, rsi
je 0x180016f45
xor edx, edx
mov rcx, rbx
call fcn.18000e640
mov qword [rbx + 0x3b0], rsi
mov rax, qword [rdi + 0x4b18]
test byte [rax + 0x16c], 2
je 0x180016f60
mov ecx, dword [rdi + 0x4b68]
xor ecx, 1
jmp 0x180016f62
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b68]
je 0x180016f95
cmp ecx, 1
jne 0x180016f79
mov dword [rax + 0x3bc], 0
call fcn.180014080
mov rax, qword [0x1800c7420]
mov word [rax + 0x4b79], 1
mov byte [rax + 0x4b7b], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18003d810
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret