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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x250
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x1400fe040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov esi, r8d
mov r13, rdx
mov qword [rsp + 0x50], rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
mov r14, qword [0x140125550]
mov rax, qword [r14 + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rbx, qword [r14 + 0x3ec8]
mov qword [rbp - 0x78], rbx
cmp byte [rbx + 0xbb], 0
je 0x14003fcb6
xor al, al
jmp 0x140040f38
movss xmm11, dword [r14 + 0x3834]
addss xmm11, xmm11
addss xmm11, dword [r14 + 0x3c28]
call fcn.140015190
movaps xmm8, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm9, xmm9
test sil, 0x10
je 0x14003fcec
xorps xmm13, xmm13
jmp 0x14003fcf9
movaps xmm13, xmm11
addss xmm13, dword [r14 + 0x3848]
movaps xmm12, xmm0
subss xmm12, xmm13
mov qword [rsp + 0x78], r15
cmp r15, 0xffffffffffffffff
jae 0x14003fd37
mov r13, r15
movzx ecx, byte [r13]
test cl, cl
je 0x14003fd34
lea rax, [r13 + 1]
cmp cl, 0x23
jne 0x14003fd26
cmp byte [rax], cl
je 0x14003fd34
mov r13, rax
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jb 0x14003fd10
mov r13, rdx
xor edi, edi
mov dword [r14 + 0x4750], edi
call fcn.140015330
mov rcx, r15
call fcn.140012550
mov eax, dword [r14 + 0x5b00]
mov dword [rbp - 0x7c], eax
test eax, eax
jne 0x14003fd74
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r14 + 0x5b00], ecx
mov dword [rbp - 0x80], esi
test sil, 0x20
je 0x14003fd89
and esi, 0xff9fffff
or esi, 0x100008
test sil, 8
jne 0x14003fd99
mov edx, esi
mov rcx, r13
call fcn.140044310
test esi, 0x700000
jne 0x14003fdaf
mov eax, dword [r14 + 0x5afc]
and eax, 0x700000
or esi, eax
test esi, 0x1800000
jne 0x14003fdc5
mov eax, dword [r14 + 0x5afc]
and eax, 0x1800000
or esi, eax
test esi, 0x6000000
jne 0x14003fddb
mov eax, dword [r14 + 0x5afc]
and eax, 0x6000000
or esi, eax
test esi, 0x18000000
jne 0x14003fdf1
mov eax, dword [r14 + 0x5afc]
and eax, 0x18000000
or esi, eax
mov eax, dword [r14 + 0x5afc]
and eax, 0xe00fffff
or esi, eax
mov dword [rsp + 0x70], esi
mov eax, esi
shr eax, 1
not al
and al, 1
movzx edx, al
mov dword [rsp + 0x48], edx
mov r12d, esi
shr r12d, 0x13
and r12b, 1
mov dword [rbp + 0x18], r12d
lea ecx, [rdx + 3]
mov dword [rsp + 0x44], ecx
movss xmm3, dword [r13]
movss dword [rbp + 0x40], xmm3
movss xmm1, dword [r13 + 4]
movss dword [rbp + 0x44], xmm1
movss xmm2, dword [r13 + 8]
movss dword [rbp + 0x48], xmm2
movss xmm10, dword [0x1400ec4a0]
test al, al
je 0x14003fe5e
movss xmm0, dword [r13 + 0xc]
jmp 0x14003fe62
movaps xmm0, xmm10
movss dword [rbp + 0x4c], xmm0
mov eax, esi
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x14003fe95
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
movaps xmm0, xmm3
call fcn.140005bd0
jmp 0x14003fed5
mov eax, esi
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x14003fef1
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
movaps xmm0, xmm3
call fcn.140005b20
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x44]
lea rdx, [rbp + 0x40]
mov rcx, r13
call fcn.14003fb40
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
movss xmm3, dword [rbp + 0x40]
movss xmm1, dword [rbp + 0x44]
movss xmm2, dword [rbp + 0x48]
movss xmm0, dword [rbp + 0x4c]
movss xmm5, dword [0x1400ec654]
movss xmm4, dword [0x1400ec46c]
comiss xmm3, xmm9
jb 0x14003ff0c
movaps xmm7, xmm4
jmp 0x14003ff0f
movaps xmm7, xmm5
movss xmm6, dword [0x1400ec600]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [rbp + 0x50], eax
comiss xmm1, xmm9
jb 0x14003ff31
movaps xmm3, xmm4
jmp 0x14003ff34
movaps xmm3, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x54], eax
comiss xmm2, xmm9
jb 0x14003ff4e
movaps xmm1, xmm4
jmp 0x14003ff51
movaps xmm1, xmm5
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x58], eax
comiss xmm0, xmm9
jae 0x14003ff69
movaps xmm4, xmm5
mulss xmm0, xmm6
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [rbp + 0x5c], eax
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x41], dil
movss xmm7, dword [rbx + 0x100]
movss dword [rsp + 0x60], xmm7
movss xmm14, dword [rbx + 0x104]
cmp dword [r14 + 0x3888], edi
jne 0x14003ffa8
movaps xmm1, xmm13
jmp 0x14003ffac
movaps xmm1, xmm9
movaps xmm0, xmm7
addss xmm0, xmm1
movss dword [rbx + 0x100], xmm0
movss xmm15, dword [0x1400ec660]
test esi, 0x300000
je 0x140040477
test sil, 0x20
jne 0x140040477
lea eax, [rcx - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss xmm2, dword [r14 + 0x3848]
movaps xmm0, xmm2
mulss xmm0, xmm3
movaps xmm1, xmm12
subss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm7, xmm10
maxss xmm7, xmm1
addss xmm2, xmm7
mulss xmm2, xmm3
movaps xmm0, xmm12
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm8, xmm10
maxss xmm8, xmm1
mov r15d, esi
and r15d, 0x1000000
lea rcx, str.M:0.000
lea rax, str.M:000
cmovne rax, rcx
mov rbx, qword [0x140125550]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm15
movss xmm3, dword [0x1400ec644]
movss xmm2, dword [rbx + 0x3c28]
lea rdx, [rbp + 0x20]
mov rcx, qword [rbx + 0x3c20]
call fcn.14002d860
movss xmm0, dword [rbp + 0x20]
addss xmm0, dword [0x1400ec498]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
setae al
test al, al
je 0x1400400bc
xor r9d, r9d
mov r13d, r9d
jmp 0x1400400cd
bt esi, 0x15
mov r9, rdi
mov r13, rdi
setb r13b
inc r13
mov edi, r9d
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x1400401d4
test r15d, r15d
je 0x140040399
mov eax, esi
and eax, 8
mov dword [rbp + 0x20], eax
lea r12, [0x1400eba68]
lea r15, [rbp + 0x40]
shl r13, 5
sub r13, r12
lea rax, str._0.3f
add r13, rax
movss xmm6, dword [0x1400ec410]
mov esi, dword [rbp + 0x18]
test edi, edi
je 0x14004012c
movss xmm1, dword [r14 + 0x3848]
movaps xmm0, xmm9
call fcn.140015030
lea eax, [rdi + 1]
mov edi, eax
cmp eax, r8d
jge 0x14004013b
movaps xmm0, xmm7
jmp 0x14004013f
movaps xmm0, xmm8
or dword [rbx + 0x4750], 1
movss dword [rbx + 0x4754], xmm0
mov rax, qword [r12 + r13]
test sil, sil
je 0x14004015d
movaps xmm0, xmm9
jmp 0x140040161
movaps xmm0, xmm10
movss dword [rbp + 0x18], xmm0
mov dword [rbp + 0x28], 0
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm6
mov r8, r15
mov edx, 8
mov rcx, qword [r12]
call fcn.140037880
movzx edx, byte [rsp + 0x40]
or dl, al
mov byte [rsp + 0x40], dl
or byte [rsp + 0x41], dl
cmp dword [rbp + 0x20], 0
jne 0x1400401b2
call fcn.1400168e0
add r15, 4
add r12, 8
mov r8d, dword [rsp + 0x44]
cmp edi, r8d
jge 0x1400401d0
mov rbx, qword [0x140125550]
jmp 0x140040116
mov esi, dword [rsp + 0x70]
movss xmm7, dword [rsp + 0x60]
movss xmm8, dword [rsp + 0x64]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
xor r12d, r12d
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140128b04], eax
jle 0x1400402d6
lea rcx, [0x140128b04]
call fcn.1400c3b40
cmp dword [0x140128b04], 0xffffffff
jne 0x1400402d6
xorps xmm0, xmm0
movups xmmword [0x140128b10], xmm0
movups xmmword [0x140128b20], xmm0
movups xmmword [0x140128b30], xmm0
movups xmmword [0x140128b40], xmm0
mov dword [0x140128b10], 0
mov qword [0x140128b18], r12
mov qword [0x140128b20], r12
mov ecx, 0x38
call fcn.1400c37e0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x140128b18], rax
mov qword [0x140128b28], r12
xorps xmm0, xmm0
movdqu xmmword [0x140128b30], xmm0
mov qword [0x140128b40], 7
mov qword [0x140128b48], 8
mov dword [0x140128b10], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x140128b28]
call fcn.140002fe0
nop
lea rcx, [0x1400c5930]
call fcn.1400c3a44
nop
lea rcx, [0x140128b04]
call fcn.1400c3ad4
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.140002e40
mov r10, rax
mov r8, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400402f6
mov rdx, qword [rax]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, r12
movabs r11, 0x100000001b3
test r8, r8
je 0x140040333
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r8
jb 0x140040320
mov r8, r10
lea rdx, [rbp - 0x48]
call fcn.14004aad0
mov rcx, qword [rax + 8]
mov rax, qword [0x140128b18]
mov rbx, rax
test rcx, rcx
cmovne rbx, rcx
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140040643
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040637
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040637
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r8d, r8d
je 0x1400401d4
mov r15, r9
mov edi, 0xff
test r12b, r12b
cmovne edi, r9d
mov eax, esi
and eax, 8
mov dword [rbp + 0x18], eax
shl r13, 5
lea rax, [0x1400eba90]
add r13, rax
lea r12, [0x1400eba68]
mov esi, r9d
mov edx, esi
test esi, esi
je 0x1400403e9
movss xmm1, dword [r14 + 0x3848]
movaps xmm0, xmm9
call fcn.140015030
lea eax, [rsi + 1]
mov esi, eax
cmp eax, r8d
jge 0x1400403f8
movaps xmm0, xmm7
jmp 0x1400403fc
movaps xmm0, xmm8
or dword [rbx + 0x4750], 1
movss dword [rbx + 0x4754], xmm0
mov rcx, qword [r13 + r15*8]
mov dword [rbp + 0x20], edi
mov dword [rbp + 0x28], r9d
lea r8, [rbp + 0x50]
lea r8, [r8 + rdx*4]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm10
mov edx, 4
mov rcx, qword [r12 + r15*8]
call fcn.140037880
or byte [rsp + 0x40], al
cmp dword [rbp + 0x18], 0
jne 0x140040457
call fcn.1400168e0
inc r15
mov r8d, dword [rsp + 0x44]
cmp r15, r8
jge 0x1400401d0
mov rbx, qword [0x140125550]
xor r9d, r9d
jmp 0x1400403d1
bt esi, 0x16
jae 0x1400401eb
test sil, 0x20
jne 0x1400401eb
mov edi, 0xff
test dl, dl
je 0x140040505
mov edx, dword [rbp + 0x5c]
test edx, edx
jns 0x1400404a3
xor r8d, r8d
mov edx, r8d
jmp 0x1400404ab
cmp edx, edi
cmovg edx, edi
xor r8d, r8d
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jns 0x1400404b7
mov ecx, r8d
jmp 0x1400404bc
cmp ecx, edi
cmovg ecx, edi
mov eax, dword [rbp + 0x54]
test eax, eax
jns 0x1400404c8
mov eax, r8d
jmp 0x1400404cd
cmp eax, edi
cmovg eax, edi
mov r9d, dword [rbp + 0x50]
test r9d, r9d
jns 0x1400404db
mov r9d, r8d
jmp 0x1400404e2
cmp r9d, edi
cmovg r9d, edi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x1400eb840]
mov edx, 0x40
lea rcx, [rbp + 0x60]
call fcn.140005340
jmp 0x140040557
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jns 0x140040510
xor ecx, ecx
jmp 0x140040515
cmp ecx, edi
cmovg ecx, edi
mov eax, dword [rbp + 0x54]
test eax, eax
jns 0x140040520
xor eax, eax
jmp 0x140040525
cmp eax, edi
cmovg eax, edi
mov r9d, dword [rbp + 0x50]
test r9d, r9d
jns 0x140040533
xor r9d, r9d
jmp 0x14004053a
cmp r9d, edi
cmovg r9d, edi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x1400eb858]
mov edx, 0x40
lea rcx, [rbp + 0x60]
call fcn.140005340
mov rax, qword [0x140125550]
or dword [rax + 0x4750], 1
movss dword [rax + 0x4754], xmm12
mov qword [rsp + 0x50], 0
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 6
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x60]
xor edx, edx
lea rcx, str.Text
call fcn.14003c3d0
test al, al
je 0x140040623
mov byte [rsp + 0x40], 1
lea rcx, [rbp + 0x60]
nop dword [rax + rax]
movzx eax, byte [rcx]
cmp al, 0x23
je 0x1400405cf
cmp al, 0x20
je 0x1400405cf
cmp al, 9
jne 0x1400405d4
inc rcx
jmp 0x1400405c0
mov qword [rbp + 0x54], r12
mov dword [rbp + 0x50], r12d
mov dword [rbp + 0x5c], edi
lea r9, [rbp + 0x54]
lea r8, [rbp + 0x50]
cmp byte [rsp + 0x48], r12b
je 0x14004060e
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X_02X
call fcn.1400039f0
jmp 0x140040623
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.1400039f0
test sil, 8
jne 0x1400401ee
call fcn.1400168e0
jmp 0x1400401ee
call fcn.1400c3a64
mov rax, qword [0x140128b18]
movdqa xmm0, xmmword [0x1400ec6f0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
cmp rbx, rax
jne 0x1400407d3
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140002e40
nop
movups xmm1, xmmword [rax]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp - 0x10], 0
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x30]
call fcn.140049800
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400406dc
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400406d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400406d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c3a64
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14004071a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040715
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c3a64
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140002e40
mov r10, rax
mov r8, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14004073a
mov rdx, qword [rax]
mov rcx, r12
test r8, r8
je 0x140040763
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x140040750
mov r9, rdi
mov r8, r10
lea rdx, [rbp + 0x30]
call fcn.14004aad0
mov rcx, qword [rax + 8]
mov rbx, qword [0x140128b18]
test rcx, rcx
cmovne rbx, rcx
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400407c2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400407bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400407bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c3a64
movdqa xmm0, xmmword [0x1400ec6f0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
call fcn.1400160c0
test al, al
je 0x1400407e2
movaps xmm1, xmm10
jmp 0x1400407e6
movaps xmm1, xmm9
subss xmm1, dword [rbx + 0x30]
mulss xmm1, dword [0x1400ec42c]
addss xmm1, dword [rbx + 0x30]
movss dword [rbx + 0x30], xmm1
mov qword [rbp + 0x20], r12
test sil, 0x10
jne 0x140040c5a
test sil, 0x20
jne 0x140040826
cmp dword [r14 + 0x3888], 0
je 0x140040826
addss xmm12, dword [r14 + 0x3848]
jmp 0x14004082a
movaps xmm12, xmm9
movaps xmm0, xmm7
addss xmm0, xmm12
mov rax, qword [rbp - 0x78]
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm14
cmp byte [rsp + 0x48], 0
je 0x140040854
movss xmm10, dword [r13 + 0xc]
movss xmm0, dword [r13]
movss dword [rbp + 0x30], xmm0
movss xmm1, dword [r13 + 4]
movss dword [rbp + 0x34], xmm1
movss xmm0, dword [r13 + 8]
movss dword [rbp + 0x38], xmm0
movss dword [rbp + 0x3c], xmm10
mov dword [rsp + 0x50], 0x41400000
mov dword [rsp + 0x54], 0x41400000
lea r9, [rsp + 0x50]
mov r8d, esi
lea rdx, [rbp + 0x30]
lea rcx, str.ColorButton
call fcn.1400436f0
test al, al
je 0x140040992
test sil, 4
jne 0x140040992
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [r14 + 0x5b14], xmm0
mov r12, qword [0x140125550]
mov rdi, qword [r12 + 0x3ec8]
movsxd rax, dword [rdi + 0xf0]
mov r8, qword [rdi + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
xor edx, edx
lea rcx, str.picker
call fcn.1400054e0
mov r15d, eax
mov rcx, qword [rdi]
cmp dword [rcx + 0x3f10], eax
jne 0x140040912
lea r8, str.picker
mov edx, 0xb
mov ecx, eax
call fcn.14001d0e0
test byte [r12 + 0x5c94], 4
je 0x140040933
mov r8d, r15d
lea rdx, str.picker
lea rcx, str._popup__OpenPopup___s_____0x_08X__n
call fcn.14001cd00
xor edx, edx
mov ecx, r15d
call fcn.1400161d0
movss xmm1, dword [r14 + 0x4770]
addss xmm1, xmm9
movss xmm0, dword [r14 + 0x3844]
addss xmm0, dword [r14 + 0x477c]
mov rax, qword [0x140125550]
or dword [rax + 0x47a0], 1
movss dword [rax + 0x47b0], xmm1
movss dword [rax + 0x47b4], xmm0
xor ecx, ecx
mov qword [rax + 0x47b8], rcx
mov dword [rax + 0x47a4], 1
mov r12, qword [rbp + 0x20]
test sil, 8
jne 0x14004099d
call fcn.1400168e0
mov dword [rsp + 0x50], 0x41200000
mov dword [rsp + 0x54], 0x41200000
lea rdx, [rsp + 0x50]
mov r15d, 2
mov ecx, r15d
call fcn.1400060c0
mov rdi, qword [0x140125550]
mov dword [rsp + 0x50], 9
movss xmm0, dword [rdi + 0x3828]
movss dword [rsp + 0x54], xmm0
lea rcx, [rdi + 0x4820]
lea rdx, [rsp + 0x50]
call fcn.14001d830
mov dword [rdi + 0x3828], 0x40400000
movss xmm1, dword [rbx + 0x30]
xor ecx, ecx
call fcn.140006040
mov rax, qword [0x140125550]
movups xmm0, xmmword [rax + 0x38f0]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.140005a70
mov edx, eax
call fcn.140005f80
movdqa xmm6, xmmword [0x1400ec820]
mov rbx, qword [0x140125550]
mov dword [rbp - 0x48], 5
movups xmm0, xmmword [rbx + 0x3920]
movups xmmword [rbp - 0x44], xmm0
lea rcx, [rbx + 0x4810]
lea rdx, [rbp - 0x48]
call fcn.14001d920
movups xmmword [rbx + 0x3920], xmm6
mov rbx, qword [0x140125550]
mov eax, dword [rbx + 0x4880]
cmp dword [rbx + 0x4870], eax
jg 0x140040a96
mov dword [rbx + 0x47a0], 0
jmp 0x140040bf3
mov rbx, qword [rbx + 0x3ec8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
xor edx, edx
lea rcx, str.picker
call fcn.1400054e0
mov edi, eax
mov rcx, qword [rbx]
cmp dword [rcx + 0x3f10], eax
jne 0x140040ade
lea r8, str.picker
mov edx, 0xb
mov ecx, eax
call fcn.14001d0e0
mov ecx, edi
call fcn.140016730
test al, al
je 0x140040bf3
mov rax, qword [r14 + 0x3ec8]
cmp word [rax + 0xc2], 1
jne 0x140040ba7
mov r12, rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x140040b5b
xor r8d, r8d
mov rdx, rax
call fcn.140032960
mov rcx, qword [0x140125550]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ec8]
cmp byte [rax + 0xbb], 0
jne 0x140040b5b
mov qword [rsp + 0x50], 0
movaps xmm1, xmm15
lea rcx, [rsp + 0x50]
call fcn.140014d10
mov rax, qword [0x140125550]
or dword [rax + 0x4750], 1
mulss xmm11, dword [0x1400ec580]
movss dword [rax + 0x4754], xmm11
lea r9, [r14 + 0x5b14]
mov r8d, dword [rbp - 0x80]
and r8d, 0x1f890002
or r8d, 0x7401a0
mov rdx, r13
lea rcx, [0x1400e9d50]
call fcn.140041020
or byte [rsp + 0x40], al
mov rbx, qword [0x140125550]
mov rax, qword [rbx + 0x3ec8]
cmp qword [rbx + 0x48a8], rax
jne 0x140040bd7
cmp byte [rbx + 0x4901], 0
je 0x140040bd7
cmp dword [rbx + 0x48e0], 0
jne 0x140040bd7
or dword [rbx + 0x4904], r15d
test dword [rax + 0x14], 0x1000000
je 0x140040be7
mov byte [rbx + 0x3e56], 1
call fcn.140011980
mov byte [rbx + 0x3e56], 0
mov r8, qword [0x140125550]
mov eax, dword [r8 + 0x4810]
cmp eax, r15d
jge 0x140040c10
mov r15d, eax
test eax, eax
jle 0x140040c4b
nop dword [rax]
cdqe
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4818]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x38d
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4810]
mov eax, dword [r8 + 0x4810]
dec r15d
test r15d, r15d
jg 0x140040c10
mov ecx, 3
call fcn.140006150
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
cmp r15, rdx
je 0x140040cab
test sil, sil
js 0x140040cab
movss xmm1, dword [r14 + 0x3848]
movaps xmm0, xmm9
call fcn.140015030
test sil, 0x20
jne 0x140040c8e
addss xmm8, dword [r14 + 0x3848]
movaps xmm13, xmm8
addss xmm13, xmm7
mov rax, qword [rbp - 0x78]
movss dword [rax + 0x100], xmm13
xor r8d, r8d
mov rcx, r15
call fcn.140032960
movzx edi, byte [rsp + 0x40]
test dil, dil
je 0x140040de8
test r12, r12
jne 0x140040de8
cmp byte [rsp + 0x41], r12b
jne 0x140040cdc
movdqu xmm0, xmmword [rbp + 0x50]
cvtdq2ps xmm1, xmm0
divps xmm1, xmmword [0x1400ecac0]
movups xmmword [rbp + 0x40], xmm1
mov eax, esi
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x140040d71
movss xmm0, dword [rbp + 0x40]
movss dword [r14 + 0x5b08], xmm0
movss xmm1, dword [rbp + 0x44]
movss dword [r14 + 0x5b0c], xmm1
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
movss xmm2, dword [rbp + 0x48]
call fcn.140005bd0
mov eax, dword [r14 + 0x5b00]
mov dword [r14 + 0x5b04], eax
movss xmm6, dword [rbp + 0x40]
movss dword [rbp - 0x78], xmm6
movss xmm7, dword [rbp + 0x44]
movss dword [rbp - 0x74], xmm7
movss xmm8, dword [rbp + 0x48]
movss dword [rbp - 0x70], xmm8
mov dword [rbp - 0x6c], 0
lea rcx, [rbp - 0x78]
call fcn.140005a70
mov dword [r14 + 0x5b10], eax
jmp 0x140040d81
movss xmm8, dword [rbp + 0x48]
movss xmm7, dword [rbp + 0x44]
movss xmm6, dword [rbp + 0x40]
mov eax, esi
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x140040dc4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
movaps xmm2, xmm8
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.140005b20
movss xmm8, dword [rbp + 0x48]
movss xmm7, dword [rbp + 0x44]
movss xmm6, dword [rbp + 0x40]
movss dword [r13], xmm6
movss dword [r13 + 4], xmm7
movss dword [r13 + 8], xmm8
cmp byte [rsp + 0x48], 0
je 0x140040de8
movss xmm0, dword [rbp + 0x4c]
movss dword [r13 + 0xc], xmm0
cmp dword [rbp - 0x7c], 0
jne 0x140040df9
mov dword [r14 + 0x5b00], 0
mov rax, qword [0x140125550]
mov rcx, qword [rax + 0x3ec8]
dec dword [rcx + 0xf0]
call fcn.140015460
test byte [r14 + 0x476c], 1
je 0x140040edf
bt esi, 9
jb 0x140040edf
call fcn.14001b670
test al, al
je 0x140040edf
xor bl, bl
lea rcx, str._COL3F
call fcn.14001b750
test rax, rax
je 0x140040e63
mov rax, qword [rax]
movsd xmm0, qword [rax]
movsd qword [r13], xmm0
mov eax, dword [rax + 8]
mov dword [r13 + 8], eax
mov bl, 1
movzx edi, bl
lea rcx, str._COL4F
call fcn.14001b750
test rax, rax
je 0x140040e8d
mov r8d, dword [rsp + 0x44]
shl r8, 2
mov rdx, qword [rax]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov dil, 1
jmp 0x140040e91
test bl, bl
je 0x140040ec3
bt esi, 0x1c
jae 0x140040ec3
lea rax, [r13 + 8]
lea rcx, [r13 + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, r13
movss xmm2, dword [r13 + 8]
movss xmm1, dword [r13 + 4]
movss xmm0, dword [r13]
call fcn.140005b20
mov rax, qword [0x140125550]
mov byte [rax + 0x4a4e], 0
cmp byte [rax + 0x4a9a], 0
je 0x140040edf
call fcn.14001b420
test r12, r12
je 0x140040eff
mov eax, dword [r14 + 0x3f28]
test eax, eax
je 0x140040eff
cmp qword [r14 + 0x3f48], r12
jne 0x140040eff
mov dword [r14 + 0x4764], eax
test dil, dil
je 0x140040f34
mov eax, dword [r14 + 0x4764]
test eax, eax
je 0x140040f34
mov rcx, qword [0x140125550]
mov edx, dword [rcx + 0x3f28]
cmp edx, eax
je 0x140040f24
test edx, edx
jne 0x140040f2d
mov word [rcx + 0x3f38], 0x101
or dword [rcx + 0x476c], 4
movzx eax, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400c37c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret