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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x298
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [0x180207f40]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14d, r9d
mov r15, r8
mov qword [rsp + 0x60], r8
mov qword [rbp - 0x48], rdx
mov rbx, rcx
mov qword [rbp - 0x68], rcx
xor esi, esi
mov rcx, qword [0x1802091c0]
mov rax, qword [rcx + 0x4038]
mov byte [rax + 0xc0], 1
mov rdi, qword [rcx + 0x4038]
mov qword [rsp + 0x78], rdi
cmp byte [rdi + 0xc3], sil
je 0x18003782c
xor al, al
jmp 0x180038e34
mov r13, qword [0x1802091c0]
call fcn.180008600
movaps xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [0x18011c538]
xorps xmm9, xmm9
test r14b, 0x10
je 0x180037857
xorps xmm7, xmm7
jmp 0x18003785a
movaps xmm7, xmm0
movss dword [rbp - 0x7c], xmm7
movaps xmm10, xmm1
subss xmm10, xmm7
xor edx, edx
mov rcx, rbx
call fcn.18000c090
mov qword [rsp + 0x70], rax
mov qword [r13 + 0x4988], rsi
call fcn.180008020
mov rcx, rbx
call fcn.180016230
cmp dword [r13 + 0x5de0], esi
jne 0x1800378ad
movsxd rax, dword [rdi + 0x100]
mov rcx, qword [rdi + 0x108]
mov eax, dword [rcx + rax*4 - 4]
mov dword [r13 + 0x5de0], eax
mov dword [rbp - 0x50], r14d
test r14b, 0x20
je 0x1800378c5
and r14d, 0xff9fffff
or r14d, 0x100008
test r14b, 8
jne 0x1800378d6
mov edx, r14d
mov rcx, r15
call fcn.18004c1e0
test r14d, 0x700000
jne 0x1800378ee
mov eax, dword [r13 + 0x5ddc]
and eax, 0x700000
or r14d, eax
test r14d, 0x1800000
jne 0x180037906
mov eax, dword [r13 + 0x5ddc]
and eax, 0x1800000
or r14d, eax
test r14d, 0x6000000
jne 0x18003791e
mov eax, dword [r13 + 0x5ddc]
and eax, 0x6000000
or r14d, eax
test r14d, 0x18000000
jne 0x180037936
mov eax, dword [r13 + 0x5ddc]
and eax, 0x18000000
or r14d, eax
mov eax, dword [r13 + 0x5ddc]
and eax, 0xe00fffff
or r14d, eax
mov dword [rbp - 0x60], r14d
mov eax, r14d
shr eax, 1
not al
and al, 1
movzx eax, al
mov dword [rbp - 0x70], eax
mov ebx, r14d
shr ebx, 0x13
and bl, 1
mov dword [rbp + 0x88], ebx
lea r12d, [rax + 3]
movss xmm3, dword [r15]
movss dword [rbp + 0x68], xmm3
movss xmm1, dword [r15 + 4]
movss dword [rbp + 0x6c], xmm1
movss xmm2, dword [r15 + 8]
movss dword [rbp + 0x70], xmm2
movss xmm12, dword [0x18011c4f4]
test al, al
je 0x1800379a0
movss xmm0, dword [r15 + 0xc]
jmp 0x1800379a4
movaps xmm0, xmm12
movss dword [rbp + 0x74], xmm0
mov eax, r14d
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1800379d8
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x68]
movaps xmm0, xmm3
call fcn.1800097d0
jmp 0x180037a19
mov eax, r14d
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x180037a2d
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x68]
movaps xmm0, xmm3
call fcn.180009990
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x6c]
lea rdx, [rbp + 0x68]
mov rcx, r15
call fcn.180039030
movss xmm3, dword [rbp + 0x68]
movss xmm1, dword [rbp + 0x6c]
movss xmm2, dword [rbp + 0x70]
movss xmm0, dword [rbp + 0x74]
movss xmm5, dword [0x1801208d0]
movss xmm4, dword [0x18011c4cc]
comiss xmm3, xmm9
jb 0x180037a48
movaps xmm6, xmm4
jmp 0x180037a4b
movaps xmm6, xmm5
movss xmm11, dword [0x18011c558]
mulss xmm3, xmm11
addss xmm3, xmm6
cvttss2si eax, xmm3
mov dword [rbp + 0x78], eax
comiss xmm1, xmm9
jb 0x180037a6f
movaps xmm3, xmm4
jmp 0x180037a72
movaps xmm3, xmm5
mulss xmm1, xmm11
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x7c], eax
comiss xmm2, xmm9
jb 0x180037a8d
movaps xmm1, xmm4
jmp 0x180037a90
movaps xmm1, xmm5
mulss xmm2, xmm11
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x80], eax
comiss xmm0, xmm9
jae 0x180037aac
movaps xmm4, xmm5
mulss xmm0, xmm11
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [rbp + 0x84], eax
mov byte [rsp + 0x50], sil
movss xmm15, dword [rdi + 0x110]
movss xmm0, dword [rdi + 0x114]
movss dword [rbp - 0x58], xmm0
cmp dword [r13 + 0x398c], esi
jne 0x180037ae8
movaps xmm1, xmm7
jmp 0x180037aeb
xorps xmm1, xmm1
movaps xmm0, xmm15
addss xmm0, xmm1
movss dword [rdi + 0x110], xmm0
movss xmm13, dword [0x18011c570]
test r14d, 0x300000
je 0x180037d8f
test r14b, 0x20
jne 0x180037d8f
lea eax, [r12 - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss xmm2, dword [r13 + 0x3944]
movaps xmm0, xmm2
mulss xmm0, xmm3
movaps xmm1, xmm10
subss xmm1, xmm0
movd xmm0, r12d
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm6, xmm12
maxss xmm6, xmm1
addss xmm2, xmm6
mulss xmm2, xmm3
movaps xmm0, xmm10
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm7, xmm12
maxss xmm7, xmm1
mov eax, r14d
and eax, 0x1000000
mov dword [rbp - 0x40], eax
lea rcx, str.M:0.000
lea rdx, str.M:000
cmovne rdx, rcx
movss dword [rsp + 0x20], xmm13
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.180008850
movss xmm0, dword [rax]
comiss xmm0, xmm6
setae al
test al, al
jne 0x180037bce
bt r14d, 0x15
setb sil
inc rsi
xor ecx, ecx
mov edi, ecx
test r12d, r12d
je 0x180037d8f
cmp dword [rbp - 0x40], ecx
je 0x180037cb8
mov eax, r14d
and eax, 8
mov dword [rbp - 0x40], eax
lea rbx, [0x180198978]
lea rax, [rbp + 0x68]
mov qword [rbp - 0x78], rax
shl rsi, 5
sub rsi, rbx
lea rax, str._0.3f
add rsi, rax
movss xmm8, dword [0x18011c4a4]
mov r15d, dword [rbp + 0x88]
mov r14d, dword [rbp - 0x40]
test edi, edi
je 0x180037c37
movss xmm1, dword [r13 + 0x3944]
movaps xmm0, xmm9
call fcn.180019610
lea eax, [rdi + 1]
mov edi, eax
cmp eax, r12d
jge 0x180037c46
movaps xmm0, xmm6
jmp 0x180037c49
movaps xmm0, xmm7
call fcn.18001a870
mov rax, qword [rbx + rsi]
test r15b, r15b
je 0x180037c5d
movaps xmm0, xmm9
jmp 0x180037c61
movaps xmm0, xmm12
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm9
movaps xmm2, xmm8
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbx]
call fcn.18004f210
or byte [rsp + 0x50], al
test r14d, r14d
jne 0x180037ca1
lea edx, [r14 + 1]
lea rcx, str.context
call fcn.180015a40
add qword [rbp - 0x78], 4
add rbx, 8
cmp edi, r12d
jl 0x180037c21
jmp 0x180037d86
test r12d, r12d
je 0x180037d8f
mov eax, 0xff
test bl, bl
cmovne eax, ecx
mov dword [rbp - 0x40], eax
mov eax, r14d
and eax, 8
mov dword [rbp - 0x78], eax
shl rsi, 5
lea rax, [0x1801989a0]
add rsi, rax
lea rbx, [0x180198978]
mov r15d, ecx
mov r14d, dword [rbp - 0x40]
mov dword [rbp + 0x88], r15d
test r15d, r15d
je 0x180037d11
movss xmm1, dword [r13 + 0x3944]
movaps xmm0, xmm9
call fcn.180019610
lea eax, [r15 + 1]
mov r15d, eax
cmp eax, r12d
jge 0x180037d22
movaps xmm0, xmm6
jmp 0x180037d25
movaps xmm0, xmm7
call fcn.18001a870
mov eax, dword [rbp + 0x88]
lea rdx, [rbp + 0x78]
lea rdx, [rdx + rax*4]
xor eax, eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsi + rdi*8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
movaps xmm2, xmm12
mov rcx, qword [rbx + rdi*8]
call fcn.18004f280
or byte [rsp + 0x50], al
cmp dword [rbp - 0x78], 0
jne 0x180037d77
mov edx, 1
lea rcx, str.context
call fcn.180015a40
inc rdi
mov eax, r12d
cmp rdi, rax
jl 0x180037cf3
mov r15, qword [rsp + 0x60]
mov r14d, dword [rbp - 0x60]
mov esi, dword [0x18020a3b8]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rsi*8]
mov eax, dword [rcx + rax]
cmp dword [0x1802094d0], eax
jg 0x180038e9c
mov rcx, qword [rbp - 0x68]
call fcn.18000ccd0
mov ebx, eax
mov rdi, qword [0x1802094c0]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0x88], rcx
xor edx, edx
mov dword [rbp + 0x90], edx
mov r12, rdi
cmp byte [rcx + 0x19], dl
jne 0x180037e10
mov qword [rbp + 0x88], rcx
cmp dword [rcx + 0x1c], ebx
jae 0x180037dfb
mov dword [rbp + 0x90], edx
mov rcx, qword [rcx + 0x10]
jmp 0x180037e0b
mov dword [rbp + 0x90], 1
mov r12, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], dl
je 0x180037de3
cmp byte [r12 + 0x19], dl
jne 0x180037e22
cmp ebx, dword [r12 + 0x1c]
jae 0x180037e9f
movabs rax, 0x3ffffffffffffff
cmp qword [0x1802094c8], rax
je 0x180038ef5
lea r12, [0x1802094c0]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rdx
mov ecx, 0x40
call fcn.1800e3c74
nop
mov dword [rax + 0x1c], ebx
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], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], cx
movups xmm0, xmmword [rbp + 0x88]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.18001f2f0
mov r12, rax
movss xmm14, dword [0x18011c518]
test r14b, 0x10
jne 0x180038bc9
test r14b, 0x20
jne 0x180037ecd
cmp dword [r13 + 0x398c], 0
je 0x180037ecd
addss xmm10, dword [r13 + 0x3944]
jmp 0x180037ed1
movaps xmm10, xmm9
movaps xmm0, xmm15
addss xmm0, xmm10
mov rax, qword [rsp + 0x78]
movss dword [rax + 0x110], xmm0
movss xmm10, dword [rbp - 0x58]
movss dword [rax + 0x114], xmm10
mov edi, dword [rbp - 0x70]
test dil, dil
je 0x180037f06
movss xmm3, dword [r15 + 0xc]
jmp 0x180037f0a
movaps xmm3, xmm12
movss xmm2, dword [r15 + 8]
movss xmm1, dword [r15 + 4]
movss xmm0, dword [r15]
movss dword [rbp + 0x88], xmm0
movss dword [rbp + 0x8c], xmm1
movss dword [rbp + 0x90], xmm2
movss dword [rbp + 0x94], xmm3
lea r9, [rsp + 0x60]
mov r8d, r14d
lea rdx, [rbp + 0x88]
lea rcx, str.ColorButton
call fcn.180037490
test al, al
je 0x180037fcd
test r14b, 4
jne 0x180037fcd
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [r13 + 0x5df4], xmm0
xor edx, edx
lea rcx, str.picker
call fcn.1800157c0
mov qword [rsp + 0x60], 0
movss xmm1, dword [r13 + 0x49c0]
addss xmm1, dword [r13 + 0x3940]
movss xmm0, dword [r13 + 0x49b4]
addss xmm0, xmm9
movss dword [rbp + 0x88], xmm0
movss dword [rbp + 0x8c], xmm1
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.18001a890
test r14b, 8
jne 0x180037fe4
mov edx, 1
lea rcx, str.context
call fcn.180015a40
lea rcx, [r13 + 0x49b4]
xor r8d, r8d
mov edx, dword [r13 + 0x49a8]
call fcn.180010030
movzx ecx, byte [0x1802094bc]
test al, al
je 0x18003800f
cmp byte [r13 + 0x3868], 0
jne 0x18003803f
lea rbx, [r12 + 0x39]
cmp byte [r12 + 0x39], 0
je 0x18003804c
lea rbx, [r12 + 0x39]
test cl, cl
jne 0x18003804c
lea rbx, [r12 + 0x39]
cmp byte [r13 + 0x3868], cl
je 0x18003804c
lea rbx, [r12 + 0x39]
cmp byte [r12 + 0x38], cl
jne 0x18003804c
lea rbx, [r12 + 0x39]
cmp byte [rbx], 0
sete al
mov byte [rbx], al
movss xmm2, dword [r13 + 0x18]
mulss xmm2, xmm14
test cl, cl
je 0x180038061
movaps xmm1, xmm12
jmp 0x180038065
movaps xmm1, xmm9
subss xmm1, dword [r12 + 0x34]
mulss xmm1, xmm2
addss xmm1, dword [r12 + 0x34]
movss dword [r12 + 0x34], xmm1
movaps xmm1, xmm12
lea rcx, [0x180209280]
call fcn.18000ca50
mov edx, eax
mov ecx, 2
call fcn.180016480
movaps xmm1, xmm12
lea rcx, [0x180209290]
call fcn.18000ca50
mov edx, eax
mov ecx, 5
call fcn.180016480
movss xmm1, dword [0x180198974]
mov ecx, 3
call fcn.1800165d0
movss xmm8, dword [0x18011c530]
mov dword [rsp + 0x60], 0x41700000
mov dword [rsp + 0x64], 0x41700000
lea rdx, [rsp + 0x60]
mov ecx, 2
call fcn.180016540
movaps xmm1, xmm12
mov ecx, 4
call fcn.1800165d0
cmp byte [rbx], 0
je 0x180038bcf
mov qword [rsp + 0x60], 0
movss xmm1, dword [r13 + 0x49b8]
subss xmm1, dword [0x18011c514]
movss xmm0, dword [r13 + 0x49bc]
subss xmm0, dword [0x1801208ac]
movss dword [rbp + 0x88], xmm0
movss dword [rbp + 0x8c], xmm1
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.18001a890
xor edx, edx
lea r8d, [rdx + 0x6f]
lea rcx, str.picker
call fcn.180005230
xor ecx, ecx
call fcn.18000fd30
mov byte [r12 + 0x38], al
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rbp - 0x3c]
mov edx, dword [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov ebx, eax
cmp byte [0x1802094bc], 0
je 0x180038243
mov rcx, qword gs:[0x58]
mov eax, 4
mov rcx, qword [rcx + rsi*8]
mov edx, dword [rax + rcx]
cmp dword [0x1802094d8], edx
jg 0x180038efb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1802094d4]
cmp eax, 0x96
jbe 0x180038243
movzx eax, bl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm11
movss dword [r15], xmm0
movzx eax, bx
shr ax, 8
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm11
movss dword [r15 + 4], xmm0
shr ebx, 0x10
movzx eax, bl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm11
movss dword [r15 + 8], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1802094d4], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180038243
mov byte [0x1802094bc], 0
test dil, dil
je 0x1800382d2
mov edx, dword [rbp + 0x84]
mov r10d, 0xff
test edx, edx
jns 0x180038264
xor r8d, r8d
mov edx, r8d
jmp 0x18003826e
cmp edx, r10d
cmovg edx, r10d
xor r8d, r8d
mov ecx, dword [rbp + 0x80]
test ecx, ecx
jns 0x18003827d
mov ecx, r8d
jmp 0x180038284
cmp ecx, r10d
cmovg ecx, r10d
mov eax, dword [rbp + 0x7c]
test eax, eax
jns 0x180038290
mov eax, r8d
jmp 0x180038297
cmp eax, r10d
cmovg eax, r10d
mov r9d, dword [rbp + 0x78]
test r9d, r9d
jns 0x1800382a5
mov r9d, r8d
jmp 0x1800382ac
cmp r9d, r10d
cmovg r9d, r10d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x1801207d0]
mov edx, 0x40
lea rcx, [rbp + 0xa0]
call fcn.18000dc20
jmp 0x180038338
mov ecx, dword [rbp + 0x80]
mov r8d, 0xff
test ecx, ecx
jns 0x1800382e8
xor edx, edx
mov ecx, edx
jmp 0x1800382f1
cmp ecx, r8d
cmovg ecx, r8d
xor edx, edx
mov eax, dword [rbp + 0x7c]
test eax, eax
jns 0x1800382fc
mov eax, edx
jmp 0x180038303
cmp eax, r8d
cmovg eax, r8d
mov r9d, dword [rbp + 0x78]
test r9d, r9d
jns 0x180038311
mov r9d, edx
jmp 0x180038318
cmp r9d, r8d
cmovg r9d, r8d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x1801207e8]
mov edx, 0x40
lea rcx, [rbp + 0xa0]
call fcn.18000dc20
call fcn.18000d9d0
mov rsi, rax
mov rax, qword [rbp - 0x68]
cmp rax, qword [rsp + 0x70]
je 0x180038353
test r14b, r14b
mov rdi, rax
jns 0x18003835a
lea rdi, str.Color_picker
movaps xmm1, xmm12
lea rcx, [0x1802092a0]
call fcn.18000ca50
mov ebx, eax
lea rcx, [rbp + 0x88]
call fcn.18000cc10
movss xmm1, dword [rax + 4]
subss xmm1, dword [0x18011c500]
movss xmm0, dword [rax]
subss xmm0, xmm9
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
xor eax, eax
mov qword [rsp + 0x40], rax
movss dword [rsp + 0x38], xmm9
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x60]
movss xmm2, dword [0x18012089c]
mov rdx, qword [0x1802093c8]
mov rcx, rsi
call fcn.180025810
mov rcx, qword [0x1802093e0]
call fcn.1800160b0
call fcn.18000d9d0
mov rsi, rax
movaps xmm1, xmm12
lea rcx, [0x1802092b0]
call fcn.18000ca50
mov edi, eax
lea rcx, [rbp + 0x88]
call fcn.18000cb80
mov rbx, rax
movss dword [rsp + 0x20], xmm13
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1801207f8]
lea rcx, [rbp - 0x58]
call fcn.180008850
movss xmm6, dword [rax]
movss xmm7, dword [rbx]
lea rcx, [rbp - 0x60]
call fcn.18000cc10
movss xmm0, dword [rax + 4]
addss xmm0, xmm9
addss xmm6, xmm8
subss xmm7, xmm6
addss xmm7, dword [rax]
movss dword [rsp + 0x60], xmm7
movss dword [rsp + 0x64], xmm0
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9, [0x1801207f8]
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.180025780
call fcn.180015c50
call fcn.18000cbe0
addss xmm0, dword [0x18011c548]
call fcn.18001a090
mov ebx, dword [rbp - 0x50]
and ebx, 0x1f890002
or ebx, 0x740080
movss xmm0, dword [0x1801208c0]
call fcn.18001a870
lea r9, [r13 + 0x5df4]
mov r8d, ebx
mov rdx, r15
lea rcx, [0x18011c6d0]
call fcn.180039110
or byte [rsp + 0x50], al
movss xmm1, dword [r12 + 0x34]
lea rcx, [0x180209200]
call fcn.18000ca50
mov edi, eax
movaps xmm1, xmm12
lea rcx, [0x180209200]
call fcn.18000ca50
mov ebx, eax
movaps xmm1, xmm12
lea rcx, [0x180209290]
call fcn.18000ca50
movss xmm6, dword [0x18011c54c]
mov dword [rsp + 0x20], edi
mov r9d, ebx
mov r8d, eax
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movq rdx, xmm0
lea rcx, [0x1801207fc]
call fcn.18003e670
test al, al
je 0x180038531
mov byte [0x1802094bc], 1
movaps xmm1, xmm8
movaps xmm0, xmm9
call fcn.180019610
test r14b, 2
mov eax, 0x76
mov ecx, 0x80
cmove eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
mov dword [rsp + 0x64], 0x420c0000
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 6
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rcx - 0x40]
lea r8, [rbp + 0xa0]
lea rdx, str.HEX_COLOR
lea rcx, [0x18012080c]
call fcn.18004fae0
test al, al
je 0x180038626
mov byte [rsp + 0x50], 1
lea rcx, [rbp + 0xa0]
movzx eax, byte [rcx]
cmp al, 0x23
je 0x1800385c3
cmp al, 0x20
je 0x1800385c3
cmp al, 9
jne 0x1800385c8
inc rcx
jmp 0x1800385b4
mov qword [rbp + 0x7c], rsi
mov dword [rbp + 0x78], esi
mov eax, 0xff
mov dword [rbp + 0x84], eax
lea r9, [rbp + 0x7c]
lea r8, [rbp + 0x78]
cmp byte [rbp - 0x70], sil
je 0x18003860e
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X_02X
call fcn.18003eb30
jmp 0x180038626
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.18003eb30
movss xmm1, dword [0x18011c508]
movaps xmm0, xmm9
call fcn.180019610
mov ecx, dword [0x18020a3b8]
mov rax, qword gs:[0x58]
mov rbx, qword [rax + rcx*8]
mov edi, 4
mov ecx, dword [rdi + rbx]
cmp dword [0x1802094dc], ecx
jg 0x180038f31
mov ecx, dword [rdi + rbx]
cmp dword [0x1802094e0], ecx
jg 0x180038f67
mov ecx, dword [rdi + rbx]
cmp dword [0x1802094e4], ecx
jg 0x180038f9d
mov ecx, dword [rdi + rbx]
cmp dword [0x1802094e8], ecx
jg 0x180038fd3
movaps xmm1, xmm9
lea rcx, [0x180209200]
call fcn.18000ca50
mov edi, eax
movaps xmm1, xmm12
lea rcx, [0x180209200]
call fcn.18000ca50
mov ebx, eax
movaps xmm1, xmm12
lea rcx, [0x180209290]
call fcn.18000ca50
lea rdx, [0x180120838]
lea rcx, [0x18012083c]
cmp byte [0x180198a60], sil
cmovne rcx, rdx
mov dword [rsp + 0x20], edi
mov r9d, ebx
mov r8d, eax
movaps xmm0, xmm6
unpcklps xmm0, xmm6
movq rdx, xmm0
call fcn.18003e670
test al, al
je 0x180038803
cmp byte [0x180198a60], sil
je 0x1800387c6
mov rdx, qword [0x180209348]
cmp rdx, qword [0x180209350]
je 0x180038726
mov eax, dword [r15]
mov dword [rdx], eax
add qword [0x180209348], 4
jmp 0x180038735
mov r8, r15
lea rcx, [0x180209340]
call fcn.180035140
lea r8, [r15 + 4]
mov rdx, qword [0x180209360]
cmp rdx, qword [0x180209368]
je 0x180038759
mov eax, dword [r15 + 4]
mov dword [rdx], eax
add qword [0x180209360], 4
jmp 0x180038765
lea rcx, [0x180209358]
call fcn.180035140
lea r8, [r15 + 8]
mov rdx, qword [0x180209378]
cmp rdx, qword [0x180209380]
je 0x180038789
mov eax, dword [r15 + 8]
mov dword [rdx], eax
add qword [0x180209378], 4
jmp 0x180038795
lea rcx, [0x180209370]
call fcn.180035140
lea r8, [r15 + 0xc]
mov rdx, qword [0x180209390]
cmp rdx, qword [0x180209398]
je 0x1800387b8
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x180209390], 4
jmp 0x180038803
lea rcx, [0x180209388]
call fcn.180035140
jmp 0x180038803
mov rcx, qword [0x180209348]
mov rax, rcx
sub rax, qword [0x180209340]
sar rax, 2
test rax, rax
je 0x180038803
sub rcx, 4
mov qword [0x180209348], rcx
sub qword [0x180209360], 4
sub qword [0x180209378], 4
sub qword [0x180209390], 4
xor ecx, ecx
call fcn.18000f360
test al, al
je 0x18003882a
call fcn.18000d120
cmp byte [rax + 0x3861], sil
je 0x18003882a
cmp byte [0x180198a60], sil
sete byte [0x180198a60]
mov edi, esi
mov rax, qword [0x180209348]
mov rdx, qword [0x180209340]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x180038bc2
mov dword [rsp + 0x60], 0x41880000
mov dword [rsp + 0x64], 0x41880000
mov rbx, rsi
movsd xmm6, qword [rsp + 0x60]
movss xmm7, dword [0x18011c538]
nop dword [rax + rax]
movss xmm1, dword [rdx + rbx]
cvtps2pd xmm1, xmm1
lea rcx, [rbp + 0x48]
call fcn.18003e910
nop
mov rax, qword [0x180209358]
movss xmm1, dword [rax + rbx]
cvtps2pd xmm1, xmm1
lea rcx, [rbp + 0x28]
call fcn.18003e910
nop
mov rax, qword [0x180209370]
movss xmm1, dword [rax + rbx]
cvtps2pd xmm1, xmm1
lea rcx, [rbp + 8]
call fcn.18003e910
nop
mov rax, qword [0x180209388]
movss xmm1, dword [rax + rbx]
cvtps2pd xmm1, xmm1
lea rcx, [rbp - 0x18]
call fcn.18003e910
nop
lea r10, [rbp + 0x9d]
mov r8d, edi
test edi, edi
jns 0x180038920
neg r8d
nop
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1800388e0
dec r10
mov byte [r10], 0x2d
jmp 0x18003894a
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x180038920
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x9d]
mov rdx, r10
lea rcx, [rbp - 0x38]
call fcn.180034dd0
nop
mov rax, qword [0x180209388]
movss xmm3, dword [rax + rbx]
mov rax, qword [0x180209370]
movss xmm2, dword [rax + rbx]
mov rax, qword [0x180209358]
movss xmm1, dword [rax + rbx]
mov rax, qword [0x180209340]
movss xmm0, dword [rax + rbx]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
movss dword [rsp + 0x68], xmm2
movss dword [rsp + 0x6c], xmm3
lea rcx, [rsp + 0x60]
call fcn.180009720
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
mov r8d, eax
movq rdx, xmm6
call fcn.18003d5e0
test al, al
je 0x180038a0a
mov rax, qword [0x180209340]
mov ecx, dword [rax + rbx]
mov dword [r15], ecx
mov rax, qword [0x180209358]
mov ecx, dword [rax + rbx]
mov dword [r15 + 4], ecx
mov rax, qword [0x180209370]
mov ecx, dword [rax + rbx]
mov dword [r15 + 8], ecx
mov rax, qword [0x180209388]
mov ecx, dword [rax + rbx]
mov dword [r15 + 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 0x180038a34
movaps xmm1, xmm7
movaps xmm0, xmm9
call fcn.180019610
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x180038a6f
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038a6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180039009
call fcn.1800e3cb0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x180038aba
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038ab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003900f
call fcn.1800e3cb0
mov qword [rbp - 8], rsi
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x180038b05
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038b00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180039015
call fcn.1800e3cb0
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x180038b50
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038b4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003901b
call fcn.1800e3cb0
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x180038b9b
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038b96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038e96
call fcn.1800e3cb0
inc edi
add rbx, 4
mov rcx, qword [0x180209348]
mov rdx, qword [0x180209340]
sub rcx, rdx
sar rcx, 2
movsxd rax, edi
cmp rax, rcx
jb 0x180038870
call fcn.18000a750
jmp 0x180038bd1
movss xmm10, dword [rbp - 0x58]
xor esi, esi
mov ecx, 2
call fcn.180015d50
mov ecx, 3
call fcn.180015db0
movss xmm8, dword [r13 + 0x18]
mulss xmm8, xmm14
lea rax, [0x1802092c0]
cmp byte [r12 + 0x39], 0
lea r15, [0x1802092a0]
cmovne rax, r15
movss xmm3, dword [rax + 4]
movss xmm5, dword [rax + 8]
movss xmm7, dword [rax + 0xc]
movss xmm0, dword [rax]
subss xmm0, dword [r12 + 0x20]
mulss xmm0, xmm8
addss xmm0, dword [r12 + 0x20]
movss dword [r12 + 0x20], xmm0
subss xmm3, dword [r12 + 0x24]
mulss xmm3, xmm8
addss xmm3, dword [r12 + 0x24]
movss dword [r12 + 0x24], xmm3
subss xmm5, dword [r12 + 0x28]
mulss xmm5, xmm8
addss xmm5, dword [r12 + 0x28]
movss dword [r12 + 0x28], xmm5
subss xmm7, dword [r12 + 0x2c]
mulss xmm7, xmm8
addss xmm7, dword [r12 + 0x2c]
movss dword [r12 + 0x2c], xmm7
mov rdi, qword [rbp - 0x68]
cmp rdi, qword [rsp + 0x70]
je 0x180038e25
test r14b, r14b
js 0x180038e25
movss xmm1, dword [r13 + 0x3944]
movaps xmm0, xmm9
call fcn.180019610
movss xmm1, dword [rbp - 0x7c]
test r14b, 0x20
je 0x180038cbd
movaps xmm2, xmm1
jmp 0x180038cc2
movss xmm2, dword [rbp - 0x6c]
movaps xmm0, xmm15
subss xmm0, xmm1
addss xmm0, xmm2
mov rax, qword [rsp + 0x78]
movss dword [rax + 0x110], xmm0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0x3f4ccccd
movaps xmm1, xmm12
lea rcx, [0x1802092c0]
call fcn.18000ca50
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.18000cb80
movaps xmm0, xmm15
addss xmm0, dword [rax]
movss dword [rsp + 0x70], xmm0
movaps xmm7, xmm10
addss xmm7, dword [0x18011c7a4]
movss dword [rsp + 0x74], xmm7
movaps xmm6, xmm15
addss xmm6, dword [0x18011c528]
movss dword [rsp + 0x60], xmm6
addss xmm10, xmm9
movss dword [rsp + 0x64], xmm10
mov rcx, qword [0x1802093d0]
call fcn.1800160b0
mov edx, ebx
xor ecx, ecx
call fcn.180016480
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, qword [rbp - 0x48]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.180017b60
mov ecx, 1
call fcn.180015d50
call fcn.180015c50
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0x3e4ccccd
movaps xmm1, xmm12
mov rcx, r15
call fcn.18000ca50
mov ebx, eax
lea rcx, [rbp - 0x48]
call fcn.18000cb80
addss xmm15, dword [rax]
movss dword [rsp + 0x70], xmm15
movss dword [rsp + 0x74], xmm7
movss dword [rsp + 0x60], xmm6
movss dword [rsp + 0x64], xmm10
mov rcx, qword [0x1802093c8]
call fcn.1800160b0
mov edx, ebx
xor ecx, ecx
call fcn.180016480
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.180017b60
mov ecx, 1
call fcn.180015d50
call fcn.180015c50
call fcn.180015cc0
call fcn.18000b220
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1800e3dd0
lea r11, [rsp + 0x298]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800ebe8c
int3
lea rcx, [0x1802094d0]
call fcn.1800e4234
cmp dword [0x1802094d0], 0xffffffff
jne 0x180037db6
mov ecx, 0x40
call fcn.1800e3c74
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1802094c0], rax
lea rcx, [0x1801186e0]
call fcn.1800e4174
nop
lea rcx, [0x1802094d0]
call fcn.1800e41c8
jmp 0x180037db6
call fcn.18001f550
int3
lea rcx, [0x1802094d8]
call fcn.1800e4234
cmp dword [0x1802094d8], 0xffffffff
jne 0x1800381c5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1802094d4], eax
lea rcx, [0x1802094d8]
call fcn.1800e41c8
jmp 0x1800381c5
lea rcx, [0x1802094dc]
call fcn.1800e4234
cmp dword [0x1802094dc], 0xffffffff
jne 0x18003865e
lea rcx, [0x180118bb0]
call fcn.1800e4174
lea rcx, [0x1802094dc]
call fcn.1800e41c8
jmp 0x18003865e
lea rcx, [0x1802094e0]
call fcn.1800e4234
cmp dword [0x1802094e0], 0xffffffff
jne 0x18003866d
lea rcx, [0x180118c20]
call fcn.1800e4174
lea rcx, [0x1802094e0]
call fcn.1800e41c8
jmp 0x18003866d
lea rcx, [0x1802094e4]
call fcn.1800e4234
cmp dword [0x1802094e4], 0xffffffff
jne 0x18003867c
lea rcx, [0x180118c90]
call fcn.1800e4174
lea rcx, [0x1802094e4]
call fcn.1800e41c8
jmp 0x18003867c
lea rcx, [0x1802094e8]
call fcn.1800e4234
cmp dword [0x1802094e8], 0xffffffff
jne 0x18003868b
lea rcx, [0x180118b40]
call fcn.1800e4174
lea rcx, [0x1802094e8]
call fcn.1800e41c8
jmp 0x18003868b
call fcn.1800ebe8c
nop
call fcn.1800ebe8c
nop
call fcn.1800ebe8c
nop
call fcn.1800ebe8c
int3