Function at 0x140015eb0
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 - 0x428]
sub rsp, 0x4f0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, r8
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp + 0x450]
mov qword [rsp + 0x50], rax
xor edi, edi
test r8d, r8d
jne 0x140015f33
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x140015f33
mov dword [rdx], 0xbf800000
mov dword [rdx + 4], 0xbf800000
mov dword [rdx + 8], 0xbf800000
mov rax, rdx
jmp 0x140016f56
movzx esi, di
lea rcx, [rax + 4]
mov qword [rbp - 0x38], rcx
lea rdx, [rax + 8]
mov qword [rbp - 0x30], rdx
mov r12d, 3
movsd xmm8, qword [0x14014cb70]
movss xmm6, dword [0x14014cb5c]
movss xmm7, dword [0x14014cc94]
nop word [rax + rax]
movss xmm0, dword [rax]
movss dword [rbp - 0x48], xmm0
movss xmm1, dword [rcx]
movss dword [rbp - 0x44], xmm1
movss xmm0, dword [rdx]
movss dword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0x70], rdi
mov rdx, r12
lea rcx, [rbp + 0x60]
call fcn.140030760
mov rdi, qword [rbp + 0x60]
mov r8d, listen
lea rdx, [rbp - 0x48]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + 0xc]
mov qword [rbp + 0x68], rax
mov r14d, dword [rbp + 0x444]
add r14d, 0x19e
movsx eax, si
imul r13d, eax, 0x46
lea r15d, [rbx + 0xb4]
add r15d, r13d
mov edx, dword [0x140163d08]
mov eax, dword [0x140163d10]
cmp edx, eax
jl 0x140016038
cmp edx, dword [0x140163d18]
jg 0x140016038
mov ecx, dword [0x140163d0c]
mov r8d, dword [0x140163d14]
cmp ecx, r8d
jl 0x140016038
cmp ecx, dword [0x140163d1c]
jg 0x140016038
sub edx, eax
cmp edx, r15d
jl 0x140016038
lea eax, [r15 + 0x44]
cmp edx, eax
jg 0x140016038
sub ecx, r8d
cmp ecx, r14d
jl 0x140016038
lea eax, [r14 + 0x14]
cmp ecx, eax
jg 0x140016038
mov edi, 1
jmp 0x14001603a
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140163ce8]
jne 0x1400161fa
test edi, edi
je 0x1400161fa
cmp dword [0x140163d28], 0
jne 0x1400161fa
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400160a7
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
movsx rcx, si
mov rax, qword [rbp + 0x60]
movss xmm0, dword [rax + rcx*4]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm8
jmp 0x1400160ea
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400160f3
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_mouse_event]
movsx rcx, si
mov rax, qword [rbp + 0x60]
movss xmm0, dword [rax + rcx*4]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm8
cvtpd2ps xmm0, xmm0
movss dword [rax + rcx*4], xmm0
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001612b
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x25
call qword [sym.imp.USER32.dll_keybd_event]
movsx rcx, si
mov rax, qword [rbp + 0x60]
movss xmm0, dword [rax + rcx*4]
addss xmm0, xmm6
jmp 0x140016161
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140016166
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x27
call qword [sym.imp.USER32.dll_keybd_event]
movsx rcx, si
mov rax, qword [rbp + 0x60]
movss xmm0, dword [rax + rcx*4]
subss xmm0, xmm6
movss dword [rax + rcx*4], xmm0
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001619e
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
movsx rcx, si
mov rax, qword [rbp + 0x60]
movss xmm0, dword [rax + rcx*4]
addss xmm0, xmm7
jmp 0x1400161d4
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400161d9
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, Ordinal_41
call qword [sym.imp.USER32.dll_keybd_event]
movsx rcx, si
mov rax, qword [rbp + 0x60]
movss xmm0, dword [rax + rcx*4]
subss xmm0, xmm7
movss dword [rax + rcx*4], xmm0
mov rax, qword [rbp + 0x60]
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax + 8]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
movss dword [rcx + 4], xmm1
movss dword [rcx + 8], xmm0
xor eax, eax
mov qword [rbp - 0x20], rax
mov word [rbp + 0x39e], ax
mov word [rbp + 0x3ae], ax
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x390], r15d
mov dword [rbp + 0x394], r14d
lea eax, [r15 + 0x46]
mov dword [rbp + 0x3a0], eax
lea eax, [r14 + 0x14]
mov dword [rbp + 0x3a4], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0x398], cx
mov word [rbp + 0x39a], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0x39c], ax
mov word [rbp + 0x3a8], cx
mov word [rbp + 0x3aa], dx
mov word [rbp + 0x3ac], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x78]
mov r8d, 2
lea rdx, [rbp + 0x390]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov r15d, dword [rbp + 0x444]
lea r10d, [r15 + 0x19f]
lea r11d, [rbx + 0xb5]
add r11d, r13d
test edi, edi
je 0x1400163bf
mov dword [rbp], reloc.WLDAP32.dll_Ordinal_30
mov dword [rbp + 4], reloc.WLDAP32.dll_Ordinal_30
mov eax, dword [0x140163cd4]
cdq
and edx, r12d
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 0x10], r8d
mov eax, dword [0x140163cd8]
cdq
and edx, r12d
add eax, edx
sar eax, 2
mov dword [rbp - 0xc], eax
xor edi, edi
mov word [rbp + 0x39e], di
mov word [rbp + 0x3ae], di
mov dword [rbp + 0x80], edi
mov dword [rbp + 0x84], 1
mov eax, dword [0x140163cdc]
cdq
and edx, r12d
add eax, edx
sar eax, 2
movzx r9d, al
mov rax, qword [rbp - 0x10]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r9d
shl eax, 0x10
or ecx, eax
movzx eax, r8b
or ecx, eax
mov rax, qword [rbp]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r11 + 0x44]
mov dword [rbp + 0x3a0], eax
lea eax, [r10 + 0x12]
mov dword [rbp + 0x3a4], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x398], ax
mov r14d, 0xff00
and cx, r14w
shl r9w, 8
mov word [rbp + 0x39c], r9w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x3a8], ax
movzx eax, dx
and ax, r14w
lea r9, [rbp + 0x80]
jmp 0x1400164c2
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_30
mov dword [rsp + 0x44], reloc.WLDAP32.dll_Ordinal_30
mov eax, 0x66666667
imul dword [0x140163cd4]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp + 0x10], r9d
mov eax, 0x66666667
imul dword [0x140163cd8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0x14], edx
xor edi, edi
mov word [rbp + 0x39e], di
mov word [rbp + 0x3ae], di
mov dword [rbp + 0x88], edi
mov dword [rbp + 0x8c], 1
mov eax, 0x66666667
imul dword [0x140163cdc]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp + 0x10]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r9b
or ecx, eax
mov rax, qword [rsp + 0x40]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r11 + 0x44]
mov dword [rbp + 0x3a0], eax
lea eax, [r10 + 0x12]
mov dword [rbp + 0x3a4], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x398], ax
mov r9d, 0xff00
and cx, r9w
shl r8w, 8
mov word [rbp + 0x39c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x3a8], ax
movzx eax, dx
and ax, r9w
lea r9, [rbp + 0x88]
shr edx, 0x10
shl dx, 8
mov dword [rsp + 0x28], 1
mov word [rbp + 0x3ac], dx
mov word [rbp + 0x39a], cx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0x390], r11d
mov dword [rbp + 0x394], r10d
mov word [rbp + 0x3aa], ax
mov r8d, 2
lea rdx, [rbp + 0x390]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140016550
mov rdx, qword [rbp + 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001654b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001656b
call fcn.140134770
inc si
cmp si, 2
jg 0x140016572
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
jmp 0x140015f70
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 + 0x290]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14014cac0]
mov qword [rbp + 0x290], rax
lea rsi, [0x14014c798]
mov qword [rbp + 0x2a0], rsi
lea rcx, [rbp + 0x328]
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 + 0x2a8]
lea rcx, [rbp + 0x290]
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 + 0x290]
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 + 0x290], rax
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x28c], edx
lea rcx, [rbp + 0x2a8]
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 + 0x2a8], r14
mov qword [rbp + 0x310], rdi
mov dword [rbp + 0x318], edi
lea rdx, [0x1400090c0]
lea rcx, [rbp + 0x2a0]
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 edx, 2
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
mov r13, qword [rsp + 0x50]
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 + 0x290]
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 + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14014cac0]
mov qword [rbp + 0x190], rax
mov qword [rbp + 0x1a0], rsi
lea rcx, [rbp + 0x228]
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 + 0x1a8]
lea rcx, [rbp + 0x190]
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 + 0x190]
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 + 0x190], rax
mov rax, qword [rbp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x18c], edx
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x1a8], r14
xor eax, eax
mov qword [rbp + 0x210], rax
mov dword [rbp + 0x218], eax
lea rdx, [0x1400090c0]
lea rcx, [rbp + 0x1a0]
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 edx, 2
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
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 + 0x190]
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 + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14014cac0]
mov qword [rbp + 0x90], rax
lea rax, [0x14014c798]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x128]
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 + 0xa8]
lea rcx, [rbp + 0x90]
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 + 0x90]
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 + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rbp + rcx + 0x8c], r8d
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0xa8], r14
xor eax, eax
mov qword [rbp + 0x110], rax
mov dword [rbp + 0x118], eax
lea rdx, [0x1400090c0]
lea rcx, [rbp + 0xa0]
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 edx, 2
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
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 + 0x90]
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 xmm6, xmmword [0x14014fed0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x14014fd50]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], 0
movups xmmword [rbp + 0x60], xmm0
mov ecx, dword [rbp + 0x318]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400168d8
mov rax, qword [rbp + 0x2e8]
mov r8, qword [rax]
test r8, r8
je 0x1400168d8
mov rax, qword [rbp + 0x2c8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x310]
cmovb r8, qword [rbp + 0x310]
sub r8, rdx
jmp 0x140016910
test cl, 4
jne 0x140016908
mov rax, qword [rbp + 0x2e0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140016908
mov rax, qword [rbp + 0x2c0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x2f8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140016910
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14001691f
lea rcx, [rsp + 0x58]
call fcn.140054f70
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
lea r14, [0x140148c4c]
cmp rax, r12
jb 0x1400169b8
lea rax, [r8 + 3]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x58]
lea rax, [0x140148c4f]
cmp rax, rdi
jbe 0x14001697b
lea rax, [rdi + r8]
cmp r14, rax
ja 0x14001697b
cmp rdi, r14
ja 0x140016973
xor eax, eax
mov esi, eax
jmp 0x14001697e
mov rsi, rdi
sub rsi, r14
jmp 0x14001697e
mov rsi, r12
inc r8
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 + 0x58]
jmp 0x1400169d8
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0x390], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3a0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x390], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3a0], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
movaps xmmword [rsp + 0x40], xmm6
add r15d, 0x1a2
lea edx, [rbx + 0xb9]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x390]
mov r8d, r15d
call fcn.14000f330
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140016a7e
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
movdqa xmm6, xmmword [0x14014fed0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x14014fd50]
movdqu xmmword [rbp - 0x78], xmm1
mov byte [rsp + 0x78], sil
movups xmmword [rbp + 0x60], xmm0
mov ecx, dword [rbp + 0x218]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140016adf
mov rax, qword [rbp + 0x1e8]
mov r8, qword [rax]
test r8, r8
je 0x140016adf
mov rax, qword [rbp + 0x1c8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x210]
cmovb r8, qword [rbp + 0x210]
sub r8, rdx
jmp 0x140016b17
test cl, 4
jne 0x140016b0f
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140016b0f
mov rax, qword [rbp + 0x1c0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1f8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140016b17
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140016b26
lea rcx, [rsp + 0x78]
call fcn.140054f70
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
lea r14, [0x140148c50]
cmp rax, r12
jb 0x140016bb8
lea rax, [r8 + 3]
mov qword [rbp - 0x78], rax
lea rdi, [rsp + 0x78]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x78]
lea rax, [0x140148c53]
cmp rax, rdi
jbe 0x140016b79
lea rax, [rdi + r8]
cmp r14, rax
ja 0x140016b79
cmp rdi, r14
jbe 0x140016b7c
mov rsi, rdi
sub rsi, r14
jmp 0x140016b7c
mov rsi, r12
inc r8
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 + 0x78]
xor esi, esi
jmp 0x140016bd8
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movaps xmmword [rsp + 0x40], xmm6
lea edx, [rbx + 0xff]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
mov r8d, r15d
call fcn.14000f330
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140016c65
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016c60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
movdqa xmm6, xmmword [0x14014fed0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x14014fd50]
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x68], 0
movups xmmword [rbp + 0x60], xmm0
mov ecx, dword [rbp + 0x118]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140016cc4
mov rax, qword [rbp + 0xe8]
mov r8, qword [rax]
test r8, r8
je 0x140016cc4
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x110]
cmovb r8, qword [rbp + 0x110]
sub r8, rdx
jmp 0x140016cfc
test cl, 4
jne 0x140016cf4
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140016cf4
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xf8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140016cfc
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140016d0a
lea rcx, [rbp - 0x68]
call fcn.140054f70
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
lea r14, [0x140148c54]
cmp rax, r12
jb 0x140016d99
lea rax, [r8 + 3]
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0x68]
cmp rcx, 0xf
cmova rdi, qword [rbp - 0x68]
lea rax, [0x140148c57]
cmp rax, rdi
jbe 0x140016d5b
lea rax, [rdi + r8]
cmp r14, rax
ja 0x140016d5b
cmp rdi, r14
jbe 0x140016d5e
mov rsi, rdi
sub rsi, r14
jmp 0x140016d5e
mov rsi, r12
inc r8
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 - 0x68]
xor esi, esi
jmp 0x140016db8
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movaps xmmword [rsp + 0x40], xmm6
lea edx, [rbx + 0x145]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, r15d
call fcn.14000f330
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140016e44
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
movsd xmm0, qword [r13]
mov rbx, qword [rbp - 0x28]
movsd qword [rbx], xmm0
mov eax, dword [r13 + 8]
mov dword [rbx + 8], eax
mov rax, qword [rbp + 0x90]
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 + 0x90], rdi
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0xa8]
call fcn.140052d60
lea rcx, [rbp + 0xb0]
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 + 0x128]
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 + 0x190]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x190], rdi
mov rax, qword [rbp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x18c], edx
lea rcx, [rbp + 0x1a8]
call fcn.140052d60
lea rcx, [rbp + 0x1b0]
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 + 0x228]
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 + 0x290]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x290], rdi
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x28c], edx
lea rcx, [rbp + 0x2a8]
call fcn.140052d60
lea rcx, [rbp + 0x2b0]
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 + 0x328]
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 + 0x3b0]
xor rcx, rsp
call fcn.140134750
lea r11, [rsp + 0x4f0]
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