Function at 0x1400589a4
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

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 - 0x198]
sub rsp, 0x260
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 [0x14012f040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r12, r8
mov qword [rbp - 0x60], rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov r15, qword [0x14022d510]
mov rax, qword [r15 + 0x4038]
mov byte [rax + 0xc0], 1
mov r14, qword [r15 + 0x4038]
mov qword [rbp - 0x78], r14
xor r13d, r13d
cmp byte [r14 + 0xc3], r13b
je 0x140058a59
xor al, al
jmp 0x140059f42
call fcn.14003caac
xor edx, edx
mov rcx, rdi
call fcn.14002fba4
mov qword [rsp + 0x70], rax
mov qword [r15 + 0x4988], r13
call fcn.14003cce4
mov rcx, rdi
call fcn.14003a400
cmp dword [r15 + 0x5de0], r13d
jne 0x140058aa3
movsxd rax, dword [r14 + 0x100]
mov rcx, qword [r14 + 0x108]
mov eax, dword [rcx + rax*4 - 4]
mov dword [r15 + 0x5de0], eax
mov ebx, dword [r15 + 0x5ddc]
and ebx, 0xff9fffff
or ebx, 0x130128
mov dword [rsp + 0x78], ebx
mov esi, ebx
shr esi, 1
not sil
movss xmm8, dword [0x14011b1c0]
and sil, 1
mov dword [rsp + 0x7c], esi
movss xmm3, dword [r12]
movss dword [rbp + 0x58], xmm3
movss xmm1, dword [r12 + 4]
movss dword [rbp + 0x5c], xmm1
movss xmm2, dword [r12 + 8]
movss dword [rbp + 0x60], xmm2
je 0x140058b00
movss xmm0, dword [r12 + 0xc]
jmp 0x140058b04
movaps xmm0, xmm8
movss dword [rbp + 0x64], xmm0
mov eax, ebx
mov ecx, 0x10100000
and eax, ecx
cmp eax, ecx
jne 0x140058b48
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x58]
movaps xmm0, xmm3
call fcn.14002f4d8
movss xmm0, dword [rbp + 0x64]
movss xmm2, dword [rbp + 0x60]
movss xmm1, dword [rbp + 0x5c]
movss xmm3, dword [rbp + 0x58]
xorps xmm10, xmm10
movss xmm5, dword [0x14011b394]
movss xmm4, dword [0x14011b178]
comiss xmm3, xmm10
jb 0x140058b67
movaps xmm7, xmm4
jmp 0x140058b6a
movaps xmm7, xmm5
movss xmm6, dword [0x14011b324]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [rbp + 0x48], eax
comiss xmm1, xmm10
jb 0x140058b8c
movaps xmm3, xmm4
jmp 0x140058b8f
movaps xmm3, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x4c], eax
comiss xmm2, xmm10
jb 0x140058ba9
movaps xmm1, xmm4
jmp 0x140058bac
movaps xmm1, xmm5
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x50], eax
comiss xmm0, xmm10
jae 0x140058bc4
movaps xmm4, xmm5
mulss xmm0, xmm6
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [rbp + 0x54], eax
movss xmm11, dword [r14 + 0x110]
movss xmm14, dword [r14 + 0x114]
movss xmm15, dword [0x14011b29c]
cmp dword [r15 + 0x398c], r13d
jne 0x140058bfd
movaps xmm1, xmm15
jmp 0x140058c00
xorps xmm1, xmm1
movaps xmm0, xmm11
addss xmm0, xmm1
movss dword [r14 + 0x110], xmm0
mov rax, qword gs:[0x58]
mov ecx, 0x10
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14022ed68], eax
jle 0x140058c8b
lea rcx, [0x14022ed68]
call fcn.1400e6a60
cmp dword [0x14022ed68], 0xffffffff
jne 0x140058c8b
mov qword [0x14022edc0], r13
mov qword [0x14022edc8], r13
mov ecx, 0x40
call fcn.1400e6700
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14022edc0], rax
lea rcx, [0x1400ec74c]
call fcn.1400e6964
nop
lea rcx, [0x14022ed68]
call fcn.1400e69f4
mov rax, qword [0x14022d510]
mov rdx, rdi
mov rcx, qword [rax + 0x4038]
call fcn.140031828
mov dword [rbp - 0x70], eax
mov r13, qword [0x14022edc0]
mov rcx, qword [r13 + 8]
mov qword [rbp - 0x38], rcx
xor edx, edx
mov dword [rbp - 0x30], edx
mov rdi, r13
mov qword [rbp - 0x68], r13
cmp byte [rcx + 0x19], dl
jne 0x140058cec
mov qword [rbp - 0x38], rcx
cmp dword [rcx + 0x1c], eax
jae 0x140058cd6
mov dword [rbp - 0x30], edx
mov rcx, qword [rcx + 0x10]
jmp 0x140058ce3
mov dword [rbp - 0x30], 1
mov rdi, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], dl
je 0x140058cc4
mov qword [rbp - 0x68], rdi
cmp byte [rdi + 0x19], dl
jne 0x140058cfa
cmp eax, dword [rdi + 0x1c]
jae 0x140058d7e
movabs rax, 0x3ffffffffffffff
cmp qword [0x14022edc8], rax
je 0x140059fc7
lea rdi, [0x14022edc0]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdx
mov ecx, 0x40
call fcn.1400e6700
nop
mov ecx, dword [rbp - 0x70]
mov dword [rax + 0x1c], ecx
xor ecx, ecx
mov qword [rax + 0x24], rcx
mov qword [rax + 0x2c], rcx
mov qword [rax + 0x34], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov dword [rax + 0x30], ecx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov word [rax + 0x18], cx
movups xmm0, xmmword [rbp - 0x38]
movdqu xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140008ffc
mov rdi, rax
mov qword [rbp - 0x68], rax
xor edx, edx
mov r13b, dl
test bl, 0x10
jne 0x140059d23
movaps xmm0, xmm11
addss xmm0, xmm10
movss dword [r14 + 0x110], xmm0
movss dword [r14 + 0x114], xmm14
xor r13d, r13d
test sil, sil
je 0x140058db6
movss xmm7, dword [r12 + 0xc]
jmp 0x140058dba
movaps xmm7, xmm8
movss xmm9, dword [r12 + 8]
movss xmm12, dword [r12 + 4]
movss xmm13, dword [r12]
movss dword [rsp + 0x50], xmm13
movss dword [rsp + 0x54], xmm12
movss dword [rsp + 0x58], xmm9
movss dword [rsp + 0x5c], xmm7
mov r8d, ebx
lea rdx, [rsp + 0x50]
call fcn.14005af20
test al, al
je 0x140058e82
test bl, 4
jne 0x140058e82
movss dword [r15 + 0x5df4], xmm13
movss dword [r15 + 0x5df8], xmm12
movss dword [r15 + 0x5dfc], xmm9
movss dword [r15 + 0x5e00], xmm7
lea rcx, str.picker
call fcn.14003d8a4
movss xmm1, dword [r15 + 0x49c0]
addss xmm1, dword [r15 + 0x3940]
movss xmm0, dword [r15 + 0x49b4]
addss xmm0, xmm10
mov rax, qword [0x14022d510]
or dword [rax + 0x49e8], 1
movss dword [rax + 0x49f8], xmm0
movss dword [rax + 0x49fc], xmm1
mov qword [rax + 0x4a00], r13
mov dword [rax + 0x49ec], 1
lea rcx, [r15 + 0x49b4]
xor r8d, r8d
mov edx, dword [r15 + 0x49a8]
call fcn.140031f74
mov cl, byte [0x14022eb00]
test al, al
je 0x140058eab
cmp byte [r15 + 0x3868], r13b
jne 0x140058eca
lea rax, [rdi + 0x39]
mov r14, rax
cmp byte [rax], r13b
je 0x140058ed7
test cl, cl
jne 0x140058ed7
cmp byte [r15 + 0x3868], r13b
je 0x140058ed7
cmp byte [rdi + 0x38], r13b
jne 0x140058ed7
lea r14, [rdi + 0x39]
cmp byte [r14], r13b
sete al
mov byte [r14], al
movss xmm1, dword [r15 + 0x18]
mulss xmm1, dword [0x14011b25c]
test cl, cl
je 0x140058eef
movaps xmm0, xmm8
jmp 0x140058ef3
movaps xmm0, xmm10
subss xmm0, dword [rdi + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [rdi + 0x34]
movss dword [rdi + 0x34], xmm0
mov rax, qword [0x14022d510]
movss xmm0, dword [0x14022ed20]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x14022ed24]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x14022ed28]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14022ed2c]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14002f394
mov edx, eax
mov ecx, 2
call fcn.14002f89c
mov rax, qword [0x14022d510]
movss xmm0, dword [0x14022eca0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x14022eca4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x14022eca8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14022ecac]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14002f394
mov edx, eax
mov ecx, 5
call fcn.14002f89c
movss xmm1, dword [0x14011b248]
mov ecx, 3
call fcn.14002fa14
movss xmm12, dword [0x14011b290]
mov dword [rbp - 0x58], 0x41700000
mov dword [rbp - 0x54], 0x41700000
lea rdx, [rbp - 0x58]
mov ecx, 2
call fcn.14002fa8c
movaps xmm1, xmm8
mov ecx, 4
call fcn.14002fa14
xor eax, eax
cmp byte [r14], al
je 0x140059d1f
movss xmm1, dword [r15 + 0x49b8]
subss xmm1, dword [0x14011b258]
movss xmm0, dword [r15 + 0x49bc]
subss xmm0, dword [0x14011b2cc]
mov rax, qword [0x14022d510]
or dword [rax + 0x49e8], 1
movss dword [rax + 0x49f8], xmm0
movss dword [rax + 0x49fc], xmm1
xor r14d, r14d
mov qword [rax + 0x4a00], r14
mov dword [rax + 0x49ec], 1
xor edx, edx
lea r8d, [r14 + 0x6f]
lea rcx, str.picker
call fcn.140037680
call fcn.140039fb8
mov byte [rdi + 0x38], al
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rbp - 0x7c]
mov edx, dword [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov edi, eax
cmp byte [0x14022eb00], r14b
je 0x140059178
mov rcx, qword gs:[0x58]
mov eax, 0x10
mov rcx, qword [rcx]
mov edx, dword [rax + rcx]
cmp dword [0x14022ee20], edx
jle 0x1400590f8
lea rcx, [0x14022ee20]
call fcn.1400e6a60
cmp dword [0x14022ee20], 0xffffffff
jne 0x1400590f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14022ee18], eax
lea rcx, [0x14022ee20]
call fcn.1400e69f4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14022ee18]
cmp eax, 0x96
jbe 0x140059178
movzx eax, dil
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [r12], xmm0
movzx eax, di
shr ax, 8
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [r12 + 4], xmm0
shr edi, 0x10
movzx eax, dil
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [r12 + 8], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14022ee18], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140059178
mov byte [0x14022eb00], r14b
mov r13d, 0xff
test sil, sil
je 0x1400591f1
mov eax, dword [rbp + 0x54]
mov r8d, eax
cmp eax, r13d
cmovg r8d, r13d
test eax, eax
cmovs r8d, r14d
mov eax, dword [rbp + 0x50]
mov edx, eax
cmp eax, r13d
cmovg edx, r13d
test eax, eax
cmovs edx, r14d
mov eax, dword [rbp + 0x4c]
mov ecx, eax
cmp eax, r13d
cmovg ecx, r13d
test eax, eax
cmovs ecx, r14d
mov eax, dword [rbp + 0x48]
mov r9d, eax
cmp eax, r13d
cmovg r9d, r13d
test eax, eax
cmovs r9d, r14d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea r8, [0x140118c38]
mov edx, 0x40
lea rcx, [rbp + 0x70]
call fcn.14002ea00
jmp 0x140059245
mov eax, dword [rbp + 0x50]
mov edx, eax
cmp eax, r13d
cmovg edx, r13d
test eax, eax
cmovs edx, r14d
mov eax, dword [rbp + 0x4c]
mov ecx, eax
cmp eax, r13d
cmovg ecx, r13d
test eax, eax
cmovs ecx, r14d
mov eax, dword [rbp + 0x48]
mov r9d, eax
cmp eax, r13d
cmovg r9d, r13d
test eax, eax
cmovs r9d, r14d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea r8, [0x140118c58]
mov edx, 0x40
lea rcx, [rbp + 0x70]
call fcn.14002ea00
mov rcx, qword [0x14022d510]
mov rax, qword [rcx + 0x4038]
mov byte [rax + 0xc0], 1
mov r9, qword [rcx + 0x4038]
mov r10, qword [r9 + 0x2a8]
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x70]
je 0x14005927b
test bl, bl
mov r8, rax
jns 0x140059282
lea r8, str.Color_picker
movss xmm0, dword [0x14022ecc0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x14022ecc4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x14022ecc8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14022eccc]
mulss xmm1, dword [rcx + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14002f394
movss xmm0, dword [r9 + 0x110]
movss xmm1, dword [r9 + 0x114]
subss xmm1, dword [0x14011b1e8]
subss xmm0, xmm10
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
mov qword [rsp + 0x40], r14
movss dword [rsp + 0x38], xmm10
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x58]
movss xmm2, dword [0x14011b298]
mov rdx, qword [0x14022eb38]
mov rcx, r10
call fcn.14004d634
mov rcx, qword [0x14022eb28]
call fcn.140039ea0
mov rdi, qword [0x14022d510]
mov rax, qword [rdi + 0x4038]
mov byte [rax + 0xc0], 1
mov rax, qword [rdi + 0x4038]
mov r14, qword [rax + 0x2a8]
movss xmm0, dword [0x14022ecd0]
movss dword [rbp - 0x58], xmm0
movss xmm1, dword [0x14022ecd4]
movss dword [rbp - 0x54], xmm1
movss xmm0, dword [0x14022ecd8]
movss dword [rbp - 0x50], xmm0
movss xmm1, dword [0x14022ecdc]
mulss xmm1, dword [rdi + 0x38f0]
movss dword [rbp - 0x4c], xmm1
lea rcx, [rbp - 0x58]
call fcn.14002f394
mov esi, eax
lea rcx, [rbp - 0x38]
call fcn.14003cc08
mov rbx, rax
movss xmm2, dword [0x14011b3a4]
movss dword [rsp + 0x20], xmm2
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140118c54]
lea rcx, [rsp + 0x50]
call fcn.1400348b4
mov rdx, qword [rdi + 0x4038]
movss xmm2, dword [rdx + 0x114]
addss xmm2, xmm10
movss xmm0, dword [rax]
addss xmm0, xmm12
movss xmm1, dword [rbx]
subss xmm1, xmm0
addss xmm1, dword [rdx + 0x110]
movss dword [rbp - 0x58], xmm1
movss dword [rbp - 0x54], xmm2
xor eax, eax
mov qword [rsp + 0x40], rax
movss dword [rsp + 0x38], xmm10
mov qword [rsp + 0x30], rax
lea rax, [0x140118c54]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x58]
movaps xmm2, xmm10
xor edx, edx
mov rcx, r14
call fcn.14004d634
call fcn.140039f18
mov rcx, qword [0x14022d510]
mov rax, qword [rcx + 0x4038]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4038]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
addss xmm1, dword [0x14011b2b4]
addss xmm0, xmm1
movss dword [rax + 0x114], xmm0
mov byte [rax + 0x151], 1
or dword [rcx + 0x4988], 1
mov dword [rcx + 0x4990], 0x434f0000
lea r9, [r15 + 0x5df4]
mov r8d, 0x750080
mov rdx, r12
lea rcx, [0x140118a50]
call fcn.140059fd0
mov byte [rsp + 0x60], al
mov rcx, qword [0x14022d510]
movss xmm8, dword [0x14022ec80]
movss dword [rsp + 0x50], xmm8
movss xmm7, dword [0x14022ec84]
movss dword [rsp + 0x54], xmm7
movss xmm6, dword [0x14022ec88]
movss dword [rsp + 0x58], xmm6
movss xmm9, dword [rcx + 0x38f0]
movaps xmm0, xmm9
mov rdi, qword [rbp - 0x68]
mulss xmm0, dword [rdi + 0x34]
mulss xmm0, dword [0x14022ec8c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14002f394
mov r8d, eax
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x58], xmm6
movaps xmm0, xmm9
mulss xmm0, dword [0x14022ec8c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14002f394
mov r9d, eax
movss xmm5, dword [0x14022eca0]
movss dword [rsp + 0x50], xmm5
movss xmm0, dword [0x14022eca4]
movss dword [rsp + 0x54], xmm0
movss xmm1, dword [0x14022eca8]
movss dword [rsp + 0x58], xmm1
mulss xmm9, dword [0x14022ecac]
movss dword [rsp + 0x5c], xmm9
lea rcx, [rsp + 0x50]
call fcn.14002f394
movss xmm13, dword [0x14011b2b8]
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm13
unpcklps xmm0, xmm13
movq rdx, xmm0
lea rcx, [0x140118c74]
call fcn.1400583e0
xor r14d, r14d
test al, al
je 0x1400595de
mov byte [0x14022eb00], 1
movaps xmm1, xmm12
movaps xmm0, xmm10
call fcn.14003c93c
mov ebx, dword [rsp + 0x78]
mov edx, ebx
and dl, 2
neg dl
sbb eax, eax
and eax, 0xfffffff6
sub eax, 0xffffff80
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x58], xmm0
mov dword [rbp - 0x54], 0x420c0000
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 6
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x70]
lea rdx, str.HEX_COLOR
lea rcx, [0x140118c8c]
call fcn.1400666c4
test al, al
je 0x1400596b9
mov byte [rsp + 0x60], 1
lea rcx, [rbp + 0x70]
mov al, byte [rcx]
cmp al, 0x23
je 0x140059664
cmp al, 0x20
je 0x140059664
cmp al, 9
jne 0x140059669
inc rcx
jmp 0x140059656
mov qword [rbp + 0x4c], r14
mov dword [rbp + 0x48], r14d
mov dword [rbp + 0x54], r13d
lea r9, [rbp + 0x4c]
lea r8, [rbp + 0x48]
cmp byte [rsp + 0x7c], r14b
je 0x1400596a4
lea rax, [rbp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X_02X
call fcn.14002d138
jmp 0x1400596b9
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.14002d138
movss xmm1, dword [0x14011b224]
movaps xmm0, xmm10
call fcn.14003c93c
mov rax, qword gs:[0x58]
mov esi, 0x10
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022ed70], ecx
jle 0x140059713
lea rcx, [0x14022ed70]
call fcn.1400e6a60
cmp dword [0x14022ed70], 0xffffffff
jne 0x140059713
lea rcx, [0x1400ec6e8]
call fcn.1400e6964
lea rcx, [0x14022ed70]
call fcn.1400e69f4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022eddc], ecx
jle 0x140059757
lea rcx, [0x14022eddc]
call fcn.1400e6a60
cmp dword [0x14022eddc], 0xffffffff
jne 0x140059757
lea rcx, [0x1400ec684]
call fcn.1400e6964
lea rcx, [0x14022eddc]
call fcn.1400e69f4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022ed98], ecx
jle 0x14005979b
lea rcx, [0x14022ed98]
call fcn.1400e6a60
cmp dword [0x14022ed98], 0xffffffff
jne 0x14005979b
lea rcx, [0x1400ec620]
call fcn.1400e6964
lea rcx, [0x14022ed98]
call fcn.1400e69f4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022edd8], ecx
jle 0x1400597df
lea rcx, [0x14022edd8]
call fcn.1400e6a60
cmp dword [0x14022edd8], 0xffffffff
jne 0x1400597df
lea rcx, [0x1400ec5bc]
call fcn.1400e6964
lea rcx, [0x14022edd8]
call fcn.1400e69f4
mov rax, qword [0x14022d510]
movss xmm8, dword [0x14022ec80]
movss dword [rsp + 0x50], xmm8
movss xmm7, dword [0x14022ec84]
movss dword [rsp + 0x54], xmm7
movss xmm6, dword [0x14022ec88]
movss dword [rsp + 0x58], xmm6
movss xmm9, dword [rax + 0x38f0]
movaps xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, dword [0x14022ec8c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14002f394
mov r8d, eax
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x58], xmm6
movaps xmm0, xmm9
mulss xmm0, dword [0x14022ec8c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14002f394
mov r9d, eax
movss xmm5, dword [0x14022eca0]
movss dword [rsp + 0x50], xmm5
movss xmm0, dword [0x14022eca4]
movss dword [rsp + 0x54], xmm0
movss xmm1, dword [0x14022eca8]
movss dword [rsp + 0x58], xmm1
mulss xmm9, dword [0x14022ecac]
movss dword [rsp + 0x5c], xmm9
lea rcx, [rsp + 0x50]
call fcn.14002f394
lea rdx, [0x140118c90]
lea rcx, [0x140118cac]
cmp byte [0x1401ba940], r14b
cmovne rcx, rdx
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm13
unpcklps xmm0, xmm13
movq rdx, xmm0
call fcn.1400583e0
test al, al
je 0x1400599ff
cmp byte [0x1401ba940], r14b
je 0x1400599c2
mov rdx, qword [0x14022eaf0]
cmp rdx, qword [0x14022eaf8]
je 0x14005991d
mov eax, dword [r12]
mov dword [rdx], eax
add qword [0x14022eaf0], 4
jmp 0x14005992c
mov r8, r12
lea rcx, [0x14022eae8]
call fcn.14005cac8
lea r8, [r12 + 4]
mov rdx, qword [0x14022eac0]
cmp rdx, qword [0x14022eac8]
je 0x140059952
mov eax, dword [r12 + 4]
mov dword [rdx], eax
add qword [0x14022eac0], 4
jmp 0x14005995e
lea rcx, [0x14022eab8]
call fcn.14005cac8
lea r8, [r12 + 8]
mov rdx, qword [0x14022eb50]
cmp rdx, qword [0x14022eb58]
je 0x140059984
mov eax, dword [r12 + 8]
mov dword [rdx], eax
add qword [0x14022eb50], 4
jmp 0x140059990
lea rcx, [0x14022eb48]
call fcn.14005cac8
lea r8, [r12 + 0xc]
mov rdx, qword [0x14022ead8]
cmp rdx, qword [0x14022eae0]
je 0x1400599b4
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x14022ead8], 4
jmp 0x1400599ff
lea rcx, [0x14022ead0]
call fcn.14005cac8
jmp 0x1400599ff
mov rcx, qword [0x14022eaf0]
mov rax, rcx
sub rax, qword [0x14022eae8]
sar rax, 2
test rax, rax
je 0x1400599ff
sub rcx, 4
mov qword [0x14022eaf0], rcx
sub qword [0x14022eac0], 4
sub qword [0x14022eb50], 4
sub qword [0x14022ead8], 4
xor ecx, ecx
call fcn.140031d74
test al, al
je 0x140059a28
mov rax, qword [0x14022d510]
cmp byte [rax + 0x3869], r14b
je 0x140059a28
cmp byte [0x1401ba940], r14b
sete byte [0x1401ba940]
mov esi, r14d
mov rax, qword [0x14022eaf0]
mov rdx, qword [0x14022eae8]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140059d15
mov dword [rbp - 0x58], 0x41880000
mov dword [rbp - 0x54], 0x41880000
mov rbx, r14
mov r13d, 0xf
movsd xmm6, qword [rbp - 0x58]
movss xmm1, dword [rbx + rdx]
lea rcx, [rbp + 0x28]
call fcn.14005470c
nop
mov rax, qword [0x14022eab8]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp + 8]
call fcn.14005470c
nop
mov rax, qword [0x14022eb48]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 0x18]
call fcn.14005470c
nop
mov rax, qword [0x14022ead0]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 0x58]
call fcn.14005470c
nop
mov edx, esi
lea rcx, [rbp - 0x38]
call fcn.140001a7c
nop
mov rax, qword [0x14022ead0]
movss xmm3, dword [rbx + rax]
mov rax, qword [0x14022eb48]
movss xmm2, dword [rbx + rax]
mov rax, qword [0x14022eab8]
movss xmm1, dword [rbx + rax]
mov rax, qword [0x14022eae8]
movss xmm0, dword [rbx + rax]
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x58], xmm2
movss dword [rsp + 0x5c], xmm3
lea rcx, [rsp + 0x50]
call fcn.14002f394
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], r13
cmova rcx, qword [rbp - 0x38]
mov r8d, eax
movq rdx, xmm6
call fcn.140058650
test al, al
je 0x140059b6d
mov rax, qword [0x14022eae8]
mov ecx, dword [rbx + rax]
mov dword [r12], ecx
mov rax, qword [0x14022eab8]
mov ecx, dword [rbx + rax]
mov dword [r12 + 4], ecx
mov rax, qword [0x14022eb48]
mov ecx, dword [rbx + rax]
mov dword [r12 + 8], ecx
mov rax, qword [0x14022ead0]
mov ecx, dword [rbx + rax]
mov dword [r12 + 0xc], ecx
lea ecx, [rsi + 1]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 7
cmp ecx, eax
je 0x140059b98
movaps xmm1, xmm15
movaps xmm0, xmm10
call fcn.14003c93c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, r13
jbe 0x140059bd2
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fa4
call fcn.1400e6984
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x38], r14b
mov rdx, qword [rbp - 0x40]
cmp rdx, r13
jbe 0x140059c18
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059c13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fab
call fcn.1400e6984
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x58], r14b
mov rdx, qword [rbp]
cmp rdx, r13
jbe 0x140059c5e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059c59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fb2
call fcn.1400e6984
mov qword [rbp - 8], r14
mov qword [rbp], r13
mov byte [rbp - 0x18], r14b
mov rdx, qword [rbp + 0x20]
cmp rdx, r13
jbe 0x140059ca4
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fb9
call fcn.1400e6984
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], r13
mov byte [rbp + 8], r14b
mov rdx, qword [rbp + 0x40]
cmp rdx, r13
jbe 0x140059cea
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ce5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fc0
call fcn.1400e6984
inc esi
add rbx, 4
mov rcx, qword [0x14022eaf0]
mov rdx, qword [0x14022eae8]
sub rcx, rdx
sar rcx, 2
movsxd rax, esi
cmp rax, rcx
jb 0x140059a65
mov ebx, dword [rsp + 0x78]
call fcn.1400397d4
mov r13b, byte [rsp + 0x60]
mov r14, qword [rbp - 0x78]
mov ecx, 2
call fcn.14002f9bc
mov ecx, 3
call fcn.14002fb18
movss xmm0, dword [r15 + 0x18]
mulss xmm0, dword [0x14011b25c]
lea rcx, [0x14022ecc0]
lea rax, [0x14022ec90]
cmp byte [rdi + 0x39], 0
cmovne rax, rcx
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rax]
subps xmm3, xmm2
shufps xmm0, xmm0, 0
mulps xmm3, xmm0
addps xmm3, xmm2
movdqu xmmword [rdi + 0x20], xmm3
mov rdi, qword [rsp + 0x68]
cmp rdi, qword [rsp + 0x70]
je 0x140059f26
test bl, bl
js 0x140059f26
movss xmm1, dword [r15 + 0x3944]
movaps xmm0, xmm10
call fcn.14003c93c
movaps xmm4, xmm11
subss xmm4, xmm15
addss xmm4, xmm15
movss dword [r14 + 0x110], xmm4
and dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0x3f4ccccd
movss xmm1, dword [0x14022ec90]
movss dword [rbp - 0x38], xmm1
movss xmm0, dword [0x14022ec94]
movss dword [rbp - 0x34], xmm0
movss xmm1, dword [0x14022ec98]
movss dword [rbp - 0x30], xmm1
movss xmm0, dword [0x14022ec9c]
mov rax, qword [0x14022d510]
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003cc08
movaps xmm2, xmm11
addss xmm2, dword [rax]
movss dword [rsp + 0x68], xmm2
movaps xmm7, xmm14
addss xmm7, dword [0x14011b2d8]
movss dword [rsp + 0x6c], xmm7
movaps xmm6, xmm11
addss xmm6, dword [0x14011b280]
movss dword [rbp - 0x78], xmm6
addss xmm14, xmm10
movss dword [rbp - 0x74], xmm14
lea rcx, [rbp - 0x38]
call fcn.14002f394
mov r9d, eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
mov rcx, qword [0x14022eb30]
call fcn.140054788
and dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0x3e4ccccd
movss xmm1, dword [0x14022ecc0]
movss dword [rbp - 0x38], xmm1
movss xmm0, dword [0x14022ecc4]
movss dword [rbp - 0x34], xmm0
movss xmm1, dword [0x14022ecc8]
movss dword [rbp - 0x30], xmm1
movss xmm0, dword [0x14022eccc]
mov rax, qword [0x14022d510]
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003cc08
addss xmm11, dword [rax]
movss dword [rsp + 0x68], xmm11
movss dword [rsp + 0x6c], xmm7
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x7c], xmm14
lea rcx, [rbp - 0x38]
call fcn.14002f394
mov r9d, eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x80]
mov rcx, qword [0x14022eb38]
call fcn.140054788
mov rax, qword [0x14022d510]
mov rcx, qword [rax + 0x4038]
dec dword [rcx + 0x100]
call fcn.14003ce20
mov al, r13b
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400e66e0
lea r11, [rsp + 0x260]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002a58
int3