Function at 0x140012240
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 [0x14006f010]
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 0x1400122c4
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x1400122c4
mov dword [rax], 0xbf800000
mov dword [rax + 4], 0xbf800000
mov dword [rax + 8], 0xbf800000
jmp 0x14001324c
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 [0x140068fc8]
movss xmm7, dword [0x140068fb0]
movss xmm6, dword [0x1400690c4]
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.140063ad0
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 [0x14006ff48]
mov eax, dword [0x14006ff50]
cmp edx, eax
jl 0x1400123c5
cmp edx, dword [0x14006ff58]
jg 0x1400123c5
mov ecx, dword [0x14006ff4c]
mov r8d, dword [0x14006ff54]
cmp ecx, r8d
jl 0x1400123c5
cmp ecx, dword [0x14006ff5c]
jg 0x1400123c5
sub edx, eax
cmp edx, r15d
jl 0x1400123c5
lea eax, [r15 + 0x44]
cmp edx, eax
jg 0x1400123c5
sub ecx, r8d
cmp ecx, r13d
jl 0x1400123c5
lea eax, [r13 + 0x14]
cmp ecx, eax
jg 0x1400123c5
mov r14d, 1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x14006ff28]
jne 0x140012538
test r14d, r14d
je 0x140012538
cmp dword [0x14006ff68], 0
jne 0x140012538
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001242b
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 0x140012466
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001246f
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 0x1400124a1
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, xmm7
jmp 0x1400124d1
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400124d6
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, xmm7
movss dword [rdi + rax*4], xmm0
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400124f7
movsx rax, si
movss xmm0, dword [rdi + rax*4]
addss xmm0, xmm6
jmp 0x140012516
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001251b
movsx rax, si
movss xmm0, dword [rdi + rax*4]
subss xmm0, xmm6
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 [0x14006ff40]
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 0x1400126e0
mov dword [rbp + 8], 0x1e
mov dword [rbp + 0xc], 0x1e
mov eax, dword [0x14006ff14]
cdq
and edx, r12d
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 8], r8d
mov eax, dword [0x14006ff18]
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 [0x14006ff1c]
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 0x1400127c2
mov dword [rsp + 0x40], 0x1e
mov dword [rsp + 0x44], 0x1e
mov eax, 0x66666667
imul dword [0x14006ff14]
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 [0x14006ff18]
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 [0x14006ff1c]
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 [0x14006ff40]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test rdi, rdi
je 0x14001286b
mov rdx, qword [rbp + 0x38]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140012863
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012886
mov rcx, rdi
call fcn.1400643f0
inc si
cmp si, 2
jg 0x14001288d
mov rdx, qword [rsp + 0x58]
mov r8, qword [rbp - 0x30]
mov r10, qword [rbp - 0x28]
jmp 0x140012310
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, [0x140068f78]
mov qword [rbp + 0x260], rax
lea rax, [0x140068ea0]
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, [0x1400068f0]
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, [0x140068f78]
mov qword [rbp + 0x160], rax
lea rax, [0x140068ea0]
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, [0x1400068f0]
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, [0x140068f78]
mov qword [rbp + 0x60], rax
lea rax, [0x140068ea0]
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, [0x1400068f0]
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 [0x1400692b0]
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 0x140012be3
mov rax, qword [rbp + 0x2b8]
mov r8, qword [rax]
test r8, r8
je 0x140012be3
mov rax, qword [rbp + 0x298]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x2e0]
cmovb r8, qword [rbp + 0x2e0]
sub r8, rdx
jmp 0x140012c1b
test dl, 4
jne 0x140012c13
mov rax, qword [rbp + 0x2b0]
mov r9, qword [rax]
test r9, r9
je 0x140012c13
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 0x140012c1b
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x140012c34
lea rcx, [rsp + 0x60]
call fcn.140032480
mov r10, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rax, r10
sub rax, rcx
lea r14, [0x1400670bc]
cmp rax, r12
jb 0x140012cc0
lea rax, [rcx + 3]
mov qword [rsp + 0x70], rax
lea rdi, [rsp + 0x60]
cmp r10, 0x10
cmovae rdi, qword [rsp + 0x60]
lea rax, [0x1400670bf]
cmp rax, rdi
jbe 0x140012c80
lea rax, [rdi + rcx]
cmp r14, rax
ja 0x140012c80
cmp rdi, r14
jbe 0x140012c83
mov rsi, rdi
sub rsi, r14
jmp 0x140012c83
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 0x140012cd7
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140064160
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.14000b880
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140012d73
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400643f0
movdqa xmm0, xmmword [0x1400692b0]
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 0x140012ddc
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x140012ddc
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1e0]
cmovb r8, qword [rbp + 0x1e0]
sub r8, rdx
jmp 0x140012e14
test dl, 4
jne 0x140012e0c
mov rax, qword [rbp + 0x1b0]
mov r10, qword [rax]
test r10, r10
je 0x140012e0c
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 0x140012e14
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x140012e2a
lea rcx, [rbp - 0x80]
call fcn.140032480
mov r9, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov rax, r9
sub rax, rcx
lea r14, [0x1400670c0]
cmp rax, r12
jb 0x140012eb2
lea rax, [rcx + 3]
mov qword [rbp - 0x70], rax
lea rdi, [rbp - 0x80]
cmp r9, 0x10
cmovae rdi, qword [rbp - 0x80]
lea rax, [0x1400670c3]
cmp rax, rdi
jbe 0x140012e73
lea rax, [rdi + rcx]
cmp r14, rax
ja 0x140012e73
cmp rdi, r14
jbe 0x140012e76
mov rsi, rdi
sub rsi, r14
jmp 0x140012e76
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 0x140012ec8
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140064160
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.14000b880
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140012f5e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012f59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400643f0
movdqa xmm0, xmmword [0x1400692b0]
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 0x140012fc7
mov rax, qword [rbp + 0xb8]
mov r8, qword [rax]
test r8, r8
je 0x140012fc7
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xe0]
cmovb r8, qword [rbp + 0xe0]
sub r8, rdx
jmp 0x140012fff
test dl, 4
jne 0x140012ff7
mov rax, qword [rbp + 0xb0]
mov r10, qword [rax]
test r10, r10
je 0x140012ff7
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 0x140012fff
mov r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x140013015
lea rcx, [rbp - 0x60]
call fcn.140032480
mov r9, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov rax, r9
sub rax, rcx
lea r14, [0x1400670c4]
cmp rax, r12
jb 0x14001309d
lea rax, [rcx + 3]
mov qword [rbp - 0x50], rax
lea rdi, [rbp - 0x60]
cmp r9, 0x10
cmovae rdi, qword [rbp - 0x60]
lea rax, [0x1400670c7]
cmp rax, rdi
jbe 0x14001305e
lea rax, [rdi + rcx]
cmp r14, rax
ja 0x14001305e
cmp rdi, r14
jbe 0x140013061
mov rsi, rdi
sub rsi, r14
jmp 0x140013061
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 0x1400130b3
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.140064160
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.14000b880
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140013149
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013144
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013144
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400643f0
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.140031a30
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.140031a30
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.140031a30
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.1400643d0
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