Function at 0x140049730
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 [0x1401a80c0]
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 [0x1402e26e0]
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 0x1400497e2
xor al, al
jmp 0x14004aecc
mov r12, rbx
cmp rbx, 0xffffffffffffffff
jae 0x140049810
nop dword [rax + rax]
movzx ecx, byte [r12]
test cl, cl
je 0x140049810
lea rax, [r12 + 1]
cmp cl, 0x23
jne 0x140049807
cmp byte [rax], cl
je 0x140049810
mov r12, rax
cmp rax, 0xffffffffffffffff
jb 0x1400497f0
mov qword [r15 + 0x4988], r13
call fcn.14002e140
mov rcx, rbx
call fcn.14002b260
cmp dword [r15 + 0x5de0], r13d
jne 0x140049846
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 [0x14018ac7c]
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 0x14004989b
movss xmm0, dword [rsi + 0xc]
movss dword [rbp + 0x5c], xmm0
jmp 0x1400498a3
movaps xmm0, xmm6
movss dword [rbp + 0x5c], xmm6
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1400498e1
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.14001dea0
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 [0x14018ae54]
movss xmm4, dword [0x14018ac3c]
comiss xmm3, xmm11
jb 0x140049901
movaps xmm8, xmm4
jmp 0x140049905
movaps xmm8, xmm5
movss xmm7, dword [0x14018adfc]
mulss xmm3, xmm7
addss xmm3, xmm8
cvttss2si eax, xmm3
mov dword [rbp + 0x40], eax
comiss xmm1, xmm11
jb 0x140049928
movaps xmm3, xmm4
jmp 0x14004992b
movaps xmm3, xmm5
mulss xmm1, xmm7
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [rbp + 0x44], eax
comiss xmm2, xmm11
jb 0x140049945
movaps xmm1, xmm4
jmp 0x140049948
movaps xmm1, xmm5
mulss xmm2, xmm7
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbp + 0x48], eax
comiss xmm0, xmm11
jae 0x140049960
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 [0x14018ad68]
movaps xmm0, xmm13
cmp dword [r15 + 0x398c], r13d
jne 0x1400499a3
addss xmm0, xmm14
jmp 0x1400499a8
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 [0x1402e3368], eax
jle 0x140049a2a
lea rcx, [0x1402e3368]
call fcn.140147020
cmp dword [0x1402e3368], 0xffffffff
jne 0x140049a2a
mov qword [0x1402e3430], r13
mov qword [0x1402e3438], r13
mov ecx, 0x40
call fcn.140146e30
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1402e3430], rax
lea rcx, [0x14014b6e0]
call fcn.1401472c0
nop
lea rcx, [0x1402e3368]
call fcn.140146fb4
mov rcx, rbx
call fcn.14002b310
mov ebx, eax
mov rdi, qword [0x1402e3430]
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 0x140049a7e
mov qword [rbp + 0x60], rcx
cmp dword [rcx + 0x1c], ebx
jae 0x140049a67
mov dword [rbp + 0x68], r13d
mov rcx, qword [rcx + 0x10]
jmp 0x140049a74
mov dword [rbp + 0x68], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140049a54
mov qword [rbp - 0x78], rax
cmp byte [rax + 0x19], 0
jne 0x140049a92
cmp ebx, dword [rax + 0x1c]
jb 0x140049a92
mov rbx, qword [rbp - 0x78]
jmp 0x140049b12
movabs rax, 0x3ffffffffffffff
cmp qword [0x1402e3438], rax
je 0x14004af2e
lea r13, [0x1402e3430]
mov qword [rsp + 0x50], r13
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov ecx, 0x40
call fcn.140146e30
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.140037d50
mov rbx, rax
mov qword [rbp - 0x78], rax
mov r13d, 2
movss xmm8, dword [0x14018ad60]
mov edi, dword [rsp + 0x64]
test dil, 0x10
jne 0x14004abf6
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 0x140049b5a
movss xmm3, dword [rsi + 0xc]
jmp 0x140049b5d
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.14004c120
test al, al
je 0x140049c04
test dil, 4
jne 0x140049c04
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r15 + 0x5df4], xmm0
lea rcx, [0x14018820c]
call fcn.14002ef90
movss xmm1, dword [r15 + 0x49c0]
movss xmm0, dword [r15 + 0x49b4]
addss xmm0, xmm11
addss xmm1, dword [r15 + 0x3940]
mov rax, qword [0x1402e26e0]
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.1400219f0
movzx ecx, byte [0x1402e3208]
test al, al
je 0x140049c2f
cmp byte [r15 + 0x3868], 0
jne 0x140049c57
lea rdi, [rbx + 0x39]
cmp byte [rbx + 0x39], 0
je 0x140049c63
lea rdi, [rbx + 0x39]
test cl, cl
jne 0x140049c63
lea rdi, [rbx + 0x39]
cmp byte [r15 + 0x3868], cl
je 0x140049c63
lea rdi, [rbx + 0x39]
cmp byte [rbx + 0x38], cl
jne 0x140049c63
lea rdi, [rbx + 0x39]
cmp byte [rdi], 0
sete al
mov byte [rdi], al
movss xmm1, dword [r15 + 0x18]
mulss xmm1, dword [0x14018ad24]
test cl, cl
jne 0x140049c79
movaps xmm6, xmm11
subss xmm6, dword [rbx + 0x34]
mulss xmm6, xmm1
addss xmm6, dword [rbx + 0x34]
movss dword [rbx + 0x34], xmm6
mov rax, qword [0x1402e26e0]
movss xmm0, dword [0x1402e33e0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402e33e4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402e33e8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x1402e33ec]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14001dd40
mov edx, eax
mov ecx, r13d
call fcn.14001e2e0
mov rax, qword [0x1402e26e0]
movss xmm0, dword [0x1402e33e0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402e33e4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402e33e8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x1402e33ec]
mulss xmm1, dword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14001dd40
mov edx, eax
mov ecx, 5
call fcn.14001e2e0
mov rbx, qword [0x1402e26e0]
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.140036a20
mov dword [rbx + 0x3900], 0x40c00000
mov dword [rsp + 0x50], 0x41700000
mov dword [rsp + 0x54], 0x41700000
lea rdx, [rsp + 0x50]
mov ecx, r13d
call fcn.14001e430
mov rbx, qword [0x1402e26e0]
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.140036a20
mov dword [rbx + 0x3904], 0x3f800000
cmp byte [rdi], 0
je 0x14004abf2
movss xmm1, dword [r15 + 0x49b8]
subss xmm1, dword [0x14018ad18]
movss xmm0, dword [r15 + 0x49bc]
subss xmm0, dword [0x14018ad98]
mov rax, qword [0x1402e26e0]
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, [0x14018820c]
call fcn.140027ee0
call fcn.14002ae30
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 [0x1402e3208], 0
je 0x140049f3f
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402e3480], eax
jle 0x140049ec7
lea rcx, [0x1402e3480]
call fcn.140147020
cmp dword [0x1402e3480], 0xffffffff
jne 0x140049ec7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1402e3478], eax
lea rcx, [0x1402e3480]
call fcn.140146fb4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1402e3478]
cmp eax, 0x96
jbe 0x140049f3f
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 [0x1402e3478], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140049f3f
mov byte [0x1402e3208], 0
mov ebx, 0xff
test r14b, r14b
je 0x140049fb4
mov edx, dword [rbp + 0x4c]
test edx, edx
jns 0x140049f54
xor edx, edx
jmp 0x140049f59
cmp edx, ebx
cmovg edx, ebx
mov ecx, dword [rbp + 0x48]
test ecx, ecx
jns 0x140049f64
xor ecx, ecx
jmp 0x140049f69
cmp ecx, ebx
cmovg ecx, ebx
mov eax, dword [rbp + 0x44]
test eax, eax
jns 0x140049f74
xor eax, eax
jmp 0x140049f79
cmp eax, ebx
cmovg eax, ebx
mov r9d, dword [rbp + 0x40]
test r9d, r9d
jns 0x140049f87
xor r9d, r9d
jmp 0x140049f8e
cmp r9d, ebx
cmovg r9d, ebx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x1401881f8]
mov edx, 0x40
lea rcx, [rbp + 0x80]
call fcn.14001d5a0
jmp 0x14004a009
mov ecx, dword [rbp + 0x48]
test ecx, ecx
jns 0x140049fbf
xor ecx, ecx
jmp 0x140049fc4
cmp ecx, ebx
cmovg ecx, ebx
mov eax, dword [rbp + 0x44]
test eax, eax
jns 0x140049fcf
xor eax, eax
jmp 0x140049fd4
cmp eax, ebx
cmovg eax, ebx
mov r9d, dword [rbp + 0x40]
test r9d, r9d
jns 0x140049fe2
xor r9d, r9d
jmp 0x140049fe9
cmp r9d, ebx
cmovg r9d, ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, [0x140188228]
mov edx, 0x40
lea rcx, [rbp + 0x80]
call fcn.14001d5a0
mov r10, qword [0x1402e26e0]
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 0x14004a040
test byte [rsp + 0x64], 0x80
mov r9, rax
je 0x14004a047
lea r9, str.Color_picker
movss xmm0, dword [0x1402e3410]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402e3414]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402e3418]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x1402e341c]
mulss xmm1, dword [r10 + 0x38f0]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.14001dd40
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 [0x1402e3220]
test eax, 0xff000000
je 0x14004a13b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], 0
jne 0x14004a0d1
add r8, r9
cmp r9, r8
je 0x14004a13b
test rcx, rcx
jne 0x14004a0f0
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 [0x14018ad5c]
mov rdx, r11
call fcn.1400426a0
mov r10, qword [0x1402e26e0]
mov rax, qword [r10 + 0x4038]
movss xmm1, dword [rax + 0x114]
subss xmm1, dword [rax + 0x2c]
addss xmm1, dword [rax + 0x90]
addss xmm1, dword [0x14018ad88]
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.14004af40
xor cl, cl
or cl, al
mov byte [rsp + 0x60], cl
mov rax, qword [0x1402e26e0]
movss xmm9, dword [0x1402e33c0]
movss dword [rsp + 0x50], xmm9
movss xmm8, dword [0x1402e33c4]
movss dword [rsp + 0x54], xmm8
movss xmm7, dword [0x1402e33c8]
movss dword [rsp + 0x58], xmm7
movss xmm10, dword [rax + 0x38f0]
movaps xmm0, xmm10
mulss xmm0, dword [rdi + 0x34]
mulss xmm0, dword [0x1402e33cc]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001dd40
mov r8d, eax
movss dword [rsp + 0x50], xmm9
movss dword [rsp + 0x54], xmm8
movss dword [rsp + 0x58], xmm7
movaps xmm0, xmm10
mulss xmm0, dword [0x1402e33cc]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001dd40
mov r9d, eax
movss xmm0, dword [0x1402e33f0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402e33f4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402e33f8]
movss dword [rsp + 0x58], xmm0
mulss xmm10, dword [0x1402e33fc]
movss dword [rsp + 0x5c], xmm10
lea rcx, [rsp + 0x50]
call fcn.14001dd40
movss xmm12, dword [0x14018ad8c]
mov dword [rsp + 0x20], r8d
mov r8d, eax
movaps xmm0, xmm12
unpcklps xmm0, xmm12
movq rdx, xmm0
lea rcx, [0x140188238]
call fcn.140048c80
test al, al
je 0x14004a2d2
mov byte [0x1402e3208], 1
movss xmm1, dword [0x14018ad60]
movaps xmm0, xmm11
call fcn.14002de50
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, [0x14018824c]
call fcn.14005b6d0
test al, al
je 0x14004a3c2
mov byte [rsp + 0x60], 1
lea rcx, [rbp + 0x80]
nop word [rax + rax]
movzx eax, byte [rcx]
cmp al, 0x23
je 0x14004a36f
cmp al, 0x20
je 0x14004a36f
cmp al, 9
jne 0x14004a374
inc rcx
jmp 0x14004a360
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 0x14004a3ad
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.14001b3a0
jmp 0x14004a3c2
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str._02X_02X_02X
call fcn.14001b3a0
movss xmm1, dword [0x14018ace4]
movaps xmm0, xmm11
call fcn.14002de50
mov rdx, qword gs:[0x58]
mov rbx, qword [rdx]
mov r14d, 4
mov ecx, dword [r14 + rbx]
cmp dword [0x1402e3370], ecx
jle 0x14004a41e
lea rcx, [0x1402e3370]
call fcn.140147020
cmp dword [0x1402e3370], 0xffffffff
jne 0x14004a41e
lea rcx, [0x14014b670]
call fcn.1401472c0
lea rcx, [0x1402e3370]
call fcn.140146fb4
mov ecx, dword [r14 + rbx]
cmp dword [0x1402e3444], ecx
jle 0x14004a457
lea rcx, [0x1402e3444]
call fcn.140147020
cmp dword [0x1402e3444], 0xffffffff
jne 0x14004a457
lea rcx, [0x14014b600]
call fcn.1401472c0
lea rcx, [0x1402e3444]
call fcn.140146fb4
mov ecx, dword [r14 + rbx]
cmp dword [0x1402e3398], ecx
jle 0x14004a490
lea rcx, [0x1402e3398]
call fcn.140147020
cmp dword [0x1402e3398], 0xffffffff
jne 0x14004a490
lea rcx, [0x14014b590]
call fcn.1401472c0
lea rcx, [0x1402e3398]
call fcn.140146fb4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r14 + rcx]
cmp dword [0x1402e3440], eax
jle 0x14004a4d5
lea rcx, [0x1402e3440]
call fcn.140147020
cmp dword [0x1402e3440], 0xffffffff
jne 0x14004a4d5
lea rcx, [0x14014b520]
call fcn.1401472c0
lea rcx, [0x1402e3440]
call fcn.140146fb4
mov rax, qword [0x1402e26e0]
movss xmm9, dword [0x1402e33c0]
movss dword [rsp + 0x50], xmm9
movss xmm8, dword [0x1402e33c4]
movss dword [rsp + 0x54], xmm8
movss xmm7, dword [0x1402e33c8]
movss dword [rsp + 0x58], xmm7
movss xmm10, dword [rax + 0x38f0]
movaps xmm0, xmm10
mulss xmm0, xmm11
mulss xmm0, dword [0x1402e33cc]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001dd40
mov r8d, eax
movss dword [rsp + 0x50], xmm9
movss dword [rsp + 0x54], xmm8
movss dword [rsp + 0x58], xmm7
movaps xmm0, xmm10
mulss xmm0, dword [0x1402e33cc]
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001dd40
mov r9d, eax
movss xmm0, dword [0x1402e33f0]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [0x1402e33f4]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [0x1402e33f8]
movss dword [rsp + 0x58], xmm0
mulss xmm10, dword [0x1402e33fc]
movss dword [rsp + 0x5c], xmm10
lea rcx, [rsp + 0x50]
call fcn.14001dd40
lea rdx, [0x140188288]
lea rcx, [0x140188284]
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.140048c80
test al, al
je 0x14004a6ef
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14004a6b2
mov rdx, qword [0x1402e31f8]
cmp rdx, qword [0x1402e3200]
je 0x14004a614
mov eax, dword [rsi]
mov dword [rdx], eax
add qword [0x1402e31f8], 4
jmp 0x14004a623
mov r8, rsi
lea rcx, [0x1402e31f0]
call fcn.14004c760
lea r8, [rsi + 4]
mov rdx, qword [0x1402e31c8]
cmp rdx, qword [0x1402e31d0]
je 0x14004a646
mov eax, dword [rsi + 4]
mov dword [rdx], eax
add qword [0x1402e31c8], 4
jmp 0x14004a652
lea rcx, [0x1402e31c0]
call fcn.14004c760
lea r8, [rsi + 8]
mov rdx, qword [0x1402e3240]
cmp rdx, qword [0x1402e3248]
je 0x14004a675
mov eax, dword [rsi + 8]
mov dword [rdx], eax
add qword [0x1402e3240], 4
jmp 0x14004a681
lea rcx, [0x1402e3238]
call fcn.14004c760
lea r8, [rsi + 0xc]
mov rdx, qword [0x1402e31e0]
cmp rdx, qword [0x1402e31e8]
je 0x14004a6a4
mov eax, dword [r8]
mov dword [rdx], eax
add qword [0x1402e31e0], 4
jmp 0x14004a6ef
lea rcx, [0x1402e31d8]
call fcn.14004c760
jmp 0x14004a6ef
mov rcx, qword [0x1402e31f8]
mov rax, rcx
sub rax, qword [0x1402e31f0]
sar rax, 2
test rax, rax
je 0x14004a6ef
sub rcx, 4
mov qword [0x1402e31f8], rcx
sub qword [0x1402e31c8], 4
sub qword [0x1402e3240], 4
sub qword [0x1402e31e0], 4
xor ecx, ecx
call fcn.140021760
test al, al
je 0x14004a718
mov rax, qword [0x1402e26e0]
cmp byte [rax + 0x3869], 0
je 0x14004a718
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x14026dc00]
xor r14d, r14d
mov rax, qword [0x1402e31f8]
mov rdx, qword [0x1402e31f0]
sub rax, rdx
sar rax, 2
test rax, rax
je 0x14004abbf
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, [0x140188014]
call fcn.1400440e0
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.14004c580
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, [0x140188014]
call fcn.140044080
nop
mov rax, qword [0x1402e31c0]
movss xmm6, dword [rdi + rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140188014]
call fcn.1400440e0
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp]
call fcn.14004c580
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x140188014]
call fcn.140044080
nop
mov rax, qword [0x1402e3238]
movss xmm6, dword [rdi + rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140188014]
call fcn.1400440e0
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14004c580
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, [0x140188014]
call fcn.140044080
nop
mov rax, qword [0x1402e31d8]
movss xmm6, dword [rdi + rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140188014]
call fcn.1400440e0
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14004c580
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, [0x140188014]
call fcn.140044080
nop
lea r10, [rbp + 0x75]
mov r8d, r14d
test r14d, r14d
jns 0x14004a920
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 0x14004a8e0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14004a94a
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 0x14004a920
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x75]
mov rdx, r10
lea rcx, [rbp - 0x60]
call fcn.140011aa0
nop
mov rax, qword [0x1402e31d8]
movss xmm3, dword [rdi + rax]
mov rax, qword [0x1402e3238]
movss xmm2, dword [rdi + rax]
mov rax, qword [0x1402e31c0]
movss xmm1, dword [rdi + rax]
mov rax, qword [0x1402e31f0]
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.14001dd40
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
mov r8d, eax
movq rdx, xmm7
call fcn.1400491b0
test al, al
je 0x14004aa03
mov rax, qword [0x1402e31f0]
mov ecx, dword [rdi + rax]
mov dword [rsi], ecx
mov rax, qword [0x1402e31c0]
mov ecx, dword [rdi + rax]
mov dword [rsi + 4], ecx
mov rax, qword [0x1402e3238]
mov ecx, dword [rdi + rax]
mov dword [rsi + 8], ecx
mov rax, qword [0x1402e31d8]
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 0x14004aa2f
movaps xmm1, xmm14
movaps xmm0, xmm11
call fcn.14002de50
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14004aa6a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aa65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004abcf
call fcn.140146f44
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 0x14004aab6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aab1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004abd6
call fcn.140146f44
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 0x14004ab01
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aafc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004abdd
call fcn.140146f44
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 0x14004ab4c
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ab47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004abe4
call fcn.140146f44
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 0x14004ab93
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ab8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004abeb
call fcn.140146f44
inc r14d
add rdi, 4
mov rcx, qword [0x1402e31f8]
mov rdx, qword [0x1402e31f0]
sub rcx, rdx
sar rcx, 2
movsxd rax, r14d
cmp rax, rcx
jb 0x14004a760
mov edi, dword [rsp + 0x64]
call fcn.14002a430
movss xmm8, dword [0x14018ad60]
jmp 0x14004abf6
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 [0x1402e26e0]
mov eax, dword [rbx + 0x4a60]
cmp eax, 2
jge 0x14004ac10
mov r13d, eax
test eax, eax
jle 0x14004ac49
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 0x14004ac10
mov ecx, 3
call fcn.14001e4c0
lea rdx, [0x1402e3400]
lea rax, [0x1402e33d0]
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 [0x14018ad24]
shufps xmm1, xmm1, 0
mulps xmm3, xmm1
addps xmm3, xmm2
movups xmmword [rcx + 0x20], xmm3
mov r8, qword [rsp + 0x68]
cmp r8, r12
je 0x14004aeb5
test dil, dil
js 0x14004aeb5
movss xmm1, dword [r15 + 0x3944]
movaps xmm0, xmm11
call fcn.14002de50
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 [0x1402e33d0]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x1402e33d4]
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [0x1402e33d8]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x1402e33dc]
mulss xmm1, dword [rbx + 0x38f0]
movss dword [rsp + 0x74], xmm1
lea rcx, [rsp + 0x68]
call fcn.14001dd40
mov rcx, qword [rbx + 0x4038]
cmp qword [rcx + 0x1b8], 0
jne 0x14004ad53
cmp qword [rbx + 0x4dd8], 0
lea rdx, [rcx + 0x260]
je 0x14004ad5a
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 [0x14018ad94]
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 [0x1402e3220]
call fcn.140044140
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0x3f000000
movss xmm0, dword [0x1402e3410]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x1402e3414]
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [0x1402e3418]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x1402e341c]
mov r8, qword [0x1402e26e0]
mulss xmm1, dword [r8 + 0x38f0]
movss dword [rsp + 0x74], xmm1
lea rcx, [rsp + 0x68]
call fcn.14001dd40
mov rcx, qword [r8 + 0x4038]
cmp qword [rcx + 0x1b8], 0
jne 0x14004ae4a
cmp qword [r8 + 0x4dd8], 0
lea rdx, [rcx + 0x260]
je 0x14004ae51
lea rdx, [rcx + 0x230]
movss xmm0, dword [rdx]
subss xmm0, dword [rcx + 0x28]
addss xmm13, xmm0
movss dword [rsp + 0x68], xmm13
addss xmm15, dword [0x14018adb4]
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, [0x140187022]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
mov rcx, qword [0x1402e3228]
call fcn.140044140
mov rbx, qword [0x1402e26e0]
mov rcx, qword [rbx + 0x4038]
dec dword [rcx + 0x100]
call fcn.14002e280
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140146b70
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.14001b400
int3
cmp qword [rdx + 0x18], 0xf
mov rax, rdx
jbe 0x1400751dd
mov rax, qword [rdx]
mov r9d, 0x30120
lea r8, [0x14026db88]
lea rdx, [0x140187022]
mov rcx, rax
jmp 0x140049730