Function at 0x140040860
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14024a650]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, qword [0x14024e750]
xor r9d, r9d
mov qword [r11 + 8], rbp
mov qword [r11 + 0x18], r13
mov qword [r11 - 0x20], r14
movsxd rax, dword [rdi + 0x4c88]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
mov byte [rsp + 0x20], r9b
test eax, eax
jle 0x1400408ef
lea rdx, [rax - 1]
mov rax, qword [rdi + 0x4c90]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x1400408e5
test dword [rsi + 0x14], 0x8000000
jne 0x1400409ac
sub r8, 0x38
sub rdx, 1
jns 0x1400408d0
mov rax, qword [rdi + 0x4f38]
mov rsi, r9
xorps xmm8, xmm8
cmp qword [rdi + 0x4f40], r9
je 0x140040948
test rax, rax
jne 0x140040948
comiss xmm8, dword [rdi + 0x4f70]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4f54]
mulss xmm0, dword [0x14022bb58]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rdi + 0x4f54], xmm1
jb 0x140040948
comiss xmm8, xmm1
jb 0x140040948
mov qword [rdi + 0x4f40], r9
mov r13d, 0xffffffff
lea rdx, [0x140223f71]
mov ebx, r13d
lea r10, [0x140211c00]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x140040975
cmp byte [rdx], r8b
jne 0x140040975
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 [r10 + rcx*4]
test r8b, r8b
jne 0x140040962
mov r14d, dword [rdi + 8]
not ebx
mov r13, r9
test r14b, 2
je 0x1400409bb
test byte [rdi + 0xc], 1
je 0x1400409bb
mov bpl, 1
jmp 0x1400409be
mov qword [rdi + 0x4f38], r9
mov rax, r9
jmp 0x1400408f9
xor bpl, bpl
and r14b, 1
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x80], r15
test rsi, rsi
jne 0x1400409f7
mov ecx, dword [rdi + 0x4f30]
test ecx, ecx
je 0x1400409f7
mov r8d, 0x10001
mov edx, ebx
call fcn.140039e80
test al, al
je 0x1400409f7
mov r15b, 1
jmp 0x1400409ff
xor r15b, r15b
test rsi, rsi
jne 0x140040a1f
mov ecx, dword [rdi + 0x4f34]
test ecx, ecx
je 0x140040a1f
mov r8d, 0x10001
mov edx, ebx
call fcn.140039e80
test al, al
je 0x140040a1f
mov r12b, 1
jmp 0x140040a27
xor r12b, r12b
test rsi, rsi
jne 0x140040a4d
test bpl, bpl
je 0x140040a4d
cmp qword [rdi + 0x4f38], r13
jne 0x140040a4d
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.1400374b0
test al, al
je 0x140040a4d
mov bpl, 1
jmp 0x140040a55
xor bpl, bpl
test rsi, rsi
jne 0x140040a6d
cmp qword [rdi + 0x4f38], r13
jne 0x140040a6d
test r15b, r15b
jne 0x140040a68
test r12b, r12b
je 0x140040a6d
mov sil, 1
jmp 0x140040a70
xor sil, sil
test bpl, bpl
jne 0x140040a7e
test sil, sil
je 0x140040b0b
mov rax, qword [rdi + 0x4d40]
test rax, rax
jne 0x140040aa5
mov ecx, dword [rdi + 0x4130]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.1400406f0
test rax, rax
je 0x140040b0b
mov rax, qword [rax + 0x3c0]
mov qword [rdi + 0x4f40], rax
mov qword [rdi + 0x4f38], rax
xor eax, eax
mov qword [rdi + 0x4f50], rax
mov qword [rdi + 0x4f68], rax
mov qword [rdi + 0x4f60], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4f58], bpl
add eax, 2
mov dword [rdi + 0x4d8c], eax
test r15b, r15b
jne 0x140040af2
test r12b, r12b
je 0x140040b0b
mov ecx, dword [rdi + 0x4f34]
mov edx, ebx
or ecx, dword [rdi + 0x4f30]
and ecx, 0xf800
call fcn.140039c00
mov ebp, 1
movss xmm0, dword [rdi + 0x4f50]
addss xmm0, dword [rdi + 0x18]
movss xmm7, dword [0x14022ba7c]
movss xmm9, dword [0x14022ba60]
movss xmm6, dword [0x14022bae4]
movss dword [rdi + 0x4f50], xmm0
cmp qword [rdi + 0x4f38], r13
je 0x140040c1d
cmp dword [rdi + 0x4d8c], 3
jne 0x140040c1d
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x140040b6d
movaps xmm1, xmm8
jmp 0x140040b74
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm0, dword [rdi + 0x4f54]
mov r8d, ebp
maxss xmm0, xmm1
xor edx, edx
mov ecx, 0x281
movss dword [rdi + 0x4f54], xmm0
call fcn.1400374b0
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x282
call fcn.1400374b0
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x140040bc3
mov ecx, eax
call fcn.140040790
mov dword [rdi + 0x4f54], 0x3f800000
mov rcx, qword [0x14024e750]
mov edx, 0x279
call fcn.140036970
cmp byte [rax], r13b
je 0x140040be9
xor edx, edx
mov ecx, 0x279
call fcn.140039ab0
test al, al
jne 0x140040c1d
comiss xmm6, dword [rdi + 0x4f54]
seta al
and byte [rdi + 0x4f58], al
je 0x140040c0b
cmp qword [rdi + 0x4d40], r13
je 0x140040c12
mov byte [rsp + 0x20], bpl
jmp 0x140040c12
mov r13, qword [rdi + 0x4f38]
mov qword [rdi + 0x4f38], 0
cmp qword [rdi + 0x4f38], 0
je 0x140040ce1
cmp dword [rdi + 0x4d8c], 2
jne 0x140040ce1
mov eax, dword [rdi + 0x4f30]
mov ecx, 0xf800
test eax, eax
mov ebx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4f34]
test eax, eax
cmovne ebx, eax
and ebx, ecx
and ebx, 0xf800
jne 0x140040c7b
mov r8d, 0x3416
lea rdx, str.E:CodecppTangoTango_tangoguiimguiimgui.cpp
lea rcx, str.shared_mods___0
call fcn.140114334
movss xmm0, dword [rdi + 0x4f50]
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x140040c98
movaps xmm6, xmm8
jmp 0x140040c9c
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4f54]
maxss xmm0, xmm6
movss dword [rdi + 0x4f54], xmm0
test r15b, r15b
jne 0x140040ccf
test r12b, r12b
jne 0x140040ccf
mov eax, dword [rdi + 0xe6c]
and eax, ebx
cmp eax, ebx
je 0x140040ce1
mov r13, qword [rdi + 0x4f38]
jmp 0x140040ce1
movzx ecx, r15b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.140040790
mov r15, qword [rsp + 0x80]
lea rbx, [rsp + 0x28]
mov r12, qword [rsp + 0xb8]
mov dword [rsp + 0x28], 0x211
mov dword [rsp + 0x2c], 0x215
test r14b, r14b
je 0x140040d24
mov esi, dword [rbx]
xor r8d, r8d
mov ecx, esi
mov edx, 0xffffffff
call fcn.1400374b0
test al, al
jne 0x1400410d3
add rbx, 4
lea rax, [rsp + 0x30]
cmp rbx, rax
jne 0x140040d06
cmp byte [rdi + 0x4f58], 0
je 0x140040e9d
cmp dword [rdi + 0x4d8c], 2
jne 0x140040e9d
cmp dword [rdi + 0x3910], 0
jg 0x140040d70
cmp byte [rdi + 0xe68], 0
jne 0x140040d70
cmp byte [rdi + 0xe69], 0
jne 0x140040d70
cmp byte [rdi + 0xe6b], 0
je 0x140040d77
mov byte [rdi + 0x4f58], 0
mov edx, dword [rdi + 0x4f5c]
lea eax, [rdx - 0x200]
cmp eax, 0x99
jbe 0x140040db2
cmp edx, 0x1000
je 0x140040db2
cmp edx, 0x2000
je 0x140040db2
cmp edx, 0x4000
je 0x140040db2
cmp edx, 0x8000
je 0x140040db2
cmp edx, 0x800
jne 0x140040de0
mov rcx, qword [0x14024e750]
cmp byte [rcx + 0x4af4], 0
je 0x140040dd6
cmp dword [rcx + 0x41e4], 0xffffffff
je 0x140040dd6
lea eax, [rdx - 0x200]
cmp eax, 0x76
jbe 0x140040df6
call fcn.1400241d0
cmp dword [rax], 0xffffffff
jne 0x140040df6
mov rcx, qword [0x14024e750]
mov edx, 0x4000
call fcn.1400241d0
cmp dword [rax], 0xffffffff
je 0x140040dfd
mov byte [rdi + 0x4f58], 0
mov ebx, dword [rdi + 0x4f5c]
mov edx, ebx
mov rcx, qword [0x14024e750]
call fcn.140036970
comiss xmm8, dword [rax + 8]
ja 0x140040e70
cmp byte [rax], 0
jne 0x140040e70
xor edx, edx
mov ecx, ebx
call fcn.140039ab0
test al, al
je 0x140040e70
cmp byte [rdi + 0x4f58], 0
je 0x140040e70
cmp dword [rdi + 0x41e4], 0
je 0x140040e45
cmp byte [rdi + 0x41f1], 0
je 0x140040e70
lea rcx, [rdi + 0xe48]
call fcn.140037a40
lea rcx, [rdi + 0x3814]
movzx ebx, al
call fcn.140037a40
mov ecx, dword [rsp + 0x20]
cmp bl, al
movzx ecx, cl
cmove ecx, ebp
mov dword [rsp + 0x20], ecx
mov ebx, dword [rdi + 0x4f5c]
mov edx, ebx
mov rcx, qword [0x14024e750]
call fcn.140036970
cmp byte [rax], 0
je 0x140040e96
xor edx, edx
mov ecx, ebx
call fcn.140039ab0
test al, al
jne 0x140040e9d
mov byte [rdi + 0x4f58], 0
mov rax, qword [rdi + 0x4f38]
mov r14, qword [rsp + 0x88]
test rax, rax
je 0x140041095
test byte [rax + 0x14], 4
jne 0x140041095
mov eax, dword [rdi + 0x4d8c]
movaps xmm2, xmm8
movaps xmm7, xmm8
cmp eax, 2
jne 0x140040f47
cmp byte [rdi + 0xe69], 0
jne 0x140041095
mov rcx, qword [0x14024e750]
mov edx, 0x204
call fcn.140036970
mov rcx, qword [0x14024e750]
mov edx, 0x203
mov rbx, rax
call fcn.140036970
mov rcx, qword [0x14024e750]
mov edx, 0x202
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.140036970
mov rcx, qword [0x14024e750]
mov edx, 0x201
mov rbx, rax
call fcn.140036970
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
mov eax, dword [rdi + 0x4d8c]
cmp eax, 3
jne 0x140040fae
mov rcx, qword [0x14024e750]
mov edx, 0x28a
call fcn.140036970
mov rcx, qword [0x14024e750]
mov edx, 0x289
mov rbx, rax
call fcn.140036970
mov rcx, qword [0x14024e750]
mov edx, 0x288
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.140036970
mov rcx, qword [0x14024e750]
mov edx, 0x287
mov rbx, rax
call fcn.140036970
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm8
jp 0x140040fc2
jne 0x140040fc2
ucomiss xmm7, xmm8
jp 0x140040fc2
je 0x140041095
movss xmm1, dword [rdi + 0x50]
xorps xmm9, xmm9
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x14022bc00]
mov byte [rdi + 0x4da3], bpl
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm7, xmm1
addss xmm2, dword [rdi + 0x4f60]
addss xmm7, dword [rdi + 0x4f64]
cvttss2si eax, xmm2
movss dword [rdi + 0x4f60], xmm2
movss dword [rdi + 0x4f64], xmm7
cvtsi2ss xmm9, eax
cvttss2si eax, xmm7
ucomiss xmm9, xmm8
cvtsi2ss xmm6, eax
jp 0x140041034
jne 0x140041034
ucomiss xmm6, xmm8
jp 0x140041034
je 0x140041095
mov rax, qword [rdi + 0x4f38]
lea rdx, [rsp + 0x28]
movaps xmm0, xmm9
movaps xmm1, xmm6
mov r8d, ebp
mov rcx, qword [rax + 0x3d0]
addss xmm0, dword [rcx + 0x58]
addss xmm1, dword [rcx + 0x5c]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.140035f30
movss xmm0, dword [rdi + 0x4f60]
movss xmm1, dword [rdi + 0x4f64]
subss xmm0, xmm9
subss xmm1, xmm6
movss dword [rdi + 0x4f60], xmm0
movss dword [rdi + 0x4f64], xmm1
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
test r13, r13
je 0x14004116f
mov rax, qword [rdi + 0x4d40]
test rax, rax
je 0x1400410ef
cmp r13, qword [rax + 0x3c0]
je 0x140041164
mov rsi, qword [rax + 0x40]
jmp 0x1400410f1
mov byte [rdi + 0x4f58], bpl
mov dword [rdi + 0x4f5c], esi
mov dword [rdi + 0x4d8c], 2
jmp 0x140040d3f
xor esi, esi
xor edx, edx
xor ecx, ecx
call fcn.140029360
mov rax, qword [0x14024e750]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4da1], bp
mov byte [rax + 0x4da3], bpl
call fcn.14003be30
mov edx, ebp
mov rcx, r13
call fcn.1400354d0
mov rbx, qword [rdi + 0x4d40]
cmp dword [rbx + 0x3f8], 0
jne 0x14004113d
xor edx, edx
mov rcx, rbx
call fcn.14003e040
cmp word [rbx + 0x19e], 2
jne 0x14004114d
mov dword [rdi + 0x4d90], ebp
mov rcx, qword [rbx + 0x40]
cmp rcx, rsi
je 0x140041164
mov rax, qword [rdi + 0x3958]
test rax, rax
je 0x140041164
call rax
mov qword [rdi + 0x4f38], 0
cmp byte [rsp + 0x20], 0
mov r13, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb0]
je 0x140041256
cmp qword [rdi + 0x4d40], 0
je 0x140041256
xor edx, edx
xor ecx, ecx
call fcn.140029360
mov rsi, qword [rdi + 0x4d40]
mov rbx, rsi
lea rcx, [rsi + 0x3b0]
cmp qword [rcx], 0
je 0x1400411e8
nop dword [rax + rax]
test byte [rbx + 0x19c], 2
jne 0x1400411e8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1400411e8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x3b0]
cmp qword [rcx], 0
jne 0x1400411c0
cmp rbx, rsi
je 0x140041205
xor edx, edx
mov rcx, rbx
call fcn.1400354d0
mov qword [rbx + 0x3f0], rsi
mov rsi, qword [rdi + 0x4d40]
test byte [rsi + 0x19c], 2
mov eax, dword [rdi + 0x4d90]
je 0x14004121b
mov ecx, eax
xor ecx, 1
jmp 0x14004121d
xor ecx, ecx
cmp ecx, eax
je 0x140041256
cmp ecx, 1
jne 0x14004123a
cmp qword [rbx + 0x460], 0
jne 0x14004123a
mov dword [rsi + 0x3fc], 0
call fcn.14003df80
mov rax, qword [0x14024e750]
mov word [rax + 0x4da1], 1
mov byte [rax + 0x4da3], 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010cca0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret