Function at 0x14005a134
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 [0x140130040]
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 [0x14022e520]
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 0x14005a1e9
xor al, al
jmp 0x14005b6d2
call fcn.14003e234
xor edx, edx
mov rcx, rdi
call fcn.140031328
mov qword [rsp + 0x70], rax
mov qword [r15 + 0x4988], r13
call fcn.14003e46c
mov rcx, rdi
call fcn.14003bb88
cmp dword [r15 + 0x5de0], r13d
jne 0x14005a233
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 [0x14011c060]
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 0x14005a290
movss xmm0, dword [r12 + 0xc]
jmp 0x14005a294
movaps xmm0, xmm8
movss dword [rbp + 0x64], xmm0
mov eax, ebx
mov ecx, 0x10100000
and eax, ecx
cmp eax, ecx
jne 0x14005a2d8
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.140030c78
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 [0x14011c234]
movss xmm4, dword [0x14011c018]
comiss xmm3, xmm10
jb 0x14005a2f7
movaps xmm7, xmm4
jmp 0x14005a2fa
movaps xmm7, xmm5
movss xmm6, dword [0x14011c1c8]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [rbp + 0x48], eax
comiss xmm1, xmm10
jb 0x14005a31c
movaps xmm3, xmm4
jmp 0x14005a31f
movaps xmm3, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x4c], eax
comiss xmm2, xmm10
jb 0x14005a339
movaps xmm1, xmm4
jmp 0x14005a33c
movaps xmm1, xmm5
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x50], eax
comiss xmm0, xmm10
jae 0x14005a354
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 [0x14011c144]
cmp dword [r15 + 0x398c], r13d
jne 0x14005a38d
movaps xmm1, xmm15
jmp 0x14005a390
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 [0x14022fd28], eax
jle 0x14005a41b
lea rcx, [0x14022fd28]
call fcn.1400e7b30
cmp dword [0x14022fd28], 0xffffffff
jne 0x14005a41b
mov qword [0x14022fd80], r13
mov qword [0x14022fd88], r13
mov ecx, 0x40
call fcn.1400e7a10
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, [0x1400eda80]
call fcn.1400e7dd0
nop
lea rcx, [0x14022fd28]
call fcn.1400e7ac4
mov rax, qword [0x14022e520]
mov rdx, rdi
mov rcx, qword [rax + 0x4038]
call fcn.140032fac
mov dword [rbp - 0x70], eax
mov r13, qword [0x14022fd80]
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 0x14005a47c
mov qword [rbp - 0x38], rcx
cmp dword [rcx + 0x1c], eax
jae 0x14005a466
mov dword [rbp - 0x30], edx
mov rcx, qword [rcx + 0x10]
jmp 0x14005a473
mov dword [rbp - 0x30], 1
mov rdi, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], dl
je 0x14005a454
mov qword [rbp - 0x68], rdi
cmp byte [rdi + 0x19], dl
jne 0x14005a48a
cmp eax, dword [rdi + 0x1c]
jae 0x14005a50e
movabs rax, 0x3ffffffffffffff
cmp qword [0x14022fd88], rax
je 0x14005b757
lea rdi, [0x14022fd80]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdx
mov ecx, 0x40
call fcn.1400e7a10
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.140008c2c
mov rdi, rax
mov qword [rbp - 0x68], rax
xor edx, edx
mov r13b, dl
test bl, 0x10
jne 0x14005b4b3
movaps xmm0, xmm11
addss xmm0, xmm10
movss dword [r14 + 0x110], xmm0
movss dword [r14 + 0x114], xmm14
xor r13d, r13d
test sil, sil
je 0x14005a546
movss xmm7, dword [r12 + 0xc]
jmp 0x14005a54a
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.14005c6b0
test al, al
je 0x14005a612
test bl, 4
jne 0x14005a612
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.14003f02c
movss xmm1, dword [r15 + 0x49c0]
addss xmm1, dword [r15 + 0x3940]
movss xmm0, dword [r15 + 0x49b4]
addss xmm0, xmm10
mov rax, qword [0x14022e520]
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.1400336f8
mov cl, byte [0x14022fac8]
test al, al
je 0x14005a63b
cmp byte [r15 + 0x3868], r13b
jne 0x14005a65a
lea rax, [rdi + 0x39]
mov r14, rax
cmp byte [rax], r13b
je 0x14005a667
test cl, cl
jne 0x14005a667
cmp byte [r15 + 0x3868], r13b
je 0x14005a667
cmp byte [rdi + 0x38], r13b
jne 0x14005a667
lea r14, [rdi + 0x39]
cmp byte [r14], r13b
sete al
mov byte [r14], al
movss xmm1, dword [r15 + 0x18]
mulss xmm1, dword [0x14011c104]
test cl, cl
je 0x14005a67f
movaps xmm0, xmm8
jmp 0x14005a683
movaps xmm0, xmm10
subss xmm0, dword [rdi + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [rdi + 0x34]
movss dword [rdi + 0x34], xmm0
mov rax, qword [0x14022e520]
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.140030b34
mov edx, eax
mov ecx, 2
call fcn.140031020
mov rax, qword [0x14022e520]
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.140030b34
mov edx, eax
mov ecx, 5
call fcn.140031020
movss xmm1, dword [0x14011c0f0]
mov ecx, 3
call fcn.140031198
movss xmm12, dword [0x14011c138]
mov dword [rbp - 0x58], 0x41700000
mov dword [rbp - 0x54], 0x41700000
lea rdx, [rbp - 0x58]
mov ecx, 2
call fcn.140031210
movaps xmm1, xmm8
mov ecx, 4
call fcn.140031198
xor eax, eax
cmp byte [r14], al
je 0x14005b4af
movss xmm1, dword [r15 + 0x49b8]
subss xmm1, dword [0x14011c100]
movss xmm0, dword [r15 + 0x49bc]
subss xmm0, dword [0x14011c174]
mov rax, qword [0x14022e520]
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.140038e04
call fcn.14003b740
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 [0x14022fac8], r14b
je 0x14005a908
mov rcx, qword gs:[0x58]
mov eax, 0x10
mov rcx, qword [rcx]
mov edx, dword [rax + rcx]
cmp dword [0x14022fde0], edx
jle 0x14005a888
lea rcx, [0x14022fde0]
call fcn.1400e7b30
cmp dword [0x14022fde0], 0xffffffff
jne 0x14005a888
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14022fdd8], eax
lea rcx, [0x14022fde0]
call fcn.1400e7ac4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14022fdd8]
cmp eax, 0x96
jbe 0x14005a908
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 [0x14022fdd8], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005a908
mov byte [0x14022fac8], r14b
mov r13d, 0xff
test sil, sil
je 0x14005a981
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, [0x140119c70]
mov edx, 0x40
lea rcx, [rbp + 0x70]
call fcn.1400301a0
jmp 0x14005a9d5
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, [0x140119c60]
mov edx, 0x40
lea rcx, [rbp + 0x70]
call fcn.1400301a0
mov rcx, qword [0x14022e520]
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 0x14005aa0b
test bl, bl
mov r8, rax
jns 0x14005aa12
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.140030b34
movss xmm0, dword [r9 + 0x110]
movss xmm1, dword [r9 + 0x114]
subss xmm1, dword [0x14011c090]
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 [0x14011c140]
mov rdx, qword [0x14022faf0]
mov rcx, r10
call fcn.14004ee0c
mov rcx, qword [0x14022fae8]
call fcn.14003b628
mov rdi, qword [0x14022e520]
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 - 0x58], xmm0
movss xmm1, dword [0x14022fc94]
movss dword [rbp - 0x54], xmm1
movss xmm0, dword [0x14022fc98]
movss dword [rbp - 0x50], xmm0
movss xmm1, dword [0x14022fc9c]
mulss xmm1, dword [rdi + 0x38f0]
movss dword [rbp - 0x4c], xmm1
lea rcx, [rbp - 0x58]
call fcn.140030b34
mov esi, eax
lea rcx, [rbp - 0x38]
call fcn.14003e390
mov rbx, rax
movss xmm2, dword [0x14011c244]
movss dword [rsp + 0x20], xmm2
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140119c88]
lea rcx, [rsp + 0x50]
call fcn.140036038
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, [0x140119c88]
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.14004ee0c
call fcn.14003b6a0
mov rcx, qword [0x14022e520]
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 [0x14011c15c]
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, [0x140119a60]
call fcn.14005b760
mov byte [rsp + 0x60], al
mov rcx, qword [0x14022e520]
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
mov rdi, qword [rbp - 0x68]
mulss xmm0, dword [rdi + 0x34]
mulss xmm0, dword [0x14022fc4c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.140030b34
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.140030b34
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.140030b34
movss xmm13, dword [0x14011c160]
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm13
unpcklps xmm0, xmm13
movq rdx, xmm0
lea rcx, [0x140119c84]
call fcn.140059b70
xor r14d, r14d
test al, al
je 0x14005ad6e
mov byte [0x14022fac8], 1
movaps xmm1, xmm12
movaps xmm0, xmm10
call fcn.14003e0c4
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, [0x140119c90]
lea rcx, [0x140119c8c]
call fcn.140067e6c
test al, al
je 0x14005ae49
mov byte [rsp + 0x60], 1
lea rcx, [rbp + 0x70]
mov al, byte [rcx]
cmp al, 0x23
je 0x14005adf4
cmp al, 0x20
je 0x14005adf4
cmp al, 9
jne 0x14005adf9
inc rcx
jmp 0x14005ade6
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 0x14005ae34
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.14002e8d8
jmp 0x14005ae49
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.14002e8d8
movss xmm1, dword [0x14011c0cc]
movaps xmm0, xmm10
call fcn.14003e0c4
mov rax, qword gs:[0x58]
mov esi, 0x10
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022fd30], ecx
jle 0x14005aea3
lea rcx, [0x14022fd30]
call fcn.1400e7b30
cmp dword [0x14022fd30], 0xffffffff
jne 0x14005aea3
lea rcx, [0x1400eda1c]
call fcn.1400e7dd0
lea rcx, [0x14022fd30]
call fcn.1400e7ac4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022fd9c], ecx
jle 0x14005aee7
lea rcx, [0x14022fd9c]
call fcn.1400e7b30
cmp dword [0x14022fd9c], 0xffffffff
jne 0x14005aee7
lea rcx, [0x1400ed9b8]
call fcn.1400e7dd0
lea rcx, [0x14022fd9c]
call fcn.1400e7ac4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022fd58], ecx
jle 0x14005af2b
lea rcx, [0x14022fd58]
call fcn.1400e7b30
cmp dword [0x14022fd58], 0xffffffff
jne 0x14005af2b
lea rcx, [0x1400ed954]
call fcn.1400e7dd0
lea rcx, [0x14022fd58]
call fcn.1400e7ac4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov ecx, dword [rsi + rax]
cmp dword [0x14022fd98], ecx
jle 0x14005af6f
lea rcx, [0x14022fd98]
call fcn.1400e7b30
cmp dword [0x14022fd98], 0xffffffff
jne 0x14005af6f
lea rcx, [0x1400ed8f0]
call fcn.1400e7dd0
lea rcx, [0x14022fd98]
call fcn.1400e7ac4
mov rax, qword [0x14022e520]
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.140030b34
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.140030b34
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.140030b34
lea rdx, [0x140119cc8]
lea rcx, [0x140119cc4]
cmp byte [0x1401bb930], r14b
cmovne rcx, rdx
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm13
unpcklps xmm0, xmm13
movq rdx, xmm0
call fcn.140059b70
test al, al
je 0x14005b18f
cmp byte [0x1401bb930], r14b
je 0x14005b152
mov rdx, qword [0x14022fab8]
cmp rdx, qword [0x14022fac0]
je 0x14005b0ad
mov eax, dword [r12]
mov dword [rdx], eax
add qword [0x14022fab8], 4
jmp 0x14005b0bc
mov r8, r12
lea rcx, [0x14022fab0]
call fcn.14005e26c
lea r8, [r12 + 4]
mov rdx, qword [0x14022fa88]
cmp rdx, qword [0x14022fa90]
je 0x14005b0e2
mov eax, dword [r12 + 4]
mov dword [rdx], eax
add qword [0x14022fa88], 4
jmp 0x14005b0ee
lea rcx, [0x14022fa80]
call fcn.14005e26c
lea r8, [r12 + 8]
mov rdx, qword [0x14022fb18]
cmp rdx, qword [0x14022fb20]
je 0x14005b114
mov eax, dword [r12 + 8]
mov dword [rdx], eax
add qword [0x14022fb18], 4
jmp 0x14005b120
lea rcx, [0x14022fb10]
call fcn.14005e26c
lea r8, [r12 + 0xc]
mov rdx, qword [0x14022faa0]
cmp rdx, qword [0x14022faa8]
je 0x14005b144
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x14022faa0], 4
jmp 0x14005b18f
lea rcx, [0x14022fa98]
call fcn.14005e26c
jmp 0x14005b18f
mov rcx, qword [0x14022fab8]
mov rax, rcx
sub rax, qword [0x14022fab0]
sar rax, 2
test rax, rax
je 0x14005b18f
sub rcx, 4
mov qword [0x14022fab8], rcx
sub qword [0x14022fa88], 4
sub qword [0x14022fb18], 4
sub qword [0x14022faa0], 4
xor ecx, ecx
call fcn.1400334f8
test al, al
je 0x14005b1b8
mov rax, qword [0x14022e520]
cmp byte [rax + 0x3869], r14b
je 0x14005b1b8
cmp byte [0x1401bb930], r14b
sete byte [0x1401bb930]
mov esi, r14d
mov rax, qword [0x14022fab8]
mov rdx, qword [0x14022fab0]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x14005b4a5
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.140055e9c
nop
mov rax, qword [0x14022fa80]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp + 8]
call fcn.140055e9c
nop
mov rax, qword [0x14022fb10]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 0x18]
call fcn.140055e9c
nop
mov rax, qword [0x14022fa98]
movss xmm1, dword [rbx + rax]
lea rcx, [rbp - 0x58]
call fcn.140055e9c
nop
mov edx, esi
lea rcx, [rbp - 0x38]
call fcn.14000198c
nop
mov rax, qword [0x14022fa98]
movss xmm3, dword [rbx + rax]
mov rax, qword [0x14022fb10]
movss xmm2, dword [rbx + rax]
mov rax, qword [0x14022fa80]
movss xmm1, dword [rbx + rax]
mov rax, qword [0x14022fab0]
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.140030b34
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], r13
cmova rcx, qword [rbp - 0x38]
mov r8d, eax
movq rdx, xmm6
call fcn.140059de0
test al, al
je 0x14005b2fd
mov rax, qword [0x14022fab0]
mov ecx, dword [rbx + rax]
mov dword [r12], ecx
mov rax, qword [0x14022fa80]
mov ecx, dword [rbx + rax]
mov dword [r12 + 4], ecx
mov rax, qword [0x14022fb10]
mov ecx, dword [rbx + rax]
mov dword [r12 + 8], ecx
mov rax, qword [0x14022fa98]
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 0x14005b328
movaps xmm1, xmm15
movaps xmm0, xmm10
call fcn.14003e0c4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, r13
jbe 0x14005b362
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b35d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b734
call fcn.1400e7a54
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x38], r14b
mov rdx, qword [rbp - 0x40]
cmp rdx, r13
jbe 0x14005b3a8
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b3a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b73b
call fcn.1400e7a54
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x58], r14b
mov rdx, qword [rbp]
cmp rdx, r13
jbe 0x14005b3ee
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b3e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b742
call fcn.1400e7a54
mov qword [rbp - 8], r14
mov qword [rbp], r13
mov byte [rbp - 0x18], r14b
mov rdx, qword [rbp + 0x20]
cmp rdx, r13
jbe 0x14005b434
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b42f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b749
call fcn.1400e7a54
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], r13
mov byte [rbp + 8], r14b
mov rdx, qword [rbp + 0x40]
cmp rdx, r13
jbe 0x14005b47a
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b475
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b750
call fcn.1400e7a54
inc esi
add rbx, 4
mov rcx, qword [0x14022fab8]
mov rdx, qword [0x14022fab0]
sub rcx, rdx
sar rcx, 2
movsxd rax, esi
cmp rax, rcx
jb 0x14005b1f5
mov ebx, dword [rsp + 0x78]
call fcn.14003af5c
mov r13b, byte [rsp + 0x60]
mov r14, qword [rbp - 0x78]
mov ecx, 2
call fcn.140031140
mov ecx, 3
call fcn.14003129c
lea rcx, [0x14022fc80]
lea rax, [0x14022fc50]
cmp byte [rdi + 0x39], 0
cmovne rax, rcx
movups xmm3, xmmword [rdi + 0x20]
movss xmm2, dword [r15 + 0x18]
mulss xmm2, dword [0x14011c104]
shufps xmm2, xmm2, 0
movups xmm0, xmmword [rax]
subps xmm0, xmm3
mulps xmm2, xmm0
addps xmm2, xmm3
movdqu xmmword [rdi + 0x20], xmm2
mov rdi, qword [rsp + 0x68]
cmp rdi, qword [rsp + 0x70]
je 0x14005b6b6
test bl, bl
js 0x14005b6b6
movss xmm1, dword [r15 + 0x3944]
movaps xmm0, xmm10
call fcn.14003e0c4
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 [0x14022fc50]
movss dword [rbp - 0x38], xmm1
movss xmm0, dword [0x14022fc54]
movss dword [rbp - 0x34], xmm0
movss xmm1, dword [0x14022fc58]
movss dword [rbp - 0x30], xmm1
movss xmm0, dword [0x14022fc5c]
mov rax, qword [0x14022e520]
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003e390
movaps xmm2, xmm11
addss xmm2, dword [rax]
movss dword [rsp + 0x68], xmm2
movaps xmm7, xmm14
addss xmm7, dword [0x14011c180]
movss dword [rsp + 0x6c], xmm7
movaps xmm6, xmm11
addss xmm6, dword [0x14011c128]
movss dword [rbp - 0x78], xmm6
addss xmm14, xmm10
movss dword [rbp - 0x74], xmm14
lea rcx, [rbp - 0x38]
call fcn.140030b34
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 [0x14022fb08]
call fcn.140055f18
and dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0x3e4ccccd
movss xmm1, dword [0x14022fc80]
movss dword [rbp - 0x38], xmm1
movss xmm0, dword [0x14022fc84]
movss dword [rbp - 0x34], xmm0
movss xmm1, dword [0x14022fc88]
movss dword [rbp - 0x30], xmm1
movss xmm0, dword [0x14022fc8c]
mov rax, qword [0x14022e520]
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003e390
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.140030b34
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 [0x14022faf0]
call fcn.140055f18
mov rax, qword [0x14022e520]
mov rcx, qword [rax + 0x4038]
dec dword [rcx + 0x100]
call fcn.14003e5a8
mov al, r13b
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400e79f0
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.1400028a4
int3