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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
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 [0x1401a50c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, r8
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor r13d, r13d
mov r15, qword [0x1402defd8]
mov rax, qword [r15 + 0x4038]
mov byte [rax + 0xc0], 1
mov rdi, qword [r15 + 0x4038]
mov qword [rsp + 0x78], rdi
cmp byte [rdi + 0xc3], r13b
je 0x140049512
xor al, al
jmp 0x14004abfc
mov r12, rbx
cmp rbx, 0xffffffffffffffff
jae 0x140049540
nop dword [rax + rax]
movzx ecx, byte [r12]
test cl, cl
je 0x140049540
lea rax, [r12 + 1]
cmp cl, 0x23
jne 0x140049537
cmp byte [rax], cl
je 0x140049540
mov r12, rax
cmp rax, 0xffffffffffffffff
jb 0x140049520
mov qword [r15 + 0x4988], r13
call fcn.14002dd30
mov rcx, rbx
call fcn.14002adf0
cmp dword [r15 + 0x5de0], r13d
jne 0x140049576
movsxd rcx, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r15 + 0x5de0], ecx
mov eax, dword [r15 + 0x5ddc]
and eax, 0xff9fffff
or eax, 0x130128
mov dword [rsp + 0x64], eax
mov r14d, eax
shr r14d, 1
not r14b
movss xmm6, dword [0x140188854]
and r14b, 1
movss xmm3, dword [rsi]
movss dword [rbp + 0x50], xmm3
movss xmm1, dword [rsi + 4]
movss dword [rbp + 0x54], xmm1
movss xmm2, dword [rsi + 8]
movss dword [rbp + 0x58], xmm2
je 0x1400495cb
movss xmm0, dword [rsi + 0xc]
movss dword [rbp + 0x5c], xmm0
jmp 0x1400495d3
movaps xmm0, xmm6
movss dword [rbp + 0x5c], xmm6
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x140049611
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
movaps xmm0, xmm3
call fcn.14001d990
movss xmm0, dword [rbp + 0x5c]
movss xmm2, dword [rbp + 0x58]
movss xmm1, dword [rbp + 0x54]
movss xmm3, dword [rbp + 0x50]
xorps xmm11, xmm11
movss xmm5, dword [0x140188a0c]
movss xmm4, dword [0x140188818]
comiss xmm3, xmm11
jb 0x140049631
movaps xmm8, xmm4
jmp 0x140049635
movaps xmm8, xmm5
movss xmm7, dword [0x1401889c0]
mulss xmm3, xmm7
addss xmm3, xmm8
cvttss2si eax, xmm3
mov dword [rbp + 0x40], eax
comiss xmm1, xmm11
jb 0x140049658
movaps xmm3, xmm4
jmp 0x14004965b
movaps xmm3, xmm5
mulss xmm1, xmm7
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x44], eax
comiss xmm2, xmm11
jb 0x140049675
movaps xmm1, xmm4
jmp 0x140049678
movaps xmm1, xmm5
mulss xmm2, xmm7
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x48], eax
comiss xmm0, xmm11
jae 0x140049690
movaps xmm4, xmm5
mulss xmm0, xmm7
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [rbp + 0x4c], eax
mov byte [rsp + 0x60], r13b
movss xmm13, dword [rdi + 0x110]
movss xmm15, dword [rdi + 0x114]
movss xmm14, dword [0x140188938]
movaps xmm0, xmm13
cmp dword [r15 + 0x398c], r13d
jne 0x1400496d3
addss xmm0, xmm14
jmp 0x1400496d8
addss xmm0, xmm11
movss dword [rdi + 0x110], xmm0
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1402dfb08], eax
jle 0x14004975a
lea rcx, [0x1402dfb08]
call fcn.140145d00
cmp dword [0x1402dfb08], 0xffffffff
jne 0x14004975a
mov qword [0x1402dfbd0], r13
mov qword [0x1402dfbd8], r13
mov ecx, 0x40
call fcn.140145b10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1402dfbd0], rax
lea rcx, [0x14014a1d0]
call fcn.140145fa0
nop
lea rcx, [0x1402dfb08]
call fcn.140145c94
mov rcx, rbx
call fcn.14002aea0
mov ebx, eax
mov rdi, qword [0x1402dfbd0]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x68], r13d
mov rax, rdi
mov qword [rbp - 0x78], rax
cmp byte [rcx + 0x19], 0
jne 0x1400497ae
mov qword [rbp + 0x60], rcx
cmp dword [rcx + 0x1c], ebx
jae 0x140049797
mov dword [rbp + 0x68], r13d
mov rcx, qword [rcx + 0x10]
jmp 0x1400497a4
mov dword [rbp + 0x68], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140049784
mov qword [rbp - 0x78], rax
cmp byte [rax + 0x19], 0
jne 0x1400497c2
cmp ebx, dword [rax + 0x1c]
jb 0x1400497c2
mov rbx, qword [rbp - 0x78]
jmp 0x140049842
movabs rax, 0x3ffffffffffffff
cmp qword [0x1402dfbd8], rax
je 0x14004ac5e
lea r13, [0x1402dfbd0]
mov qword [rsp + 0x50], r13
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov ecx, 0x40
call fcn.140145b10
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 + 0x60]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.140037940
mov rbx, rax
mov qword [rbp - 0x78], rax
mov r13d, 2
movss xmm8, dword [0x140188930]
mov edi, dword [rsp + 0x64]
test dil, 0x10
jne 0x14004a926
movaps xmm0, xmm13
addss xmm0, xmm11
mov rax, qword [rsp + 0x78]
movss dword [rax + 0x110], xmm0
movss dword [rax + 0x114], xmm15
test r14b, r14b
je 0x14004988a
movss xmm3, dword [rsi + 0xc]
jmp 0x14004988d
movaps xmm3, xmm6
movss xmm2, dword [rsi + 8]
movss xmm1, dword [rsi + 4]
movss xmm0, dword [rsi]
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x58], xmm2
movss dword [rsp + 0x5c], xmm3
mov r8d, edi
lea rdx, [rsp + 0x50]
call fcn.14004be50
test al, al
je 0x140049934
test dil, 4
jne 0x140049934
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r15 + 0x5df4], xmm0
lea rcx, [0x14018615c]
call fcn.14002eb80
movss xmm1, dword [r15 + 0x49c0]
movss xmm0, dword [r15 + 0x49b4]
addss xmm0, xmm11
addss xmm1, dword [r15 + 0x3940]
mov rax, qword [0x1402defd8]
or dword [rax + 0x49e8], 1
movss dword [rax + 0x49f8], xmm0
movss dword [rax + 0x49fc], xmm1
xor ecx, ecx
mov qword [rax + 0x4a00], rcx
mov dword [rax + 0x49ec], 1
lea rcx, [r15 + 0x49b4]
xor r8d, r8d
mov edx, dword [r15 + 0x49a8]
call fcn.140021520
movzx ecx, byte [0x1402df9b0]
test al, al
je 0x14004995f
cmp byte [r15 + 0x3868], 0
jne 0x140049987
lea rdi, [rbx + 0x39]
cmp byte [rbx + 0x39], 0
je 0x140049993
lea rdi, [rbx + 0x39]
test cl, cl
jne 0x140049993
lea rdi, [rbx + 0x39]
cmp byte [r15 + 0x3868], cl
je 0x140049993
lea rdi, [rbx + 0x39]
cmp byte [rbx + 0x38], cl
jne 0x140049993
lea rdi, [rbx + 0x39]
cmp byte [rdi], 0
sete al
mov byte [rdi], al
movss xmm1, dword [r15 + 0x18]
mulss xmm1, dword [0x1401888ec]
test cl, cl
jne 0x1400499a9
movaps xmm6, xmm11
subss xmm6, dword [rbx + 0x34]
mulss xmm6, xmm1
addss xmm6, dword [rbx + 0x34]
movss dword [rbx + 0x34], xmm6
mov rax, qword [0x1402defd8]
movss xmm0, dword [0x1402dfb80]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402dfb84]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402dfb88]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x1402dfb8c]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov edx, eax
mov ecx, r13d
call fcn.14001de10
mov rax, qword [0x1402defd8]
movss xmm0, dword [0x1402dfb80]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402dfb84]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402dfb88]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x1402dfb8c]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov edx, eax
mov ecx, 5
call fcn.14001de10
mov rbx, qword [0x1402defd8]
lea rcx, [rbx + 0x4a70]
movss xmm0, dword [rbx + 0x3900]
mov dword [rsp + 0x50], 3
movss dword [rsp + 0x54], xmm0
lea rdx, [rsp + 0x50]
call fcn.140036610
mov dword [rbx + 0x3900], 0x40c00000
mov dword [rsp + 0x50], 0x41700000
mov dword [rsp + 0x54], 0x41700000
lea rdx, [rsp + 0x50]
mov ecx, r13d
call fcn.14001df60
mov rbx, qword [0x1402defd8]
lea rcx, [rbx + 0x4a70]
movss xmm0, dword [rbx + 0x3904]
mov dword [rsp + 0x50], 4
movss dword [rsp + 0x54], xmm0
lea rdx, [rsp + 0x50]
call fcn.140036610
mov dword [rbx + 0x3904], 0x3f800000
cmp byte [rdi], 0
je 0x14004a922
movss xmm1, dword [r15 + 0x49b8]
subss xmm1, dword [0x1401888e0]
movss xmm0, dword [r15 + 0x49bc]
subss xmm0, dword [0x140188968]
mov rax, qword [0x1402defd8]
or dword [rax + 0x49e8], 1
movss dword [rax + 0x49f8], xmm0
movss dword [rax + 0x49fc], xmm1
xor ecx, ecx
mov qword [rax + 0x4a00], rcx
mov dword [rax + 0x49ec], 1
xor edx, edx
mov r8d, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [0x14018615c]
call fcn.140027a10
call fcn.14002a960
mov rdi, qword [rbp - 0x78]
mov byte [rdi + 0x38], al
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rbp - 0x64]
mov edx, dword [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov ebx, eax
cmp byte [0x1402df9b0], 0
je 0x140049c6f
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402dfc20], eax
jle 0x140049bf7
lea rcx, [0x1402dfc20]
call fcn.140145d00
cmp dword [0x1402dfc20], 0xffffffff
jne 0x140049bf7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1402dfc18], eax
lea rcx, [0x1402dfc20]
call fcn.140145c94
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1402dfc18]
cmp eax, 0x96
jbe 0x140049c6f
movzx eax, bl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm7
movss dword [rsi], xmm0
movzx eax, bx
shr ax, 8
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm7
movss dword [rsi + 4], xmm0
shr ebx, 0x10
movzx eax, bl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm7
movss dword [rsi + 8], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1402dfc18], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140049c6f
mov byte [0x1402df9b0], 0
mov ebx, 0xff
test r14b, r14b
je 0x140049ce4
mov edx, dword [rbp + 0x4c]
test edx, edx
jns 0x140049c84
xor edx, edx
jmp 0x140049c89
cmp edx, ebx
cmovg edx, ebx
mov ecx, dword [rbp + 0x48]
test ecx, ecx
jns 0x140049c94
xor ecx, ecx
jmp 0x140049c99
cmp ecx, ebx
cmovg ecx, ebx
mov eax, dword [rbp + 0x44]
test eax, eax
jns 0x140049ca4
xor eax, eax
jmp 0x140049ca9
cmp eax, ebx
cmovg eax, ebx
mov r9d, dword [rbp + 0x40]
test r9d, r9d
jns 0x140049cb7
xor r9d, r9d
jmp 0x140049cbe
cmp r9d, ebx
cmovg r9d, ebx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x140186148]
mov edx, 0x40
lea rcx, [rbp + 0x80]
call fcn.14001d090
jmp 0x140049d39
mov ecx, dword [rbp + 0x48]
test ecx, ecx
jns 0x140049cef
xor ecx, ecx
jmp 0x140049cf4
cmp ecx, ebx
cmovg ecx, ebx
mov eax, dword [rbp + 0x44]
test eax, eax
jns 0x140049cff
xor eax, eax
jmp 0x140049d04
cmp eax, ebx
cmovg eax, ebx
mov r9d, dword [rbp + 0x40]
test r9d, r9d
jns 0x140049d12
xor r9d, r9d
jmp 0x140049d19
cmp r9d, ebx
cmovg r9d, ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x140186178]
mov edx, 0x40
lea rcx, [rbp + 0x80]
call fcn.14001d090
mov r10, qword [0x1402defd8]
mov rax, qword [r10 + 0x4038]
mov byte [rax + 0xc0], 1
mov r8, qword [r10 + 0x4038]
mov r11, qword [r8 + 0x2a8]
mov rax, qword [rsp + 0x68]
cmp rax, r12
je 0x140049d70
test byte [rsp + 0x64], 0x80
mov r9, rax
je 0x140049d77
lea r9, str.Color_picker
movss xmm0, dword [0x1402dfbb0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402dfbb4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402dfbb8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x1402dfbbc]
mulss xmm1, dword [r10 + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov edx, eax
movss xmm0, dword [r8 + 0x110]
movss xmm1, dword [r8 + 0x114]
subss xmm1, xmm11
subss xmm0, xmm11
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
mov rcx, qword [0x1402df9c8]
test eax, 0xff000000
je 0x140049e6b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], 0
jne 0x140049e01
add r8, r9
cmp r9, r8
je 0x140049e6b
test rcx, rcx
jne 0x140049e20
mov rax, qword [r11 + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [r11 + 0x88]
movups xmmword [rbp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm11
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
lea r9, [rsp + 0x50]
movss xmm2, dword [0x14018892c]
mov rdx, r11
call fcn.1400423d0
mov r10, qword [0x1402defd8]
mov rax, qword [r10 + 0x4038]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
addss xmm1, dword [0x140188958]
mov byte [rax + 0xc0], 1
mov rax, qword [r10 + 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 [r10 + 0x4988], 1
mov dword [r10 + 0x4990], 0x434f0000
lea r9, [r15 + 0x5df4]
mov r8d, 0x750080
mov rdx, rsi
lea rcx, str.picker
call fcn.14004ac70
xor cl, cl
or cl, al
mov byte [rsp + 0x60], cl
mov rax, qword [0x1402defd8]
movss xmm9, dword [0x1402dfb60]
movss dword [rsp + 0x50], xmm9
movss xmm8, dword [0x1402dfb64]
movss dword [rsp + 0x54], xmm8
movss xmm7, dword [0x1402dfb68]
movss dword [rsp + 0x58], xmm7
movss xmm10, dword [rax + 0x38f0]
movaps xmm0, xmm10
mulss xmm0, dword [rdi + 0x34]
mulss xmm0, dword [0x1402dfb6c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov r8d, eax
movss dword [rsp + 0x50], xmm9
movss dword [rsp + 0x54], xmm8
movss dword [rsp + 0x58], xmm7
movaps xmm0, xmm10
mulss xmm0, dword [0x1402dfb6c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov r9d, eax
movss xmm0, dword [0x1402dfb90]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402dfb94]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402dfb98]
movss dword [rsp + 0x58], xmm0
mulss xmm10, dword [0x1402dfb9c]
movss dword [rsp + 0x5c], xmm10
lea rcx, [rsp + 0x50]
call fcn.14001d830
movss xmm12, dword [0x14018895c]
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm12
unpcklps xmm0, xmm12
movq rdx, xmm0
lea rcx, [0x140186188]
call fcn.1400489b0
test al, al
je 0x14004a002
mov byte [0x1402df9b0], 1
movss xmm1, dword [0x140188930]
movaps xmm0, xmm11
call fcn.14002d9e0
mov edi, dword [rsp + 0x64]
test r13b, dil
mov eax, 0x76
mov ecx, 0x80
cmove eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
mov dword [rsp + 0x54], 0x420c0000
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 6
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x80]
lea rdx, str.HEX_COLOR
lea rcx, [0x14018619c]
call fcn.14005b450
test al, al
je 0x14004a0f2
mov byte [rsp + 0x60], 1
lea rcx, [rbp + 0x80]
nop word [rax + rax]
movzx eax, byte [rcx]
cmp al, 0x23
je 0x14004a09f
cmp al, 0x20
je 0x14004a09f
cmp al, 9
jne 0x14004a0a4
inc rcx
jmp 0x14004a090
xor eax, eax
mov qword [rbp + 0x44], rax
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x4c], ebx
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x40]
test r14b, r14b
je 0x14004a0dd
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X_02X
call fcn.14001ae90
jmp 0x14004a0f2
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.14001ae90
movss xmm1, dword [0x1401888ac]
movaps xmm0, xmm11
call fcn.14002d9e0
mov rdx, qword gs:[0x58]
mov rbx, qword [rdx]
mov r14d, 4
mov ecx, dword [r14 + rbx]
cmp dword [0x1402dfb10], ecx
jle 0x14004a14e
lea rcx, [0x1402dfb10]
call fcn.140145d00
cmp dword [0x1402dfb10], 0xffffffff
jne 0x14004a14e
lea rcx, [0x14014a160]
call fcn.140145fa0
lea rcx, [0x1402dfb10]
call fcn.140145c94
mov ecx, dword [r14 + rbx]
cmp dword [0x1402dfbe4], ecx
jle 0x14004a187
lea rcx, [0x1402dfbe4]
call fcn.140145d00
cmp dword [0x1402dfbe4], 0xffffffff
jne 0x14004a187
lea rcx, [0x14014a0f0]
call fcn.140145fa0
lea rcx, [0x1402dfbe4]
call fcn.140145c94
mov ecx, dword [r14 + rbx]
cmp dword [0x1402dfb38], ecx
jle 0x14004a1c0
lea rcx, [0x1402dfb38]
call fcn.140145d00
cmp dword [0x1402dfb38], 0xffffffff
jne 0x14004a1c0
lea rcx, [0x14014a080]
call fcn.140145fa0
lea rcx, [0x1402dfb38]
call fcn.140145c94
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r14 + rcx]
cmp dword [0x1402dfbe0], eax
jle 0x14004a205
lea rcx, [0x1402dfbe0]
call fcn.140145d00
cmp dword [0x1402dfbe0], 0xffffffff
jne 0x14004a205
lea rcx, [0x14014a010]
call fcn.140145fa0
lea rcx, [0x1402dfbe0]
call fcn.140145c94
mov rax, qword [0x1402defd8]
movss xmm9, dword [0x1402dfb60]
movss dword [rsp + 0x50], xmm9
movss xmm8, dword [0x1402dfb64]
movss dword [rsp + 0x54], xmm8
movss xmm7, dword [0x1402dfb68]
movss dword [rsp + 0x58], xmm7
movss xmm10, dword [rax + 0x38f0]
movaps xmm0, xmm10
mulss xmm0, xmm11
mulss xmm0, dword [0x1402dfb6c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov r8d, eax
movss dword [rsp + 0x50], xmm9
movss dword [rsp + 0x54], xmm8
movss dword [rsp + 0x58], xmm7
movaps xmm0, xmm10
mulss xmm0, dword [0x1402dfb6c]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001d830
mov r9d, eax
movss xmm0, dword [0x1402dfb90]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402dfb94]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402dfb98]
movss dword [rsp + 0x58], xmm0
mulss xmm10, dword [0x1402dfb9c]
movss dword [rsp + 0x5c], xmm10
lea rcx, [rsp + 0x50]
call fcn.14001d830
lea rdx, [0x1401861d8]
lea rcx, [0x1401861d4]
cmp byte [reloc.WS2_32.dll_accept], 0
cmovne rcx, rdx
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm12
unpcklps xmm0, xmm12
movq rdx, xmm0
call fcn.1400489b0
test al, al
je 0x14004a41f
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14004a3e2
mov rdx, qword [0x1402df9a0]
cmp rdx, qword [0x1402df9a8]
je 0x14004a344
mov eax, dword [rsi]
mov dword [rdx], eax
add qword [0x1402df9a0], 4
jmp 0x14004a353
mov r8, rsi
lea rcx, [0x1402df998]
call fcn.14004c490
lea r8, [rsi + 4]
mov rdx, qword [0x1402df970]
cmp rdx, qword [0x1402df978]
je 0x14004a376
mov eax, dword [rsi + 4]
mov dword [rdx], eax
add qword [0x1402df970], 4
jmp 0x14004a382
lea rcx, [0x1402df968]
call fcn.14004c490
lea r8, [rsi + 8]
mov rdx, qword [0x1402df9e8]
cmp rdx, qword [0x1402df9f0]
je 0x14004a3a5
mov eax, dword [rsi + 8]
mov dword [rdx], eax
add qword [0x1402df9e8], 4
jmp 0x14004a3b1
lea rcx, [0x1402df9e0]
call fcn.14004c490
lea r8, [rsi + 0xc]
mov rdx, qword [0x1402df988]
cmp rdx, qword [0x1402df990]
je 0x14004a3d4
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x1402df988], 4
jmp 0x14004a41f
lea rcx, [0x1402df980]
call fcn.14004c490
jmp 0x14004a41f
mov rcx, qword [0x1402df9a0]
mov rax, rcx
sub rax, qword [0x1402df998]
sar rax, 2
test rax, rax
je 0x14004a41f
sub rcx, 4
mov qword [0x1402df9a0], rcx
sub qword [0x1402df970], 4
sub qword [0x1402df9e8], 4
sub qword [0x1402df988], 4
xor ecx, ecx
call fcn.140021290
test al, al
je 0x14004a448
mov rax, qword [0x1402defd8]
cmp byte [rax + 0x3869], 0
je 0x14004a448
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x14026abc0]
xor r14d, r14d
mov rax, qword [0x1402df9a0]
mov rdx, qword [0x1402df998]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x14004a8ef
mov dword [rsp + 0x50], 0x41880000
mov dword [rsp + 0x54], 0x41880000
xor edi, edi
movsd xmm7, qword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movss xmm6, dword [rdi + rdx]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140185f64]
call fcn.140043e10
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.14004c2b0
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x140185f64]
call fcn.140043db0
nop
mov rax, qword [0x1402df968]
movss xmm6, dword [rdi + rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140185f64]
call fcn.140043e10
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp]
call fcn.14004c2b0
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x140185f64]
call fcn.140043db0
nop
mov rax, qword [0x1402df9e0]
movss xmm6, dword [rdi + rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140185f64]
call fcn.140043e10
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14004c2b0
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x140185f64]
call fcn.140043db0
nop
mov rax, qword [0x1402df980]
movss xmm6, dword [rdi + rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140185f64]
call fcn.140043e10
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14004c2b0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x140185f64]
call fcn.140043db0
nop
lea r10, [rbp + 0x75]
mov r8d, r14d
test r14d, r14d
jns 0x14004a650
neg r8d
nop dword [rax + rax]
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 0x14004a610
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14004a67a
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 0x14004a650
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x75]
mov rdx, r10
lea rcx, [rbp - 0x60]
call fcn.140011aa0
nop
mov rax, qword [0x1402df980]
movss xmm3, dword [rdi + rax]
mov rax, qword [0x1402df9e0]
movss xmm2, dword [rdi + rax]
mov rax, qword [0x1402df968]
movss xmm1, dword [rdi + rax]
mov rax, qword [0x1402df998]
movss xmm0, dword [rdi + 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.14001d830
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
mov r8d, eax
movq rdx, xmm7
call fcn.140048ee0
test al, al
je 0x14004a733
mov rax, qword [0x1402df998]
mov ecx, dword [rdi + rax]
mov dword [rsi], ecx
mov rax, qword [0x1402df968]
mov ecx, dword [rdi + rax]
mov dword [rsi + 4], ecx
mov rax, qword [0x1402df9e0]
mov ecx, dword [rdi + rax]
mov dword [rsi + 8], ecx
mov rax, qword [0x1402df980]
mov ecx, dword [rdi + rax]
mov dword [rsi + 0xc], ecx
lea ecx, [r14 + 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 0x14004a75f
movaps xmm1, xmm14
movaps xmm0, xmm11
call fcn.14002d9e0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14004a79a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a795
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a8ff
call fcn.140145c24
xor ebx, ebx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], bl
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14004a7e6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a906
call fcn.140145c24
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14004a831
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a82c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a90d
call fcn.140145c24
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14004a87c
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a914
call fcn.140145c24
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14004a8c3
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a8be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a91b
call fcn.140145c24
inc r14d
add rdi, 4
mov rcx, qword [0x1402df9a0]
mov rdx, qword [0x1402df998]
sub rcx, rdx
sar rcx, 2
movsxd rax, r14d
cmp rax, rcx
jb 0x14004a490
mov edi, dword [rsp + 0x64]
call fcn.140029f60
movss xmm8, dword [0x140188930]
jmp 0x14004a926
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
mov edi, dword [rsp + 0x64]
mov rbx, qword [0x1402defd8]
mov eax, dword [rbx + 0x4a60]
cmp eax, 2
jge 0x14004a940
mov r13d, eax
test eax, eax
jle 0x14004a979
nop
cdqe
lea r8, [rax + rax*4]
mov rdx, qword [rbx + 0x4a68]
movsxd rax, dword [rdx + r8*4 - 0x14]
add rax, 0x39e
add rax, rax
movups xmm0, xmmword [rdx + r8*4 - 0x10]
movups xmmword [rbx + rax*8], xmm0
dec dword [rbx + 0x4a60]
mov eax, dword [rbx + 0x4a60]
dec r13d
test r13d, r13d
jg 0x14004a940
mov ecx, 3
call fcn.14001dff0
lea rdx, [0x1402dfba0]
lea rax, [0x1402dfb70]
mov rcx, qword [rbp - 0x78]
cmp byte [rcx + 0x39], 0
cmovne rax, rdx
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rax]
subps xmm3, xmm2
movss xmm1, dword [r15 + 0x18]
mulss xmm1, dword [0x1401888ec]
shufps xmm1, xmm1, 0
mulps xmm3, xmm1
addps xmm3, xmm2
movups xmmword [rcx + 0x20], xmm3
mov r8, qword [rsp + 0x68]
cmp r8, r12
je 0x14004abe5
test dil, dil
js 0x14004abe5
movss xmm1, dword [r15 + 0x3944]
movaps xmm0, xmm11
call fcn.14002d9e0
movaps xmm4, xmm13
subss xmm4, xmm14
addss xmm4, xmm14
mov rax, qword [rsp + 0x78]
movss dword [rax + 0x110], xmm4
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0x3f000000
movss xmm0, dword [0x1402dfb70]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x1402dfb74]
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [0x1402dfb78]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x1402dfb7c]
mulss xmm1, dword [rbx + 0x38f0]
movss dword [rsp + 0x74], xmm1
lea rcx, [rsp + 0x68]
call fcn.14001d830
mov rcx, qword [rbx + 0x4038]
cmp qword [rcx + 0x1b8], 0
jne 0x14004aa83
cmp qword [rbx + 0x4dd8], 0
lea rdx, [rcx + 0x260]
je 0x14004aa8a
lea rdx, [rcx + 0x230]
movss xmm1, dword [rdx]
subss xmm1, dword [rcx + 0x28]
movaps xmm0, xmm13
addss xmm0, xmm1
movss dword [rsp + 0x68], xmm0
movaps xmm1, xmm15
addss xmm1, dword [0x140188964]
movss dword [rsp + 0x6c], xmm1
movaps xmm6, xmm13
addss xmm6, xmm8
movss dword [rbp - 0x68], xmm6
movaps xmm7, xmm15
addss xmm7, xmm11
movss dword [rbp - 0x64], xmm7
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r8
mov r9d, eax
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
mov rcx, qword [0x1402df9c8]
call fcn.140043e70
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0x3f000000
movss xmm0, dword [0x1402dfbb0]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x1402dfbb4]
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [0x1402dfbb8]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x1402dfbbc]
mov r8, qword [0x1402defd8]
mulss xmm1, dword [r8 + 0x38f0]
movss dword [rsp + 0x74], xmm1
lea rcx, [rsp + 0x68]
call fcn.14001d830
mov rcx, qword [r8 + 0x4038]
cmp qword [rcx + 0x1b8], 0
jne 0x14004ab7a
cmp qword [r8 + 0x4dd8], 0
lea rdx, [rcx + 0x260]
je 0x14004ab81
lea rdx, [rcx + 0x230]
movss xmm0, dword [rdx]
subss xmm0, dword [rcx + 0x28]
addss xmm13, xmm0
movss dword [rsp + 0x68], xmm13
addss xmm15, dword [0x140188980]
movss dword [rsp + 0x6c], xmm15
movss dword [rbp - 0x68], xmm6
movss dword [rbp - 0x64], xmm7
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
lea rcx, [0x140184f6a]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
mov rcx, qword [0x1402df9d0]
call fcn.140043e70
mov rbx, qword [0x1402defd8]
mov rcx, qword [rbx + 0x4038]
dec dword [rcx + 0x100]
call fcn.14002de70
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140145850
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x48]
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 fcn.14001aef0
int3
cmp qword [rdx + 0x18], 0xf
mov rax, rdx
jbe 0x14007407d
mov rax, qword [rdx]
mov r9d, 0x30120
lea r8, [0x14026ab48]
lea rdx, [0x140184f6a]
mov rcx, rax
jmp 0x140049460