Function at 0x18005ad2c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x218
mov rsi, qword [0x1801aa2d0]
mov r15d, 1
movaps xmmword [rax - 0x58], xmm6
xor r9d, r9d
movaps xmmword [rax - 0x68], xmm7
mov edi, r8d
movaps xmmword [rax - 0x78], xmm8
mov r14, rdx
movaps xmmword [rax - 0x88], xmm9
mov r12, rcx
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [rsi + 0x3ec8]
mov byte [rax + 0xb8], r15b
mov r13, qword [rsi + 0x3ec8]
mov qword [rbp - 0x50], r13
cmp byte [r13 + 0xbb], r9b
je 0x18005add8
xor al, al
jmp 0x18005bd0e
movss xmm10, dword [rsi + 0x3834]
addss xmm10, xmm10
addss xmm10, dword [rsi + 0x3c28]
call fcn.18003f8f8
movaps xmm14, xmm0
xorps xmm8, xmm8
test dil, 0x10
je 0x18005ae08
xorps xmm9, xmm9
jmp 0x18005ae15
movaps xmm9, xmm10
addss xmm9, dword [rsi + 0x3848]
movaps xmm11, xmm14
xor edx, edx
mov rcx, r12
subss xmm11, xmm9
call fcn.180033e84
mov qword [rbp - 0x40], rax
mov dword [rsi + 0x4750], r9d
call fcn.18003facc
mov rcx, r12
call fcn.18003d370
mov eax, dword [rsi + 0x5b00]
xor r10d, r10d
mov dword [rbp - 0x54], eax
test eax, eax
jne 0x18005ae68
movsxd rax, dword [r13 + 0xf0]
mov rcx, qword [r13 + 0xf8]
mov eax, dword [rcx + rax*4 - 4]
mov dword [rsi + 0x5b00], eax
mov dword [rbp - 0x58], edi
test dil, 0x20
je 0x18005ae7d
and edi, 0xff9fffff
or edi, 0x100008
test dil, 8
jne 0x18005ae90
mov edx, edi
mov rcx, r14
call fcn.18005e858
xor r10d, r10d
mov ecx, 0x700000
test ecx, edi
jne 0x18005aea3
mov eax, dword [rsi + 0x5afc]
and eax, ecx
or edi, eax
mov ecx, 0x1800000
test ecx, edi
jne 0x18005aeb6
mov eax, dword [rsi + 0x5afc]
and eax, ecx
or edi, eax
mov ecx, 0x6000000
test ecx, edi
jne 0x18005aec9
mov eax, dword [rsi + 0x5afc]
and eax, ecx
or edi, eax
mov ecx, 0x18000000
test ecx, edi
jne 0x18005aedc
mov eax, dword [rsi + 0x5afc]
and eax, ecx
or edi, eax
mov eax, dword [rsi + 0x5afc]
movss xmm3, dword [r14]
and eax, 0xe00fffff
movss xmm1, dword [r14 + 4]
or edi, eax
movss xmm2, dword [r14 + 8]
mov eax, edi
movss xmm12, dword [0x1801584ec]
mov ebx, edi
shr eax, 1
shr ebx, 0x13
not al
and al, r15b
movss dword [rsp + 0x40], xmm3
movzx ecx, al
and bl, r15b
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm2
mov dword [rbp + 0x170], edi
mov dword [rsp + 0x64], ecx
lea edx, [rcx + 3]
mov dword [rsp + 0x60], edx
mov dword [rbp - 0x80], ebx
test al, al
je 0x18005af49
movss xmm0, dword [r14 + 0xc]
jmp 0x18005af4d
movaps xmm0, xmm12
mov r9d, 0x10100000
movss dword [rsp + 0x4c], xmm0
mov eax, edi
mov r8d, 0x8200000
and eax, r9d
cmp eax, r9d
jne 0x18005af8c
lea rax, [rsp + 0x48]
movaps xmm0, xmm3
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
call fcn.180033854
jmp 0x18005afce
mov eax, edi
and eax, r8d
cmp eax, r8d
jne 0x18005aff1
lea rax, [rsp + 0x48]
movaps xmm0, xmm3
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
call fcn.1800337ac
lea r9, [rsp + 0x48]
mov rcx, r14
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x40]
call fcn.18005ac8c
mov edx, dword [rsp + 0x60]
xor r10d, r10d
mov ecx, dword [rsp + 0x64]
movss xmm3, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x44]
movss xmm2, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x4c]
comiss xmm3, xmm8
movss xmm5, dword [0x1801586e0]
movss xmm4, dword [0x180158494]
jb 0x18005b00c
movaps xmm7, xmm4
jmp 0x18005b00f
movaps xmm7, xmm5
comiss xmm1, xmm8
movss xmm6, dword [0x180158664]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [rsp + 0x68], eax
jb 0x18005b032
movaps xmm3, xmm4
jmp 0x18005b035
movaps xmm3, xmm5
comiss xmm2, xmm8
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rsp + 0x6c], eax
jb 0x18005b050
movaps xmm1, xmm4
jmp 0x18005b053
movaps xmm1, xmm5
comiss xmm0, xmm8
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rsp + 0x70], eax
jae 0x18005b06c
movaps xmm4, xmm5
mov r15b, r10b
mulss xmm0, xmm6
mov byte [rbp + 0x178], r10b
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [rsp + 0x74], eax
movss xmm13, dword [r13 + 0x100]
movss xmm15, dword [r13 + 0x104]
cmp dword [rsi + 0x3888], r10d
jne 0x18005b0a7
movaps xmm1, xmm9
jmp 0x18005b0aa
xorps xmm1, xmm1
movaps xmm0, xmm13
addss xmm0, xmm1
movss dword [r13 + 0x100], xmm0
test edi, 0x300000
je 0x18005b5f2
test dil, 0x20
jne 0x18005b5f2
movss xmm2, dword [rsi + 0x3848]
lea eax, [rdx - 1]
movd xmm3, eax
lea rcx, [rbp - 0x78]
cvtdq2ps xmm3, xmm3
mov r12d, edi
and r12d, 0x1000000
movaps xmm1, xmm11
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
lea rdx, str.M:000
divss xmm1, xmm0
movaps xmm0, xmm11
cvttss2si eax, xmm1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
maxss xmm6, xmm12
addss xmm2, xmm6
mulss xmm2, xmm3
subss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [0x1801586f0]
movss dword [rsp + 0x20], xmm0
movd xmm7, eax
lea rax, str.M:0.000
cmovne rdx, rax
xor r9d, r9d
cvtdq2ps xmm7, xmm7
xor r8d, r8d
maxss xmm7, xmm12
call fcn.1800381c8
mov r9d, dword [rsp + 0x60]
comiss xmm6, dword [rax]
mov eax, edi
setbe r8b
xor r10d, r10d
and eax, 0x200000
mov edx, r10d
test r9d, r9d
je 0x18005b281
test r12d, r12d
je 0x18005b50f
mov r13d, dword [rbp - 0x80]
lea r12, [0x180157d70]
mov ecx, edi
lea r14, [rsp + 0x40]
and ecx, 8
neg eax
mov dword [rsp + 0x58], ecx
mov edi, dword [rsp + 0x58]
lea ecx, [r10 + 1]
sbb rbx, rbx
lea rax, str._0.3f
neg rbx
add rbx, rcx
test r8b, r8b
cmovne rbx, r10
shl rbx, 5
sub rbx, r12
add rbx, rax
test edx, edx
je 0x18005b1ef
movss xmm1, dword [rsi + 0x3848]
movaps xmm0, xmm8
call fcn.18003f7a4
mov ecx, 1
lea eax, [rdx + 1]
mov dword [rsp + 0x58], eax
cmp eax, r9d
jge 0x18005b200
movaps xmm0, xmm6
jmp 0x18005b203
movaps xmm0, xmm7
mov rax, qword [0x1801aa2d0]
or dword [rax + 0x4750], ecx
movss dword [rax + 0x4754], xmm0
mov rax, qword [r12 + rbx]
test r13b, r13b
je 0x18005b227
movaps xmm0, xmm8
jmp 0x18005b22b
movaps xmm0, xmm12
mov rcx, qword [r12]
mov rdx, r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm0
call fcn.1800555dc
or r15b, al
or byte [rbp + 0x178], r15b
test edi, edi
jne 0x18005b255
call fcn.180040b6c
mov edx, dword [rsp + 0x58]
add r14, 4
mov r9d, dword [rsp + 0x60]
add r12, 8
mov ecx, 1
cmp edx, r9d
jl 0x18005b1d5
mov edi, dword [rbp + 0x170]
mov r14, qword [rbp + 0x168]
mov r12, qword [rbp + 0x160]
mov ecx, dword [0x1801a9b20]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801ab1d4], eax
jg 0x18005bd61
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
and qword [rbp - 0x18], 0
movups xmmword [rbp - 0x30], xmm0
or r8, 0xffffffffffffffff
inc r8
cmp byte [r12 + r8], 0
jne 0x18005b2c4
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.180001c24
mov r13, qword [rbp - 0x18]
lea rdx, [rbp - 0x30]
mov r12, qword [rbp - 0x30]
cmp r13, 0xf
mov r8, qword [rbp - 0x20]
movabs rax, 0xcbf29ce484222325
cmova rdx, r12
mov qword [rsp + 0x58], rax
xor ecx, ecx
mov r9, rax
movabs r10, 0x100000001b3
test r8, r8
je 0x18005b333
lea r14d, [rcx + 1]
movzx eax, byte [rcx + rdx]
add rcx, r14
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x18005b319
mov r14, qword [rbp + 0x168]
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x18]
call fcn.1800618c4
mov rcx, qword [0x1801ab1e8]
mov rbx, rcx
cmp qword [rax + 8], 0
cmovne rbx, qword [rax + 8]
cmp r13, 0xf
jbe 0x18005b393
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x18005b384
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b508
mov rcx, r12
call fcn.180066224
mov rcx, qword [0x1801ab1e8]
cmp rbx, rcx
jne 0x18005b792
mov rbx, qword [rbp + 0x160]
xorps xmm0, xmm0
xorps xmm1, xmm1
or r12, 0xffffffffffffffff
movups xmmword [rbp - 0x30], xmm0
mov r8, r12
movdqu xmmword [rbp - 0x20], xmm1
inc r8
cmp byte [rbx + r8], 0
jne 0x18005b3b9
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180001c24
movups xmm0, xmmword [rbp - 0x30]
and dword [rbp + 0x10], 0
lea r8, [rbp - 0x10]
movups xmm1, xmmword [rbp - 0x20]
lea rdx, [rbp - 0x78]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm1
call fcn.1800610c4
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x18005b42b
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b426
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b508
call fcn.180066224
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x78], xmm0
mov r8, r12
movdqu xmmword [rbp - 0x68], xmm1
inc r8
cmp byte [rbx + r8], 0
jne 0x18005b43d
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180001c24
mov r13, qword [rbp - 0x60]
lea rdx, [rbp - 0x78]
mov r12, qword [rbp - 0x78]
cmp r13, 0xf
mov r8, qword [rbp - 0x68]
cmova rdx, r12
xor ecx, ecx
test r8, r8
je 0x18005b4ad
movabs r14, 0xcbf29ce484222325
lea r13d, [rcx + 1]
movabs r9, 0x100000001b3
movzx eax, byte [rcx + rdx]
add rcx, r13
xor r14, rax
imul r14, r9
cmp rcx, r8
jb 0x18005b48a
mov r13, qword [rbp - 0x60]
mov qword [rsp + 0x58], r14
mov r14, qword [rbp + 0x168]
mov r9, qword [rsp + 0x58]
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
call fcn.1800618c4
mov rbx, qword [0x1801ab1e8]
cmp qword [rax + 8], 0
cmovne rbx, qword [rax + 8]
cmp r13, 0xf
jbe 0x18005b792
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x18005b78a
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b78a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r9d, r9d
je 0x18005b281
neg bl
lea r12, [0x180157d70]
mov ecx, edi
mov r13, r10
sbb r14d, r14d
mov edi, edx
and ecx, 8
not r14d
and r14d, 0xff
mov dword [rbp - 0x80], ecx
neg eax
mov ecx, 1
lea rax, [0x180157d90]
sbb rbx, rbx
neg rbx
add rbx, rcx
test r8b, r8b
cmovne rbx, r10
shl rbx, 5
add rbx, rax
mov edx, edi
test edi, edi
je 0x18005b57c
movss xmm1, dword [rsi + 0x3848]
movaps xmm0, xmm8
call fcn.18003f7a4
mov ecx, 1
lea eax, [rdi + 1]
mov edi, eax
cmp eax, r9d
jge 0x18005b58b
movaps xmm0, xmm6
jmp 0x18005b58e
movaps xmm0, xmm7
mov rax, qword [0x1801aa2d0]
or dword [rax + 0x4750], ecx
mov rcx, qword [r12 + r13*8]
movss dword [rax + 0x4754], xmm0
mov rax, rdx
lea rdx, [rsp + 0x68]
lea rdx, [rdx + rax*4]
mov rax, qword [rbx + r13*8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
call fcn.180055620
or r15b, al
xor r10d, r10d
cmp dword [rbp - 0x80], r10d
jne 0x18005b5d7
call fcn.180040b6c
mov r9d, dword [rsp + 0x60]
mov ecx, 1
add r13, rcx
cmp r13, r9
jl 0x18005b560
jmp 0x18005b274
bt edi, 0x16
jae 0x18005b288
test dil, 0x20
jne 0x18005b288
mov ebx, 0xff
test cl, cl
je 0x18005b67b
mov eax, dword [rsp + 0x74]
cmp eax, ebx
mov r8d, eax
cmovg r8d, ebx
test eax, eax
mov eax, dword [rsp + 0x70]
mov edx, eax
cmovs r8d, r10d
cmp eax, ebx
mov dword [rsp + 0x30], r8d
lea r8, [0x180158008]
cmovg edx, ebx
test eax, eax
mov eax, dword [rsp + 0x6c]
mov ecx, eax
cmovs edx, r10d
cmp eax, ebx
mov dword [rsp + 0x28], edx
mov edx, 0x40
cmovg ecx, ebx
test eax, eax
mov eax, dword [rsp + 0x68]
mov r9d, eax
cmovs ecx, r10d
cmp eax, ebx
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x30]
cmovg r9d, ebx
test eax, eax
cmovs r9d, r10d
call fcn.180032d0c
jmp 0x18005b6cd
mov eax, dword [rsp + 0x70]
lea r8, [0x180158020]
cmp eax, ebx
mov edx, eax
cmovg edx, ebx
test eax, eax
mov eax, dword [rsp + 0x6c]
mov ecx, eax
cmovs edx, r10d
cmp eax, ebx
mov dword [rsp + 0x28], edx
mov edx, 0x40
cmovg ecx, ebx
test eax, eax
mov eax, dword [rsp + 0x68]
mov r9d, eax
cmovs ecx, r10d
cmp eax, ebx
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x30]
cmovg r9d, ebx
test eax, eax
cmovs r9d, r10d
call fcn.180032d0c
mov rax, qword [0x1801aa2d0]
lea rdx, [rbp + 0x30]
mov r13d, 1
lea rcx, str.Text
or dword [rax + 0x4750], r13d
lea r9d, [r13 + 5]
movss dword [rax + 0x4754], xmm11
call fcn.180055ea0
xor r10d, r10d
test al, al
je 0x18005b776
mov r15b, r13b
lea rcx, [rbp + 0x30]
mov al, byte [rcx]
cmp al, 0x23
je 0x18005b71a
cmp al, 0x20
je 0x18005b71a
cmp al, 9
jne 0x18005b71f
add rcx, r13
jmp 0x18005b70c
lea r9, [rsp + 0x6c]
mov qword [rsp + 0x6c], r10
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x74], ebx
cmp byte [rsp + 0x64], r10b
je 0x18005b760
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rdx, str._02X_02X_02X_02X
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.180031410
jmp 0x18005b776
lea rax, [rsp + 0x70]
lea rdx, str._02X_02X_02X
mov qword [rsp + 0x20], rax
call fcn.180031410
test dil, 8
jne 0x18005b288
call fcn.180040b6c
jmp 0x18005b288
mov rcx, r12
call fcn.180066224
mov rax, qword [0x1801aa2d0]
lea rdx, [0x180158058]
mov rcx, qword [rax + 0x3ec8]
call fcn.18003535c
xor edx, edx
mov ecx, eax
call fcn.180040518
xor ecx, ecx
test al, al
je 0x18005b7c1
movaps xmm0, xmm12
jmp 0x18005b7c5
movaps xmm0, xmm8
mov r12, rcx
subss xmm0, dword [rbx + 0x30]
mulss xmm0, dword [0x18015841c]
addss xmm0, dword [rbx + 0x30]
movss dword [rbx + 0x30], xmm0
test dil, 0x10
jne 0x18005ba3f
test dil, 0x20
jne 0x18005b802
cmp dword [rsi + 0x3888], ecx
je 0x18005b802
addss xmm11, dword [rsi + 0x3848]
jmp 0x18005b806
movaps xmm11, xmm8
movaps xmm0, xmm13
mov r13, qword [rbp - 0x50]
addss xmm0, xmm11
movss dword [r13 + 0x104], xmm15
movss dword [r13 + 0x100], xmm0
cmp byte [rsp + 0x64], cl
je 0x18005b831
movss xmm12, dword [r14 + 0xc]
movss xmm0, dword [r14]
lea r9, [rsp + 0x58]
movss xmm1, dword [r14 + 4]
lea rdx, [rbp - 0x78]
movss dword [rbp - 0x78], xmm0
lea rcx, str.ColorButton
movss xmm0, dword [r14 + 8]
mov r8d, edi
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x6c], xmm12
mov dword [rsp + 0x58], 0x41400000
mov dword [rsp + 0x5c], 0x41400000
call fcn.18005def4
test al, al
je 0x18005b8ef
test dil, 4
jne 0x18005b8ef
movups xmm0, xmmword [rbp - 0x78]
lea rcx, [0x180158058]
movdqu xmmword [rsi + 0x5b14], xmm0
call fcn.1800405e4
movss xmm1, dword [rsi + 0x3844]
mov ecx, 1
mov rax, qword [0x1801aa2d0]
addss xmm1, dword [rsi + 0x477c]
movss xmm0, dword [rsi + 0x4770]
or dword [rax + 0x47a0], ecx
and dword [rax + 0x47b8], r12d
and dword [rax + 0x47bc], r12d
movss dword [rax + 0x47b4], xmm1
movss dword [rax + 0x47b0], xmm0
mov dword [rax + 0x47a4], ecx
test dil, 8
jne 0x18005b8fa
call fcn.180040b6c
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x41200000
mov ecx, 2
mov dword [rsp + 0x5c], 0x41200000
call fcn.180033d6c
movss xmm1, dword [0x180158564]
mov ecx, 9
call fcn.180033cf4
movss xmm1, dword [rbx + 0x30]
xor ecx, ecx
call fcn.180033cf4
mov rax, qword [0x1801aa2d0]
lea rcx, [rbp - 0x50]
movdqu xmm0, xmmword [rax + 0x38f0]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x44], xmm0
call fcn.180033708
mov edx, eax
call fcn.180033b8c
movaps xmm0, xmmword [0x180158830]
lea rdx, [rbp - 0x50]
mov ecx, 5
movups xmmword [rbp - 0x50], xmm0
call fcn.180033c40
xor edx, edx
lea rcx, [0x180158058]
call fcn.180040ac4
mov rbx, qword [rbp + 0x160]
test al, al
je 0x18005ba29
mov rax, qword [rsi + 0x3ec8]
mov ecx, 1
cmp word [rax + 0xc2], cx
jne 0x18005ba24
mov r12, rax
mov rax, qword [rbp - 0x40]
cmp rbx, rax
je 0x18005b9da
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1800519a0
call fcn.180053a8c
mov ecx, 1
mov rax, qword [0x1801aa2d0]
lea r9, [rsi + 0x5b14]
mulss xmm10, dword [0x1801585b4]
mov rdx, r14
mov r8d, dword [rbp - 0x58]
and r8d, 0x1f890002
or dword [rax + 0x4750], ecx
or r8d, 0x7401a0
lea rcx, str.picker
movss dword [rax + 0x4754], xmm10
call fcn.18005c00c
or r15b, al
call fcn.180040b14
mov ecx, 2
call fcn.180033c9c
mov ecx, 3
call fcn.180033df8
jmp 0x18005ba4a
mov rbx, qword [rbp + 0x160]
mov r13, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
cmp rbx, rdx
je 0x18005ba95
test dil, dil
js 0x18005ba95
movss xmm1, dword [rsi + 0x3848]
movaps xmm0, xmm8
call fcn.18003f7a4
test dil, 0x20
jne 0x18005ba7c
addss xmm14, dword [rsi + 0x3848]
movaps xmm9, xmm14
addss xmm9, xmm13
xor r8d, r8d
mov rcx, rbx
movss dword [r13 + 0x100], xmm9
call fcn.1800519a0
xor r13d, r13d
test r15b, r15b
je 0x18005bbdc
test r12, r12
jne 0x18005bbdc
cmp byte [rbp + 0x178], r13b
jne 0x18005bac8
movdqu xmm0, xmmword [rsp + 0x68]
cvtdq2ps xmm1, xmm0
mulps xmm1, xmmword [0x180158820]
movups xmmword [rsp + 0x40], xmm1
mov ecx, 0x8200000
mov eax, edi
and eax, ecx
cmp eax, ecx
jne 0x18005bb5d
movss xmm0, dword [rsp + 0x40]
lea rax, [rsp + 0x48]
movss xmm1, dword [rsp + 0x44]
lea r9, [rsp + 0x40]
movss xmm2, dword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
movss dword [rsi + 0x5b08], xmm0
movss dword [rsi + 0x5b0c], xmm1
call fcn.180033854
mov eax, dword [rsi + 0x5b00]
lea rcx, [rbp - 0x40]
movss xmm6, dword [rsp + 0x40]
movss xmm7, dword [rsp + 0x44]
movss xmm8, dword [rsp + 0x48]
and dword [rbp - 0x34], r13d
movss dword [rbp - 0x40], xmm6
movss dword [rbp - 0x3c], xmm7
movss dword [rbp - 0x38], xmm8
mov dword [rsi + 0x5b04], eax
call fcn.180033708
mov dword [rsi + 0x5b10], eax
jmp 0x18005bb70
movss xmm8, dword [rsp + 0x48]
movss xmm7, dword [rsp + 0x44]
movss xmm6, dword [rsp + 0x40]
mov ecx, 0x10100000
mov eax, edi
and eax, ecx
cmp eax, ecx
jne 0x18005bbb8
lea rax, [rsp + 0x48]
movaps xmm2, xmm8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x44]
movaps xmm1, xmm7
movaps xmm0, xmm6
mov qword [rsp + 0x20], rax
call fcn.1800337ac
movss xmm8, dword [rsp + 0x48]
movss xmm7, dword [rsp + 0x44]
movss xmm6, dword [rsp + 0x40]
movss dword [r14], xmm6
movss dword [r14 + 4], xmm7
movss dword [r14 + 8], xmm8
cmp byte [rsp + 0x64], r13b
je 0x18005bbdc
movss xmm0, dword [rsp + 0x4c]
movss dword [r14 + 0xc], xmm0
cmp dword [rbp - 0x54], r13d
jne 0x18005bbe9
mov dword [rsi + 0x5b00], r13d
mov rax, qword [0x1801aa2d0]
mov rcx, qword [rax + 0x3ec8]
dec dword [rcx + 0xf0]
call fcn.18003fbf4
mov eax, 1
test byte [rsi + 0x476c], al
je 0x18005bcd9
bt edi, 9
jb 0x18005bcd9
call fcn.1800441fc
test al, al
je 0x18005bcd9
lea rcx, str._COL3F
mov bl, r13b
call fcn.1800442d0
test rax, rax
je 0x18005bc5b
mov rax, qword [rax]
movsd xmm0, qword [rax]
movsd qword [r14], xmm0
mov eax, dword [rax + 8]
mov dword [r14 + 8], eax
mov eax, 1
mov bl, al
mov r15b, al
lea rcx, str._COL4F
call fcn.1800442d0
test rax, rax
je 0x18005bc88
mov r8d, dword [rsp + 0x60]
mov rcx, r14
mov rdx, qword [rax]
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov r15d, 1
jmp 0x18005bc8c
test bl, bl
je 0x18005bcbd
bt edi, 0x1c
jae 0x18005bcbd
movss xmm2, dword [r14 + 8]
lea rax, [r14 + 8]
movss xmm1, dword [r14 + 4]
lea rcx, [r14 + 4]
movss xmm0, dword [r14]
mov r9, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.1800337ac
mov rax, qword [0x1801aa2d0]
mov byte [rax + 0x4a4e], r13b
cmp byte [rax + 0x4a9a], r13b
je 0x18005bcd9
call fcn.180043eb8
test r12, r12
je 0x18005bcf7
mov eax, dword [rsi + 0x3f28]
test eax, eax
je 0x18005bcf7
cmp qword [rsi + 0x3f48], r12
jne 0x18005bcf7
mov dword [rsi + 0x4764], eax
test r15b, r15b
je 0x18005bd0b
mov ecx, dword [rsi + 0x4764]
test ecx, ecx
je 0x18005bd0b
call fcn.1800356a0
mov al, r15b
lea r11, [rsp + 0x218]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1801ab1d4]
call fcn.1800662cc
cmp dword [0x1801ab1d4], 0xffffffff
jne 0x18005b2af
mov ecx, 0x38
call fcn.1800661e8
xorps xmm0, xmm0
lea rcx, [0x1801ab1f8]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
and qword [0x1801ab1f8], 0
mov qword [0x1801ab1e8], rax
movdqu xmmword [0x1801ab200], xmm0
mov qword [0x1801ab210], 7
mov qword [0x1801ab218], 8
mov dword [0x1801ab1e0], 0x3f800000
call fcn.180004794
lea rcx, [0x1800d2628]
call fcn.18006669c
lea rcx, [0x1801ab1d4]
call fcn.180066260
jmp 0x18005b2af