Function at 0x140014520
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4c0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1400ba010]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, r8
mov rax, rdx
mov qword [rbp - 0x20], rdx
mov rdx, qword [rbp + 0x420]
mov qword [rsp + 0x58], rdx
xor r14d, r14d
test r8d, r8d
jne 0x1400145a4
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x1400145a4
mov dword [rax], 0xbf800000
mov dword [rax + 4], 0xbf800000
mov dword [rax + 8], 0xbf800000
jmp 0x14001554e
movzx esi, r14w
lea r8, [rdx + 4]
mov qword [rbp - 0x30], r8
lea r10, [rdx + 8]
mov qword [rbp - 0x28], r10
movsx eax, r9w
imul ecx, eax, 0x1e
mov eax, dword [rbp + 0x414]
add eax, ecx
mov dword [rsp + 0x50], eax
lea r13d, [rax - 6]
mov r12d, 3
movsd xmm8, qword [0x1400b2f40]
movss xmm6, dword [0x1400b2f2c]
movss xmm7, dword [0x1400b3024]
nop
movss xmm0, dword [rdx]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [r8]
movss dword [rbp - 0x3c], xmm1
movss xmm0, dword [r10]
movss dword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
mov qword [rbp + 0x38], r14
mov rdx, r12
lea rcx, [rbp + 0x28]
call fcn.1400acae0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [rbp - 0x40]
mov rdi, qword [rbp + 0x28]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
movsx eax, si
imul eax, eax, 0x46
add eax, ebx
mov dword [rsp + 0x30], eax
lea r15d, [rax + 0xb4]
mov edx, dword [0x1400bb038]
mov eax, dword [0x1400bb040]
cmp edx, eax
jl 0x1400146a5
cmp edx, dword [0x1400bb048]
jg 0x1400146a5
mov ecx, dword [0x1400bb03c]
mov r8d, dword [0x1400bb044]
cmp ecx, r8d
jl 0x1400146a5
cmp ecx, dword [0x1400bb04c]
jg 0x1400146a5
sub edx, eax
cmp edx, r15d
jl 0x1400146a5
lea eax, [r15 + 0x44]
cmp edx, eax
jg 0x1400146a5
sub ecx, r8d
cmp ecx, r13d
jl 0x1400146a5
lea eax, [r13 + 0x14]
cmp ecx, eax
jg 0x1400146a5
mov r14d, 1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400bb018]
jne 0x14001483a
test r14d, r14d
je 0x14001483a
cmp dword [0x1400bb058], 0
jne 0x14001483a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001470b
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.USER32.dll_mouse_event]
movsx rax, si
movss xmm0, dword [rdi + rax*4]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm8
jmp 0x140014746
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001474f
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 0x10]
call qword [sym.imp.USER32.dll_mouse_event]
movsx rax, si
movss xmm0, dword [rdi + rax*4]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
cvtpd2ps xmm0, xmm0
movss dword [rdi + rax*4], xmm0
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140014781
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x25
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
movss xmm0, dword [rdi + rax*4]
addss xmm0, xmm6
jmp 0x1400147b1
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400147b6
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x27
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
movss xmm0, dword [rdi + rax*4]
subss xmm0, xmm6
movss dword [rdi + rax*4], xmm0
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400147e8
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
movss xmm0, dword [rdi + rax*4]
addss xmm0, xmm7
jmp 0x140014818
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001481d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
movss xmm0, dword [rdi + rax*4]
subss xmm0, xmm7
movss dword [rdi + rax*4], xmm0
movss xmm0, dword [rdi + 4]
movss xmm1, dword [rdi + 8]
mov eax, dword [rdi]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
movss dword [rcx + 4], xmm0
movss dword [rcx + 8], xmm1
xor eax, eax
mov qword [rbp - 0x18], rax
mov word [rbp + 0x36e], ax
mov word [rbp + 0x37e], ax
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x44], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x360], r15d
mov dword [rbp + 0x364], r13d
lea eax, [r15 + 0x46]
mov dword [rbp + 0x370], eax
lea eax, [r13 + 0x14]
mov dword [rbp + 0x374], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0x368], cx
mov word [rbp + 0x36a], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0x36c], ax
mov word [rbp + 0x378], cx
mov word [rbp + 0x37a], dx
mov word [rbp + 0x37c], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x40]
mov r8d, 2
lea rdx, [rbp + 0x360]
mov rcx, qword [0x1400bb030]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov r15d, dword [rsp + 0x50]
lea r10d, [r15 - 5]
mov r11d, dword [rsp + 0x30]
add r11d, 0xb5
test r14d, r14d
je 0x1400149e2
mov dword [rbp + 8], 0x1e
mov dword [rbp + 0xc], 0x1e
mov eax, dword [0x1400bb004]
cdq
and edx, r12d
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 8], r8d
mov eax, dword [0x1400bb008]
cdq
and edx, r12d
add eax, edx
sar eax, 2
mov dword [rbp - 4], eax
xor r14d, r14d
mov word [rbp + 0x36e], r14w
mov word [rbp + 0x37e], r14w
mov dword [rbp + 0x48], r14d
mov dword [rbp + 0x4c], 1
mov rax, qword [rbp - 8]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, dword [0x1400bb00c]
cdq
and edx, r12d
add eax, edx
sar eax, 2
movzx ecx, al
shl ecx, 0x10
or r9d, ecx
movzx eax, r8b
or r9d, eax
mov rax, qword [rbp + 8]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0x1e001e
lea eax, [r11 + 0x44]
mov dword [rbp + 0x370], eax
lea eax, [r10 + 0x12]
mov dword [rbp + 0x374], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0x368], ax
movzx eax, r9w
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0x36c], r9w
lea r9, [rbp + 0x48]
jmp 0x140014ac4
mov dword [rsp + 0x40], 0x1e
mov dword [rsp + 0x44], 0x1e
mov eax, 0x66666667
imul dword [0x1400bb004]
mov ecx, edx
sar ecx, 1
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov dword [rbp + 0x18], ecx
mov eax, 0x66666667
imul dword [0x1400bb008]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0x1c], edx
xor r14d, r14d
mov word [rbp + 0x36e], r14w
mov word [rbp + 0x37e], r14w
mov dword [rbp + 0x50], r14d
mov dword [rbp + 0x54], 1
mov rax, qword [rbp + 0x18]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400bb00c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, cl
or r8d, eax
mov rax, qword [rsp + 0x40]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0x1e001e
lea eax, [r11 + 0x44]
mov dword [rbp + 0x370], eax
lea eax, [r10 + 0x12]
mov dword [rbp + 0x374], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0x368], ax
movzx eax, r8w
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0x36c], r8w
lea r9, [rbp + 0x50]
mov dword [rbp + 0x364], r10d
mov dword [rbp + 0x360], r11d
mov edx, 0xff00
and ax, dx
mov word [rbp + 0x36a], ax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x378], ax
movzx eax, cx
shr ecx, 0x10
shl cx, 8
mov dword [rsp + 0x28], 1
and ax, dx
mov word [rbp + 0x37c], cx
mov dword [rsp + 0x20], 1
mov word [rbp + 0x37a], ax
mov r8d, 2
lea rdx, [rbp + 0x360]
mov rcx, qword [0x1400bb030]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test rdi, rdi
je 0x140014b6d
mov rdx, qword [rbp + 0x38]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140014b65
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014b88
mov rcx, rdi
call fcn.1400ad400
inc si
cmp si, 2
jg 0x140014b8f
mov rdx, qword [rsp + 0x58]
mov r8, qword [rbp - 0x30]
mov r10, qword [rbp - 0x28]
jmp 0x1400145f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b2ee8]
mov qword [rbp + 0x260], rax
lea rax, [0x1400b2e10]
mov qword [rbp + 0x270], rax
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x260]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x260], rax
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x25c], edx
lea rcx, [rbp + 0x278]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r14, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x278], r14
xor eax, eax
mov qword [rbp + 0x2e0], rax
mov dword [rbp + 0x2e8], eax
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rsi, rax
lea rdx, [0x140007770]
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov r13, qword [rsp + 0x58]
movss xmm1, dword [r13]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rdx, r13
lea rcx, [rbp + 0x260]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b2ee8]
mov qword [rbp + 0x160], rax
lea rax, [0x1400b2e10]
mov qword [rbp + 0x170], rax
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x178]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x178], r14
xor eax, eax
mov qword [rbp + 0x1e0], rax
mov dword [rbp + 0x1e8], eax
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rsi, rax
lea rdx, [0x140007770]
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
movss xmm1, dword [r13 + 4]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [r13 + 4]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b2ee8]
mov qword [rbp + 0x60], rax
lea rax, [0x1400b2e10]
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rbp + rcx + 0x5c], r8d
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x78], r14
xor eax, eax
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0xe8], eax
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rsi, rax
lea rdx, [0x140007770]
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
movss xmm1, dword [r13 + 8]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___float____ptr64____ptr64]
movdqa xmm0, xmmword [0x1400b3240]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor esi, esi
mov ecx, esi
mov qword [rsp + 0x70], rcx
mov r10d, 0xf
mov qword [rsp + 0x78], r10
mov byte [rsp + 0x60], cl
movups xmmword [rbp + 0x28], xmm0
mov edx, dword [rbp + 0x2e8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140014ee5
mov rax, qword [rbp + 0x2b8]
mov r8, qword [rax]
test r8, r8
je 0x140014ee5
mov rax, qword [rbp + 0x298]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x2e0]
cmovb r8, qword [rbp + 0x2e0]
sub r8, rdx
jmp 0x140014f1d
test dl, 4
jne 0x140014f15
mov rax, qword [rbp + 0x2b0]
mov r9, qword [rax]
test r9, r9
je 0x140014f15
mov rax, qword [rbp + 0x290]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x2c8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x140014f1d
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x140014f36
lea rcx, [rsp + 0x60]
call fcn.1400409b0
mov r10, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rax, r10
sub rax, rcx
lea r14, [0x1400b01c4]
cmp rax, r12
jb 0x140014fc2
lea rax, [rcx + 3]
mov qword [rsp + 0x70], rax
lea rdi, [rsp + 0x60]
cmp r10, 0x10
cmovae rdi, qword [rsp + 0x60]
lea rax, [0x1400b01c7]
cmp rax, rdi
jbe 0x140014f82
lea rax, [rdi + rcx]
cmp r14, rax
ja 0x140014f82
cmp rdi, r14
jbe 0x140014f85
mov rsi, rdi
sub rsi, r14
jmp 0x140014f85
mov rsi, r12
lea r8, [rcx + 1]
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r12
sub r8, rsi
lea rdx, [r14 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
xor esi, esi
jmp 0x140014fd9
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.1400ad170
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x370], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x360], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x370], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
add r15d, 0xfffffffe
lea edx, [rbx + 0xb9]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x360]
mov r8d, r15d
call fcn.14000db10
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140015075
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015070
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015070
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad400
movdqa xmm0, xmmword [0x1400b3240]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov rcx, rsi
mov qword [rbp - 0x70], rcx
mov r9d, 0xf
mov qword [rbp - 0x68], r9
mov byte [rbp - 0x80], 0
movups xmmword [rbp + 0x28], xmm0
mov edx, dword [rbp + 0x1e8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x1400150de
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x1400150de
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1e0]
cmovb r8, qword [rbp + 0x1e0]
sub r8, rdx
jmp 0x140015116
test dl, 4
jne 0x14001510e
mov rax, qword [rbp + 0x1b0]
mov r10, qword [rax]
test r10, r10
je 0x14001510e
mov rax, qword [rbp + 0x190]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1c8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r10
jmp 0x140015116
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x14001512c
lea rcx, [rbp - 0x80]
call fcn.1400409b0
mov r9, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov rax, r9
sub rax, rcx
lea r14, [0x1400b01c8]
cmp rax, r12
jb 0x1400151b4
lea rax, [rcx + 3]
mov qword [rbp - 0x70], rax
lea rdi, [rbp - 0x80]
cmp r9, 0x10
cmovae rdi, qword [rbp - 0x80]
lea rax, [0x1400b01cb]
cmp rax, rdi
jbe 0x140015175
lea rax, [rdi + rcx]
cmp r14, rax
ja 0x140015175
cmp rdi, r14
jbe 0x140015178
mov rsi, rdi
sub rsi, r14
jmp 0x140015178
mov rsi, r12
lea r8, [rcx + 1]
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r12
sub r8, rsi
lea rdx, [r14 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x80]
xor esi, esi
jmp 0x1400151ca
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.1400ad170
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x370], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x360], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x370], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea edx, [rbx + 0xff]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x360]
mov r8d, r15d
call fcn.14000db10
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140015260
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001525b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001525b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad400
movdqa xmm0, xmmword [0x1400b3240]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov rcx, rsi
mov qword [rbp - 0x50], rcx
mov r9d, 0xf
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x60], 0
movups xmmword [rbp + 0x28], xmm0
mov edx, dword [rbp + 0xe8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x1400152c9
mov rax, qword [rbp + 0xb8]
mov r8, qword [rax]
test r8, r8
je 0x1400152c9
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xe0]
cmovb r8, qword [rbp + 0xe0]
sub r8, rdx
jmp 0x140015301
test dl, 4
jne 0x1400152f9
mov rax, qword [rbp + 0xb0]
mov r10, qword [rax]
test r10, r10
je 0x1400152f9
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xc8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r10
jmp 0x140015301
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x140015317
lea rcx, [rbp - 0x60]
call fcn.1400409b0
mov r9, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov rax, r9
sub rax, rcx
lea r14, [0x1400b01cc]
cmp rax, r12
jb 0x14001539f
lea rax, [rcx + 3]
mov qword [rbp - 0x50], rax
lea rdi, [rbp - 0x60]
cmp r9, 0x10
cmovae rdi, qword [rbp - 0x60]
lea rax, [0x1400b01cf]
cmp rax, rdi
jbe 0x140015360
lea rax, [rdi + rcx]
cmp r14, rax
ja 0x140015360
cmp rdi, r14
jbe 0x140015363
mov rsi, rdi
sub rsi, r14
jmp 0x140015363
mov rsi, r12
lea r8, [rcx + 1]
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r12, rsi
lea rdx, [r14 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x60]
xor esi, esi
jmp 0x1400153b5
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1400ad170
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x370], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x360], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x370], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea edx, [rbx + 0x145]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x360]
mov r8d, r15d
call fcn.14000db10
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14001544b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015446
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad400
movsd xmm0, qword [r13]
mov rbx, qword [rbp - 0x20]
movsd qword [rbx], xmm0
mov eax, dword [r13 + 8]
mov dword [rbx + 8], eax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x60], rdi
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x78]
call fcn.14003fe80
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x160], rdi
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x178]
call fcn.14003fe80
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x260], rdi
mov rax, qword [rbp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x25c], edx
lea rcx, [rbp + 0x278]
call fcn.14003fe80
lea rcx, [rbp + 0x280]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400ad3e0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret