Function at 0x140059ee0
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 - 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 [0x140130040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r12, r8
mov qword [rbp - 0x70], rdx
mov r14, rcx
mov qword [rsp + 0x60], rcx
mov r15, qword [0x14022e460]
mov rax, qword [r15 + 0x4038]
mov byte [rax + 0xc0], 1
mov rsi, qword [r15 + 0x4038]
mov qword [rbp - 0x80], rsi
xor r13d, r13d
cmp byte [rsi + 0xc3], r13b
je 0x140059f95
xor al, al
jmp 0x14005b4cf
call fcn.14003ddac
xor edx, edx
mov rcx, r14
call fcn.140030e3c
mov qword [rsp + 0x68], rax
mov qword [r15 + 0x4988], r13
call fcn.14003dfe4
mov rcx, r14
call fcn.14003b6d4
cmp dword [r15 + 0x5de0], r13d
jne 0x140059fdf
movsxd rax, dword [rsi + 0x100]
mov rcx, qword [rsi + 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 + 0x70], ebx
mov edi, ebx
shr edi, 1
not dil
movss xmm8, dword [0x14011bf28]
and dil, 1
mov dword [rsp + 0x74], edi
movss xmm3, dword [r12]
movss dword [rbp + 0x48], xmm3
movss xmm1, dword [r12 + 4]
movss dword [rbp + 0x4c], xmm1
movss xmm2, dword [r12 + 8]
movss dword [rbp + 0x50], xmm2
je 0x14005a03c
movss xmm0, dword [r12 + 0xc]
jmp 0x14005a040
movaps xmm0, xmm8
movss dword [rbp + 0x54], xmm0
mov eax, ebx
mov ecx, 0x10100000
and eax, ecx
cmp eax, ecx
jne 0x14005a084
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
movaps xmm0, xmm3
call fcn.140030778
movss xmm0, dword [rbp + 0x54]
movss xmm2, dword [rbp + 0x50]
movss xmm1, dword [rbp + 0x4c]
movss xmm3, dword [rbp + 0x48]
xorps xmm10, xmm10
movss xmm5, dword [0x14011c0f4]
movss xmm4, dword [0x14011bec8]
comiss xmm3, xmm10
jb 0x14005a0a3
movaps xmm7, xmm4
jmp 0x14005a0a6
movaps xmm7, xmm5
movss xmm6, dword [0x14011c094]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [rbp + 0x38], eax
comiss xmm1, xmm10
jb 0x14005a0c8
movaps xmm3, xmm4
jmp 0x14005a0cb
movaps xmm3, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x3c], eax
comiss xmm2, xmm10
jb 0x14005a0e5
movaps xmm1, xmm4
jmp 0x14005a0e8
movaps xmm1, xmm5
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x40], eax
comiss xmm0, xmm10
jae 0x14005a100
movaps xmm4, xmm5
mulss xmm0, xmm6
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [rbp + 0x44], eax
movss xmm11, dword [rsi + 0x110]
movss xmm14, dword [rsi + 0x114]
movss xmm15, dword [0x14011c00c]
cmp dword [r15 + 0x398c], r13d
jne 0x14005a139
movaps xmm1, xmm15
jmp 0x14005a13c
xorps xmm1, xmm1
movaps xmm0, xmm11
addss xmm0, xmm1
movss dword [rsi + 0x110], xmm0
mov rax, qword gs:[0x58]
mov ecx, 0x10
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14022fd28], eax
jle 0x14005a1c6
lea rcx, [0x14022fd28]
call fcn.1400e7990
cmp dword [0x14022fd28], 0xffffffff
jne 0x14005a1c6
mov qword [0x14022fd80], r13
mov qword [0x14022fd88], r13
mov ecx, 0x40
call fcn.1400e7870
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14022fd80], rax
lea rcx, [0x1400ed848]
call fcn.1400e7c30
nop
lea rcx, [0x14022fd28]
call fcn.1400e7924
mov rax, qword [0x14022e460]
mov rdx, r14
mov rcx, qword [rax + 0x4038]
call fcn.140032ac0
mov dword [rbp - 0x78], eax
mov r14, qword [0x14022fd80]
mov rcx, qword [r14 + 8]
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], r13d
mov r13, r14
xor edx, edx
jmp 0x14005a218
mov qword [rbp - 0x48], rcx
cmp dword [rcx + 0x1c], eax
jae 0x14005a20b
mov dword [rbp - 0x40], edx
mov rcx, qword [rcx + 0x10]
jmp 0x14005a218
mov dword [rbp - 0x40], 1
mov r13, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], dl
je 0x14005a1f9
cmp byte [r13 + 0x19], dl
jne 0x14005a22d
cmp eax, dword [r13 + 0x1c]
jae 0x14005a2ad
movabs rax, 0x3ffffffffffffff
cmp qword [0x14022fd88], rax
je 0x14005b554
lea r13, [0x14022fd80]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rdx
mov ecx, 0x40
call fcn.1400e7870
nop
mov ecx, dword [rbp - 0x78]
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], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], cx
movups xmm0, xmmword [rbp - 0x48]
movdqu xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.140008ea4
mov r13, rax
xor edx, edx
mov r14b, dl
test bl, 0x10
jne 0x14005b25b
movaps xmm0, xmm11
addss xmm0, xmm10
movss dword [rsi + 0x110], xmm0
movss dword [rsi + 0x114], xmm14
xor r14d, r14d
test dil, dil
je 0x14005a2e4
movss xmm7, dword [r12 + 0xc]
jmp 0x14005a2e8
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.14005c4ac
test al, al
je 0x14005a3b0
test bl, 4
jne 0x14005a3b0
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.14003ebb0
movss xmm1, dword [r15 + 0x49c0]
addss xmm1, dword [r15 + 0x3940]
movss xmm0, dword [r15 + 0x49b4]
addss xmm0, xmm10
mov rax, qword [0x14022e460]
or dword [rax + 0x49e8], 1
movss dword [rax + 0x49f8], xmm0
movss dword [rax + 0x49fc], xmm1
mov qword [rax + 0x4a00], r14
mov dword [rax + 0x49ec], 1
lea rcx, [r15 + 0x49b4]
xor r8d, r8d
mov edx, dword [r15 + 0x49a8]
call fcn.14003320c
mov cl, byte [0x14022fab8]
test al, al
je 0x14005a3d9
cmp byte [r15 + 0x3868], r14b
jne 0x14005a3f8
lea rax, [r13 + 0x39]
mov rsi, rax
cmp byte [rax], r14b
je 0x14005a404
test cl, cl
jne 0x14005a404
cmp byte [r15 + 0x3868], r14b
je 0x14005a404
cmp byte [r13 + 0x38], r14b
jne 0x14005a404
lea rsi, [r13 + 0x39]
cmp byte [rsi], r14b
sete al
mov byte [rsi], al
movss xmm1, dword [r15 + 0x18]
mulss xmm1, dword [0x14011bfcc]
test cl, cl
je 0x14005a41c
movaps xmm0, xmm8
jmp 0x14005a420
movaps xmm0, xmm10
subss xmm0, dword [r13 + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [r13 + 0x34]
movss dword [r13 + 0x34], xmm0
mov rax, qword [0x14022e460]
movss xmm0, dword [0x14022fce0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x14022fce4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x14022fce8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14022fcec]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.140030634
mov edx, eax
mov ecx, 2
call fcn.140030b3c
mov rax, qword [0x14022e460]
movss xmm0, dword [0x14022fc60]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x14022fc64]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x14022fc68]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14022fc6c]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.140030634
mov edx, eax
mov ecx, 5
call fcn.140030b3c
movss xmm1, dword [0x14011bfb8]
mov ecx, 3
call fcn.140030cac
movss xmm12, dword [0x14011c000]
mov dword [rbp - 0x68], 0x41700000
mov dword [rbp - 0x64], 0x41700000
lea rdx, [rbp - 0x68]
mov ecx, 2
call fcn.140030d24
movaps xmm1, xmm8
mov ecx, 4
call fcn.140030cac
xor eax, eax
cmp byte [rsi], al
je 0x14005b257
movss xmm1, dword [r15 + 0x49b8]
subss xmm1, dword [0x14011bfc8]
movss xmm0, dword [r15 + 0x49bc]
subss xmm0, dword [0x14011c03c]
mov rax, qword [0x14022e460]
or dword [rax + 0x49e8], 1
movss dword [rax + 0x49f8], xmm0
movss dword [rax + 0x49fc], xmm1
mov qword [rax + 0x4a00], r14
mov dword [rax + 0x49ec], 1
xor edx, edx
lea r8d, [rdx + 0x6f]
lea rcx, str.picker
call fcn.140038938
call fcn.14003b28c
mov byte [r13 + 0x38], al
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov esi, eax
cmp byte [0x14022fab8], r14b
je 0x14005a6a8
mov rcx, qword gs:[0x58]
mov eax, 0x10
mov rcx, qword [rcx]
mov edx, dword [rax + rcx]
cmp dword [0x14022fde0], edx
jle 0x14005a628
lea rcx, [0x14022fde0]
call fcn.1400e7990
cmp dword [0x14022fde0], 0xffffffff
jne 0x14005a628
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14022fdd8], eax
lea rcx, [0x14022fde0]
call fcn.1400e7924
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14022fdd8]
cmp eax, 0x96
jbe 0x14005a6a8
movzx eax, sil
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [r12], xmm0
movzx eax, si
shr ax, 8
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [r12 + 4], xmm0
shr esi, 0x10
movzx eax, sil
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [r12 + 8], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14022fdd8], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005a6a8
mov byte [0x14022fab8], r14b
test dil, dil
je 0x14005a71e
mov eax, dword [rbp + 0x44]
mov r8d, eax
mov ebx, 0xff
cmp eax, ebx
cmovg r8d, ebx
test eax, eax
cmovs r8d, r14d
mov eax, dword [rbp + 0x40]
mov edx, eax
cmp eax, ebx
cmovg edx, ebx
test eax, eax
cmovs edx, r14d
mov eax, dword [rbp + 0x3c]
mov ecx, eax
cmp eax, ebx
cmovg ecx, ebx
test eax, eax
cmovs ecx, r14d
mov eax, dword [rbp + 0x38]
mov r9d, eax
cmp eax, ebx
cmovg r9d, ebx
test eax, eax
cmovs r9d, r14d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea r8, [0x140119af0]
mov edx, 0x40
lea rcx, [rbp + 0x60]
call fcn.14002fca0
mov ebx, dword [rsp + 0x70]
jmp 0x14005a778
mov eax, dword [rbp + 0x40]
mov edx, eax
mov r8d, 0xff
cmp eax, r8d
cmovg edx, r8d
test eax, eax
cmovs edx, r14d
mov eax, dword [rbp + 0x3c]
mov ecx, eax
cmp eax, r8d
cmovg ecx, r8d
test eax, eax
cmovs ecx, r14d
mov eax, dword [rbp + 0x38]
mov r9d, eax
cmp eax, r8d
cmovg r9d, r8d
test eax, eax
cmovs r9d, r14d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea r8, [0x140119ae0]
mov edx, 0x40
lea rcx, [rbp + 0x60]
call fcn.14002fca0
mov rcx, qword [0x14022e460]
mov rax, qword [rcx + 0x4038]
mov byte [rax + 0xc0], 1
mov r9, qword [rcx + 0x4038]
mov r10, qword [r9 + 0x2a8]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x68]
je 0x14005a7ae
test bl, bl
mov r8, rax
jns 0x14005a7b5
lea r8, str.Color_picker
movss xmm0, dword [0x14022fc80]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x14022fc84]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x14022fc88]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14022fc8c]
mulss xmm1, dword [rcx + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.140030634
movss xmm0, dword [r9 + 0x110]
movss xmm1, dword [r9 + 0x114]
subss xmm1, dword [0x14011bf58]
subss xmm0, xmm10
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], 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 - 0x68]
movss xmm2, dword [0x14011c008]
mov rdx, qword [0x14022fae0]
mov rcx, r10
call fcn.14004eab4
mov rcx, qword [0x14022fad8]
call fcn.14003b174
mov rdi, qword [0x14022e460]
mov rax, qword [rdi + 0x4038]
mov byte [rax + 0xc0], 1
mov rax, qword [rdi + 0x4038]
mov r14, qword [rax + 0x2a8]
movss xmm0, dword [0x14022fc90]
movss dword [rbp - 0x68], xmm0
movss xmm1, dword [0x14022fc94]
movss dword [rbp - 0x64], xmm1
movss xmm0, dword [0x14022fc98]
movss dword [rbp - 0x60], xmm0
movss xmm1, dword [0x14022fc9c]
mulss xmm1, dword [rdi + 0x38f0]
movss dword [rbp - 0x5c], xmm1
lea rcx, [rbp - 0x68]
call fcn.140030634
mov esi, eax
lea rcx, [rbp - 0x48]
call fcn.14003df08
mov rbx, rax
movss xmm2, dword [0x14011c104]
movss dword [rsp + 0x20], xmm2
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140119b08]
lea rcx, [rsp + 0x50]
call fcn.140035b4c
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 - 0x68], xmm1
movss dword [rbp - 0x64], xmm2
xor eax, eax
mov qword [rsp + 0x40], rax
movss dword [rsp + 0x38], xmm10
mov qword [rsp + 0x30], rax
lea rax, [0x140119b08]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x68]
movaps xmm2, xmm10
xor edx, edx
mov rcx, r14
call fcn.14004eab4
call fcn.14003b1ec
mov rcx, qword [0x14022e460]
mov rax, qword [rcx + 0x4038]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
addss xmm1, dword [0x14011c024]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4038]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
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, [0x1401198e8]
call fcn.14005b55c
mov r14b, al
mov rcx, qword [0x14022e460]
movss xmm8, dword [0x14022fc40]
movss dword [rsp + 0x50], xmm8
movss xmm7, dword [0x14022fc44]
movss dword [rsp + 0x54], xmm7
movss xmm6, dword [0x14022fc48]
movss dword [rsp + 0x58], xmm6
movss xmm9, dword [rcx + 0x38f0]
movaps xmm0, xmm9
mulss xmm0, dword [r13 + 0x34]
mulss xmm0, dword [0x14022fc4c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.140030634
mov r8d, eax
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x58], xmm6
movaps xmm0, xmm9
mulss xmm0, dword [0x14022fc4c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.140030634
mov r9d, eax
movss xmm5, dword [0x14022fc60]
movss dword [rsp + 0x50], xmm5
movss xmm0, dword [0x14022fc64]
movss dword [rsp + 0x54], xmm0
movss xmm1, dword [0x14022fc68]
movss dword [rsp + 0x58], xmm1
mulss xmm9, dword [0x14022fc6c]
movss dword [rsp + 0x5c], xmm9
lea rcx, [rsp + 0x50]
call fcn.140030634
movss xmm13, dword [0x14011c028]
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm13
unpcklps xmm0, xmm13
movq rdx, xmm0
lea rcx, [0x140119b04]
call fcn.140059920
xor esi, esi
test al, al
je 0x14005ab0c
mov byte [0x14022fab8], 1
movaps xmm1, xmm12
movaps xmm0, xmm10
call fcn.14003dc3c
mov ebx, dword [rsp + 0x70]
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 - 0x68], xmm0
mov dword [rbp - 0x64], 0x420c0000
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 6
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x60]
lea rdx, [0x140119b10]
lea rcx, [0x140119b0c]
call fcn.140067c54
test al, al
je 0x14005abe7
mov r14b, 1
lea rcx, [rbp + 0x60]
mov al, byte [rcx]
cmp al, 0x23
je 0x14005ab90
cmp al, 0x20
je 0x14005ab90
cmp al, 9
jne 0x14005ab95
inc rcx
jmp 0x14005ab82
mov qword [rbp + 0x3c], rsi
mov dword [rbp + 0x38], esi
mov dword [rbp + 0x44], 0xff
lea r9, [rbp + 0x3c]
lea r8, [rbp + 0x38]
cmp byte [rsp + 0x74], sil
je 0x14005abd2
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X_02X
call fcn.14002e3d8
jmp 0x14005abe7
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.14002e3d8
movss xmm1, dword [0x14011bf94]
movaps xmm0, xmm10
call fcn.14003dc3c
mov rax, qword gs:[0x58]
mov edi, 0x10
mov rax, qword [rax]
mov ecx, dword [rdi + rax]
cmp dword [0x14022fd30], ecx
jle 0x14005ac41
lea rcx, [0x14022fd30]
call fcn.1400e7990
cmp dword [0x14022fd30], 0xffffffff
jne 0x14005ac41
lea rcx, [0x1400ed7e4]
call fcn.1400e7c30
lea rcx, [0x14022fd30]
call fcn.1400e7924
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rdi + rax]
cmp dword [0x14022fd9c], ecx
jle 0x14005ac85
lea rcx, [0x14022fd9c]
call fcn.1400e7990
cmp dword [0x14022fd9c], 0xffffffff
jne 0x14005ac85
lea rcx, [0x1400ed780]
call fcn.1400e7c30
lea rcx, [0x14022fd9c]
call fcn.1400e7924
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rdi + rax]
cmp dword [0x14022fd58], ecx
jle 0x14005acc9
lea rcx, [0x14022fd58]
call fcn.1400e7990
cmp dword [0x14022fd58], 0xffffffff
jne 0x14005acc9
lea rcx, [0x1400ed71c]
call fcn.1400e7c30
lea rcx, [0x14022fd58]
call fcn.1400e7924
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rdi + rax]
cmp dword [0x14022fd98], ecx
jle 0x14005ad0d
lea rcx, [0x14022fd98]
call fcn.1400e7990
cmp dword [0x14022fd98], 0xffffffff
jne 0x14005ad0d
lea rcx, [0x1400ed6b8]
call fcn.1400e7c30
lea rcx, [0x14022fd98]
call fcn.1400e7924
mov rax, qword [0x14022e460]
movss xmm8, dword [0x14022fc40]
movss dword [rsp + 0x50], xmm8
movss xmm7, dword [0x14022fc44]
movss dword [rsp + 0x54], xmm7
movss xmm6, dword [0x14022fc48]
movss dword [rsp + 0x58], xmm6
movss xmm9, dword [rax + 0x38f0]
movaps xmm0, xmm9
mulss xmm0, xmm10
mulss xmm0, dword [0x14022fc4c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.140030634
mov r8d, eax
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x58], xmm6
movaps xmm0, xmm9
mulss xmm0, dword [0x14022fc4c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.140030634
mov r9d, eax
movss xmm5, dword [0x14022fc60]
movss dword [rsp + 0x50], xmm5
movss xmm0, dword [0x14022fc64]
movss dword [rsp + 0x54], xmm0
movss xmm1, dword [0x14022fc68]
movss dword [rsp + 0x58], xmm1
mulss xmm9, dword [0x14022fc6c]
movss dword [rsp + 0x5c], xmm9
lea rcx, [rsp + 0x50]
call fcn.140030634
lea rdx, [0x140119b48]
lea rcx, [0x140119b44]
cmp byte [0x1401bb880], sil
cmovne rcx, rdx
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm13
unpcklps xmm0, xmm13
movq rdx, xmm0
call fcn.140059920
test al, al
je 0x14005af2d
cmp byte [0x1401bb880], sil
je 0x14005aef0
mov rdx, qword [0x14022faa8]
cmp rdx, qword [0x14022fab0]
je 0x14005ae4b
mov eax, dword [r12]
mov dword [rdx], eax
add qword [0x14022faa8], 4
jmp 0x14005ae5a
mov r8, r12
lea rcx, [0x14022faa0]
call fcn.14005e034
lea r8, [r12 + 4]
mov rdx, qword [0x14022fa78]
cmp rdx, qword [0x14022fa80]
je 0x14005ae80
mov eax, dword [r12 + 4]
mov dword [rdx], eax
add qword [0x14022fa78], 4
jmp 0x14005ae8c
lea rcx, [0x14022fa70]
call fcn.14005e034
lea r8, [r12 + 8]
mov rdx, qword [0x14022fb08]
cmp rdx, qword [0x14022fb10]
je 0x14005aeb2
mov eax, dword [r12 + 8]
mov dword [rdx], eax
add qword [0x14022fb08], 4
jmp 0x14005aebe
lea rcx, [0x14022fb00]
call fcn.14005e034
lea r8, [r12 + 0xc]
mov rdx, qword [0x14022fa90]
cmp rdx, qword [0x14022fa98]
je 0x14005aee2
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x14022fa90], 4
jmp 0x14005af2d
lea rcx, [0x14022fa88]
call fcn.14005e034
jmp 0x14005af2d
mov rcx, qword [0x14022faa8]
mov rax, rcx
sub rax, qword [0x14022faa0]
sar rax, 2
test rax, rax
je 0x14005af2d
sub rcx, 4
mov qword [0x14022faa8], rcx
sub qword [0x14022fa78], 4
sub qword [0x14022fb08], 4
sub qword [0x14022fa90], 4
xor ecx, ecx
call fcn.14003300c
test al, al
je 0x14005af56
mov rax, qword [0x14022e460]
cmp byte [rax + 0x3869], sil
je 0x14005af56
cmp byte [0x1401bb880], sil
sete byte [0x1401bb880]
mov edi, esi
mov rax, qword [0x14022faa8]
mov rdx, qword [0x14022faa0]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x14005b252
mov dword [rbp - 0x68], 0x41880000
mov dword [rbp - 0x64], 0x41880000
mov rbx, rsi
movsd xmm6, qword [rbp - 0x68]
movss xmm1, dword [rbx + rdx]
lea rcx, [rbp + 0x18]
call fcn.140055afc
nop
mov rax, qword [0x14022fa70]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 8]
call fcn.140055afc
nop
mov rax, qword [0x14022fb00]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 0x28]
call fcn.140055afc
nop
mov rax, qword [0x14022fa88]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 0x68]
call fcn.140055afc
nop
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.1400019dc
nop
mov rax, qword [0x14022fa88]
movss xmm3, dword [rbx + rax]
mov rax, qword [0x14022fb00]
movss xmm2, dword [rbx + rax]
mov rax, qword [0x14022fa70]
movss xmm1, dword [rbx + rax]
mov rax, qword [0x14022faa0]
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.140030634
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
mov r8d, eax
movq rdx, xmm6
call fcn.140059b8c
test al, al
je 0x14005b095
mov rax, qword [0x14022faa0]
mov ecx, dword [rbx + rax]
mov dword [r12], ecx
mov rax, qword [0x14022fa70]
mov ecx, dword [rbx + rax]
mov dword [r12 + 4], ecx
mov rax, qword [0x14022fb00]
mov ecx, dword [rbx + rax]
mov dword [r12 + 8], ecx
mov rax, qword [0x14022fa88]
mov ecx, dword [rbx + rax]
mov dword [r12 + 0xc], ecx
lea ecx, [rdi + 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 0x14005b0c0
movaps xmm1, xmm15
movaps xmm0, xmm10
call fcn.14003dc3c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14005b0fb
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b0f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b531
call fcn.1400e78b4
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], sil
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005b146
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b141
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b538
call fcn.1400e78b4
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], sil
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14005b191
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b18c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b53f
call fcn.1400e78b4
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], sil
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14005b1dc
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b1d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b546
call fcn.1400e78b4
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], sil
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14005b227
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b222
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b54d
call fcn.1400e78b4
inc edi
add rbx, 4
mov rcx, qword [0x14022faa8]
mov rdx, qword [0x14022faa0]
sub rcx, rdx
sar rcx, 2
movsxd rax, edi
cmp rax, rcx
jb 0x14005af8c
mov ebx, dword [rsp + 0x70]
call fcn.14003aaac
mov rsi, qword [rbp - 0x80]
mov ecx, 2
call fcn.140030c54
mov ecx, 3
call fcn.140030db0
movss xmm7, dword [r15 + 0x18]
mulss xmm7, dword [0x14011bfcc]
lea rcx, [0x14022fc80]
lea rax, [0x14022fc50]
cmp byte [r13 + 0x39], 0
cmovne rax, rcx
movss xmm2, dword [rax + 4]
movss xmm4, dword [rax + 8]
movss xmm6, dword [rax + 0xc]
movss xmm0, dword [rax]
subss xmm0, dword [r13 + 0x20]
mulss xmm0, xmm7
addss xmm0, dword [r13 + 0x20]
movss dword [r13 + 0x20], xmm0
subss xmm2, dword [r13 + 0x24]
mulss xmm2, xmm7
addss xmm2, dword [r13 + 0x24]
movss dword [r13 + 0x24], xmm2
subss xmm4, dword [r13 + 0x28]
mulss xmm4, xmm7
addss xmm4, dword [r13 + 0x28]
movss dword [r13 + 0x28], xmm4
subss xmm6, dword [r13 + 0x2c]
mulss xmm6, xmm7
addss xmm6, dword [r13 + 0x2c]
movss dword [r13 + 0x2c], xmm6
mov rdi, qword [rsp + 0x60]
cmp rdi, qword [rsp + 0x68]
je 0x14005b4b3
test bl, bl
js 0x14005b4b3
movss xmm1, dword [r15 + 0x3944]
movaps xmm0, xmm10
call fcn.14003dc3c
movaps xmm4, xmm11
subss xmm4, xmm15
addss xmm4, xmm15
movss dword [rsi + 0x110], xmm4
and dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0x3f4ccccd
movss xmm1, dword [0x14022fc50]
movss dword [rbp - 0x48], xmm1
movss xmm0, dword [0x14022fc54]
movss dword [rbp - 0x44], xmm0
movss xmm1, dword [0x14022fc58]
movss dword [rbp - 0x40], xmm1
movss xmm0, dword [0x14022fc5c]
mov rax, qword [0x14022e460]
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003df08
movaps xmm2, xmm11
addss xmm2, dword [rax]
movss dword [rsp + 0x60], xmm2
movaps xmm7, xmm14
addss xmm7, dword [0x14011c048]
movss dword [rsp + 0x64], xmm7
movaps xmm6, xmm11
addss xmm6, dword [0x14011bff0]
movss dword [rbp - 0x80], xmm6
addss xmm14, xmm10
movss dword [rbp - 0x7c], xmm14
lea rcx, [rbp - 0x48]
call fcn.140030634
mov r9d, eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, qword [0x14022faf8]
call fcn.140055b78
and dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0x3e4ccccd
movss xmm1, dword [0x14022fc80]
movss dword [rbp - 0x48], xmm1
movss xmm0, dword [0x14022fc84]
movss dword [rbp - 0x44], xmm0
movss xmm1, dword [0x14022fc88]
movss dword [rbp - 0x40], xmm1
movss xmm0, dword [0x14022fc8c]
mov rax, qword [0x14022e460]
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003df08
addss xmm11, dword [rax]
movss dword [rsp + 0x60], xmm11
movss dword [rsp + 0x64], xmm7
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm14
lea rcx, [rbp - 0x48]
call fcn.140030634
mov r9d, eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x78]
mov rcx, qword [0x14022fae0]
call fcn.140055b78
mov rax, qword [0x14022e460]
mov rcx, qword [rax + 0x4038]
dec dword [rcx + 0x100]
call fcn.14003e120
mov al, r14b
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400e7850
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
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.140002920
int3