Function at 0x1400141b0
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 - 0x398]
sub rsp, 0x460
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1400ca040]
xor rax, rsp
mov qword [rbp + 0x320], rax
movzx r14d, r9w
mov word [rsp + 0x30], r9w
mov rbx, r8
mov qword [rsp + 0x78], rdx
mov rax, qword [rbp + 0x3c0]
mov qword [rsp + 0x50], rax
xor r12d, r12d
test r8d, r8d
jne 0x14001423f
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x14001423f
mov dword [rdx], 0xbf800000
mov dword [rdx + 4], 0xbf800000
mov dword [rdx + 8], 0xbf800000
mov rax, rdx
jmp 0x140014fac
movzx esi, r12w
lea rcx, [rax + 4]
mov qword [rsp + 0x68], rcx
lea rdx, [rax + 8]
mov qword [rsp + 0x70], rdx
movsd xmm8, qword [0x1400bfa50]
movss xmm6, dword [0x1400bfa38]
movss xmm7, dword [0x1400bfb78]
nop
movss xmm0, dword [rax]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [rcx]
movss dword [rsp + 0x5c], xmm1
movss xmm0, dword [rdx]
movss dword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r12
mov edx, 3
lea rcx, [rbp - 0x40]
call fcn.1400b95b0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [rsp + 0x58]
mov rdi, qword [rbp - 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
movsx eax, r14w
imul ecx, eax, 0x1e
mov eax, dword [rbp + 0x3b4]
add eax, ecx
mov dword [rsp + 0x34], eax
lea r15d, [rax - 6]
movsx eax, si
imul r12d, eax, 0x46
lea r13d, [rbx + 0xb4]
add r13d, r12d
mov edx, dword [0x1400cb098]
mov eax, dword [0x1400cb0a0]
cmp edx, eax
jl 0x140014340
cmp edx, dword [0x1400cb0a8]
jg 0x140014340
mov ecx, dword [0x1400cb09c]
mov r8d, dword [0x1400cb0a4]
cmp ecx, r8d
jl 0x140014340
cmp ecx, dword [0x1400cb0ac]
jg 0x140014340
sub edx, eax
cmp edx, r13d
jl 0x140014340
lea eax, [r13 + 0x44]
cmp edx, eax
jg 0x140014340
sub ecx, r8d
cmp ecx, r15d
jl 0x140014340
lea eax, [r15 + 0x14]
cmp ecx, eax
jg 0x140014340
mov r14d, 1
jmp 0x140014343
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400cb078]
jne 0x1400144e8
test r14d, r14d
je 0x1400144e8
cmp dword [0x1400cb0b8], 0
jne 0x1400144e8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400143ad
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 rax, si
movss xmm0, dword [rdi + rax*4]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm8
jmp 0x1400143ec
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400143f5
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 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 0x140014429
xor r9d, r9d
xor edx, edx
mov r8d, 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 0x14001445b
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140014460
xor r9d, r9d
xor edx, edx
mov r8d, 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 0x140014494
xor r9d, r9d
xor edx, edx
mov r8d, 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 0x1400144c6
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400144cb
xor r9d, r9d
xor edx, edx
mov r8d, 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 xmm1, dword [rdi + 4]
movss xmm0, dword [rdi + 8]
mov eax, dword [rdi]
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 - 0x80], rax
mov word [rbp + 0x30e], ax
mov word [rbp + 0x31e], ax
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x300], r13d
mov dword [rbp + 0x304], r15d
lea eax, [r13 + 0x46]
mov dword [rbp + 0x310], eax
lea eax, [r15 + 0x14]
mov dword [rbp + 0x314], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0x308], cx
mov word [rbp + 0x30a], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0x30c], ax
mov word [rbp + 0x318], cx
mov word [rbp + 0x31a], dx
mov word [rbp + 0x31c], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x20]
mov r8d, 2
lea rdx, [rbp + 0x300]
mov rcx, qword [0x1400cb090]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov r15d, dword [rsp + 0x34]
lea r10d, [r15 - 5]
lea r11d, [rbx + 0xb5]
add r11d, r12d
xor r12d, r12d
mov word [rbp + 0x30e], r12w
mov word [rbp + 0x31e], r12w
test r14d, r14d
je 0x1400146a4
mov dword [rbp - 0x60], 0x1e
mov dword [rbp - 0x5c], 0x1e
mov eax, dword [0x1400cb064]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 0x70], r8d
mov eax, dword [0x1400cb068]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x6c], eax
mov dword [rbp - 0x18], r12d
mov dword [rbp - 0x14], 1
mov eax, dword [0x1400cb06c]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx r9d, al
mov rax, qword [rbp - 0x70]
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 - 0x60]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r11 + 0x44]
mov dword [rbp + 0x310], eax
lea eax, [r10 + 0x12]
mov dword [rbp + 0x314], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x308], ax
mov r14d, 0xff00
and cx, r14w
shl r9w, 8
mov word [rbp + 0x30c], r9w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x318], ax
movzx eax, dx
and ax, r14w
lea r9, [rbp - 0x18]
jmp 0x14001478f
mov dword [rsp + 0x40], 0x1e
mov dword [rsp + 0x44], 0x1e
mov eax, 0x66666667
imul dword [0x1400cb064]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x50], r9d
mov eax, 0x66666667
imul dword [0x1400cb068]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x4c], edx
mov dword [rbp - 0x10], r12d
mov dword [rbp - 0xc], 1
mov eax, 0x66666667
imul dword [0x1400cb06c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x50]
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 + 0x310], eax
lea eax, [r10 + 0x12]
mov dword [rbp + 0x314], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x308], ax
mov r9d, 0xff00
and cx, r9w
shl r8w, 8
mov word [rbp + 0x30c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x318], ax
movzx eax, dx
and ax, r9w
lea r9, [rbp - 0x10]
shr edx, 0x10
shl dx, 8
mov dword [rsp + 0x28], 1
mov word [rbp + 0x31c], dx
mov word [rbp + 0x30a], cx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0x300], r11d
mov dword [rbp + 0x304], r10d
mov word [rbp + 0x31a], ax
mov r8d, 2
lea rdx, [rbp + 0x300]
mov rcx, qword [0x1400cb090]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test rdi, rdi
je 0x14001481c
mov rdx, qword [rbp - 0x30]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140014814
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001483f
mov rcx, rdi
call fcn.1400b9ed0
inc si
cmp si, 2
jg 0x140014846
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
movzx r14d, word [rsp + 0x30]
jmp 0x140014270
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 + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400bf9e4]
mov qword [rbp + 0x200], rax
lea r13, [0x1400bf910]
mov qword [rbp + 0x210], r13
lea rcx, [rbp + 0x298]
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 + 0x218]
lea rcx, [rbp + 0x200]
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 + 0x200]
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 + 0x200], rax
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1fc], edx
lea rcx, [rbp + 0x218]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x218], r12
xor eax, eax
mov qword [rbp + 0x280], rax
mov dword [rbp + 0x288], eax
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 rsi, rax
lea rdx, [0x140007a10]
lea rcx, [rbp + 0x210]
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 r14, qword [rsp + 0x50]
movss xmm1, dword [r14]
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, r14
lea rcx, [rbp + 0x200]
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 + 0x100]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400bf9e4]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x110], r13
lea rcx, [rbp + 0x198]
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 + 0x118]
lea rcx, [rbp + 0x100]
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 + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x118], r12
xor eax, eax
mov qword [rbp + 0x180], rax
mov dword [rbp + 0x188], eax
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 rsi, rax
lea rdx, [0x140007a10]
lea rcx, [rbp + 0x110]
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 [r14 + 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, [r14 + 4]
lea rcx, [rbp + 0x100]
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]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400bf9e4]
mov qword [rbp], rax
mov qword [rbp + 0x10], r13
lea rcx, [rbp + 0x98]
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 + 0x18]
lea rcx, [rbp]
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]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rbp + rcx - 4], r8d
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x18], r12
xor eax, eax
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x88], eax
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 rsi, rax
lea rdx, [0x140007a10]
lea rcx, [rbp + 0x10]
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 [r14 + 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, [r14 + 8]
lea rcx, [rbp]
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 [0x1400c2d40]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x300], xmm0
movdqa xmm1, xmmword [0x1400c2c40]
movdqu xmmword [rbp + 0x310], xmm1
mov byte [rbp + 0x300], 0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov ecx, dword [rbp + 0x288]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140014b9a
mov rax, qword [rbp + 0x258]
mov r8, qword [rax]
test r8, r8
je 0x140014b9a
mov rax, qword [rbp + 0x238]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x280]
cmovb r8, qword [rbp + 0x280]
sub r8, rdx
jmp 0x140014bd2
test cl, 4
jne 0x140014bca
mov rax, qword [rbp + 0x250]
mov rcx, qword [rax]
test rcx, rcx
je 0x140014bca
mov rax, qword [rbp + 0x230]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x268]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140014bd2
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140014be3
lea rcx, [rbp + 0x300]
call fcn.14004c9c0
lea r8, [rbp + 0x300]
lea rdx, [0x1400bd094]
lea rcx, [rbp - 0x40]
call fcn.14004d100
mov r9, rax
lea edx, [rbx + 0xb9]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r15 - 2]
call fcn.14000dd30
mov rdx, qword [rbp + 0x318]
cmp rdx, 0xf
jbe 0x140014c5a
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014c55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9ed0
movdqa xmm0, xmmword [0x1400c2d40]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x300], xmm0
movdqa xmm1, xmmword [0x1400c2c40]
movdqu xmmword [rbp + 0x310], xmm1
mov byte [rbp + 0x300], 0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov ecx, dword [rbp + 0x188]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140014cce
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x140014cce
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x140014d06
test cl, 4
jne 0x140014cfe
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x140014cfe
mov rax, qword [rbp + 0x130]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x168]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140014d06
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140014d17
lea rcx, [rbp + 0x300]
call fcn.14004c9c0
lea r8, [rbp + 0x300]
lea rdx, [0x1400bd098]
lea rcx, [rbp - 0x40]
call fcn.14004d100
mov r9, rax
lea edx, [rbx + 0xff]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r15 - 2]
call fcn.14000dd30
mov rdx, qword [rbp + 0x318]
cmp rdx, 0xf
jbe 0x140014d8e
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014d89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9ed0
movdqa xmm0, xmmword [0x1400c2d40]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x300], xmm0
movdqa xmm1, xmmword [0x1400c2c40]
movdqu xmmword [rbp + 0x310], xmm1
mov byte [rbp + 0x300], 0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov ecx, dword [rbp + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140014dfc
mov rax, qword [rbp + 0x58]
mov r8, qword [rax]
test r8, r8
je 0x140014dfc
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x80]
cmovb r8, qword [rbp + 0x80]
sub r8, rdx
jmp 0x140014e2b
test cl, 4
jne 0x140014e23
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140014e23
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140014e2b
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140014e3c
lea rcx, [rbp + 0x300]
call fcn.14004c9c0
lea r8, [rbp + 0x300]
lea rdx, [0x1400bd09c]
lea rcx, [rbp - 0x40]
call fcn.14004d100
mov r9, rax
lea edx, [rbx + 0x145]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r15 - 2]
call fcn.14000dd30
mov rdx, qword [rbp + 0x318]
cmp rdx, 0xf
jbe 0x140014eb3
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014eae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014eae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9ed0
movsd xmm0, qword [r14]
mov rbx, qword [rsp + 0x78]
movsd qword [rbx], xmm0
mov eax, dword [r14 + 8]
mov dword [rbx + 8], eax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call fcn.14004bef0
lea rcx, [rbp + 0x20]
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 + 0x98]
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 + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], r13
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.14004bef0
lea rcx, [rbp + 0x120]
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 + 0x198]
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 + 0x200]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x200], r13
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1fc], edx
lea rcx, [rbp + 0x218]
call fcn.14004bef0
lea rcx, [rbp + 0x220]
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 + 0x298]
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 + 0x320]
xor rcx, rsp
call fcn.1400b9eb0
lea r11, [rsp + 0x460]
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