Function at 0x18003b590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1800c1d18]
xor r15d, r15d
mov r13d, ecx
mov r14d, r15d
mov rbp, qword [rdi + 0x3eb0]
test cl, 0x10
jne 0x18003b88f
mov ebx, dword [rdi + 0x3f7c]
test ebx, ebx
je 0x18003b60f
cmp dword [rdi + 0x3efc], ebx
jne 0x18003b888
mov eax, dword [rdi + 0x3f44]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xd9c], r14b
je 0x18003b888
cmp byte [rbp + 0x93], r14b
jne 0x18003b888
xor sil, sil
jmp 0x18003b832
cmp byte [rdi + 0xd9c], r14b
je 0x18003b888
cmp byte [rbp + 0x93], r14b
jne 0x18003b888
test byte [rdi + 0x3f84], 1
jne 0x18003b64c
cmp dword [rdi + 0x3efc], r14d
je 0x18003b888
cmp qword [rdi + 0x3f38], rbp
jne 0x18003b888
test r13b, 8
je 0x18003b888
lea rdx, [rdi + 0x3f88]
mov rcx, rbp
call fcn.180040150
mov dword [rdi + 0x3f7c], eax
mov ebx, eax
mov r14, qword [0x1800c1d18]
mov rsi, r14
mov eax, dword [r14 + 0x3ee8]
test eax, eax
je 0x18003b697
cmp eax, ebx
je 0x18003b697
cmp byte [r14 + 0x3ef0], r15b
jne 0x18003b697
xor sil, sil
jmp 0x18003b82a
mov rax, qword [r14 + 0x3eb0]
cmp qword [r14 + 0x3eb8], rax
je 0x18003b6af
xor sil, sil
jmp 0x18003b82a
mov qword [rsp + 0x70], r12
mov r12d, dword [r14 + 0x3efc]
test r12d, r12d
je 0x18003b6d6
cmp r12d, ebx
je 0x18003b6d6
cmp byte [r14 + 0x3f09], r15b
jne 0x18003b6d6
xor sil, sil
jmp 0x18003b825
lea rcx, [rdi + 0x3f90]
mov r8b, 1
mov qword [rsp + 0x78], rcx
mov rdx, rcx
lea rcx, [rdi + 0x3f88]
call fcn.1800426d0
test al, al
jne 0x18003b700
xor sil, sil
jmp 0x18003b825
cmp dword [r14 + 0x3f7c], ebx
jne 0x18003b712
mov r8d, dword [r14 + 0x3f80]
jmp 0x18003b719
mov r8d, dword [r14 + 0x3f64]
bt r8d, 8
jb 0x18003b742
mov rcx, qword [r14 + 0x3eb0]
xor edx, edx
call fcn.180042860
test al, al
jne 0x18003b742
mov byte [r14 + 0x3ef3], 1
xor sil, sil
jmp 0x18003b825
test ebx, ebx
je 0x18003b76b
mov dword [r14 + 0x3ee8], ebx
mov byte [r14 + 0x3ef0], r15b
cmp dword [r14 + 0x3eec], ebx
je 0x18003b764
mov qword [r14 + 0x3ef4], r15
mov r14, qword [0x1800c1d18]
test r8b, 4
je 0x18003b78a
cmp r12d, ebx
jne 0x18003b77b
call fcn.18003d260
mov byte [rsi + 0x3ef3], 1
xor sil, sil
jmp 0x18003b825
test ebx, ebx
je 0x18003b7f9
cmp byte [rsi + 0x5424], r15b
je 0x18003b7f0
cmp dword [rsi + 0x3eec], ebx
jne 0x18003b7f0
mov rax, qword [r14 + 0x40b8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180040ab0
movss xmm0, dword [0x180081e80]
lea rdx, [rdi + 0x3f88]
mov r8, qword [rsp + 0x78]
xorps xmm1, xmm1
movss dword [rsp + 0x30], xmm0
mov r9d, 0xff00ffff
mov dword [rsp + 0x28], r15d
mov rcx, rax
movss dword [rsp + 0x20], xmm1
call fcn.180053de0
cmp dword [rsi + 0x5428], ebx
jne 0x18003b7f9
int3
cmp byte [rsi + 0x4103], r15b
je 0x18003b807
xor sil, sil
jmp 0x18003b825
mov sil, 1
cmp byte [rdi + 0x36b8], r15b
je 0x18003b825
mov rdx, rbp
mov ecx, ebx
call fcn.18004c480
mov rcx, rbp
call fcn.18003fb40
mov r12, qword [rsp + 0x70]
cmp dword [rdi + 0x3efc], ebx
jne 0x18003b888
mov byte [rdi + 0x3f09], sil
movsxd rcx, dword [rbp + 0xc8]
mov rax, qword [rbp + 0xd0]
mov r14d, dword [rax + rcx*4 - 4]
mov rax, qword [0x1800c1d18]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xd9c], 0
jne 0x18003b865
xor sil, sil
jmp 0x18003b87e
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x3710]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.18004c550
test sil, sil
jne 0x18003b8e2
xor al, al
jmp 0x18003b983
mov r9d, 0xffffffff
lea rdx, [0x180083159]
mov ebx, r9d
lea r10, [0x180082130]
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x18003b8c3
cmp byte [rdx], r8b
jne 0x18003b8c3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
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 0x18003b8b0
not ebx
cmp byte [rdi + 0x4254], 0
jne 0x18003b921
call fcn.18003d2d0
mov dword [rdi + 0x4274], ebx
mov dword [rdi + 0x4278], r14d
mov byte [rdi + 0x4254], 1
mov dword [rdi + 0x4258], r13d
mov dword [rdi + 0x4260], r15d
cmp ebx, dword [rdi + 0x3efc]
jne 0x18003b921
mov byte [rdi + 0x3f0a], 1
mov eax, dword [rdi + 0x3e30]
mov dword [rdi + 0x425c], eax
mov byte [rdi + 0x4255], 1
test r13b, 1
jne 0x18003b974
xor edx, edx
xor ecx, ecx
call fcn.18003bd30
cmp dword [rdi + 0x42c8], 0
je 0x18003b974
test dword [rdi + 0x42bc], 0x1000
je 0x18003b974
mov rax, qword [rdi + 0x3eb0]
mov byte [rax + 0x93], 1
mov byte [rax + 0x95], 1
mov byte [rax + 0xb0], 1
test r13b, 0x12
jne 0x18003b981
and dword [rdi + 0x3f84], 0xfffffffe
mov al, 1
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret