Function at 0x10063060
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100835f9
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x101be008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push str.mss32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100630c5
push str.ntdll.dll
call esi
test eax, eax
je 0x100630c5
push str.materialsystem.dll
call esi
test eax, eax
jne 0x100630ce
push 0x3e8
call edi
jmp 0x100630a0
push 1
call fcn.1007d8fb
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10063ac0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100638e4
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x10063119
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x1006312f
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov dword [ebp - 4], 0xffffffff
call fcn.1007b410
test al, al
jne 0x10063164
mov ecx, 1
call fcn.10063900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d6e4
mov esp, ebp
pop ebp
ret
push 0x64
call edi
call fcn.10062830
test al, al
jne 0x10063178
mov ecx, 2
jmp 0x10063144
lea ecx, [ebp - 0x124]
call fcn.10018980
mov esi, eax
push 0x98
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xbc], 0x1016d908
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x18], 9
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xb8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x104]
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x20], 0x10063be0
mov edx, str._sdefault.json
movq xmm0, qword [ebp - 0x24]
push 1
push eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 1
movq qword [ebp - 0x104], xmm0
mov dword [ebp - 0xfc], fcn.1002b8a0
call fcn.1003a480
add esp, 8
lea eax, [ebp - 0xf8]
lea ecx, [ebp - 0xbc]
push eax
call fcn.1003c440
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
call fcn.1003c390
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 0x10
cmovae ecx, dword [ebp - 0xf8]
call fcn.10016a50
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0x10
jb 0x1006332a
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10063320
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10063378
push ecx
push edx
call fcn.1007dc4a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp ecx, 0x10
jb 0x10063388
mov edx, dword [ebp - 0x124]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006337e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006337e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007dc4a
add esp, 8
call fcn.1003df40
push 0x64
call edi
push 0xb8
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xdc], 0x1016b4b8
cmp dword [0x101de6a4], 8
lea ecx, [ebp - 0x6c]
mov esi, 0x101de690
cmovae esi, dword [0x101de690]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x18], 0xf
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t_____bool_]
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe0], eax
lea eax, [ebp - 0xcc]
mov ecx, eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x8e], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void_]
mov eax, dword [0x101dca38]
mov ecx, dword [0x101dca3c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x94], 0
push ecx
push 1
push esi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xa
call fcn.1003c9e0
test eax, eax
jne 0x100634b1
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10063529
nop dword [eax + eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1003d4f0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10063500
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
call fcn.10062fa0
xor esi, esi
call fcn.10075ec0
cmp dword [0x101db04c], esi
jne 0x100638b2
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
test eax, eax
mov dword [0x101db04c], eax
mov ecx, 9
cmove esi, ecx
xor eax, eax
mov ecx, 0x101db048
xchg dword [ecx], eax
test esi, esi
jne 0x100638bb
mov eax, dword [0x101d804c]
mov esi, dword [0x101d8048]
cmp esi, eax
je 0x1006359c
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x10063588
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10075ec0
cmp dword [0x101db04c], 0
je 0x100638a7
mov ecx, 1
call fcn.10075dc0
xor ecx, ecx
mov edx, 0x101db048
xchg dword [edx], ecx
test eax, eax
jne 0x100638bb
push 0x64
call edi
mov ecx, dword [0x101dafd8]
lea edx, [ebp - 0x14]
push str.____Injected._n
push edx
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x14], 0xffff52b0
call dword [eax + 0x5c]
add esp, 0xc
push 0xa0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1006368d
mov eax, dword [0x101d8c8c]
mov edi, dword [0x101d8c88]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x10063644
mov esi, dword [0x101dafd8]
mov ecx, dword [edi]
mov eax, dword [esi]
mov dword [ebp - 0x14], 0xfffec1ff
mov edx, dword [eax + 0x5c]
mov eax, dword [ecx]
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ecx + 0xc]
push str.____Interface___s_:__x_n
push eax
push esi
call edx
add edi, 4
add esp, 0x14
cmp edi, dword [ebp - 0x18]
jne 0x10063612
mov edi, dword [0x101d804c]
mov esi, dword [0x101d8048]
cmp esi, edi
je 0x1006368d
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [0x101dafd8]
mov eax, dword [edx]
mov dword [ebp - 0x18], 0xfffff7c1
mov ecx, dword [eax + 0x5c]
mov eax, dword [esi]
push dword [eax + 8]
lea eax, [ebp - 0x18]
push str.____Hooked___s__n
push eax
push edx
call ecx
add esi, 4
add esp, 0x10
cmp esi, edi
jne 0x10063660
mov ecx, dword [0x101dafd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x100636ae
nop
and dword [eax + 0x14], 0xffbfbfed
mov eax, dword [eax + 4]
test eax, eax
jne 0x100636a0
mov edi, dword [0x101d7fe4]
mov esi, dword [0x101d7fe0]
cmp esi, edi
je 0x100636da
nop
mov ecx, dword [esi]
call fcn.10078390
add esi, 4
cmp esi, edi
jne 0x100636c0
mov edi, dword [0x101d7fe4]
mov esi, dword [0x101d7fe0]
mov ecx, dword [0x101dafd8]
sub edi, esi
sar edi, 2
push edi
push str.Netvars_hooked:__d_n
mov eax, dword [ecx]
push ecx
call dword [eax + 0x60]
mov ecx, dword [0x101dafd8]
add esp, 0xc
mov eax, dword [ecx]
push str.tf_scoreboard_mouse_mode
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10063713
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
push 1
call dword [eax]
sub esp, 0x18
mov byte [ebp - 0xdd], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x1016dcd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10020eb0
sub esp, 0x18
mov dword [ebp - 4], 0xc
mov ecx, esp
xorps xmm0, xmm0
push 9
movups xmmword [ecx], xmm0
push str.sv_cheats
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10020eb0
mov cl, byte [ebp - 0xdd]
mov dword [ebp - 4], 0xffffffff
call fcn.10018c40
add esp, 0x18
mov byte [ebp - 0xdd], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x1016dcd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10020eb0
sub esp, 0x18
mov dword [ebp - 4], 0xd
mov ecx, esp
xorps xmm0, xmm0
push 0x11
movups xmmword [ecx], xmm0
push str.r_drawclipbrushes
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10020eb0
mov cl, byte [ebp - 0xdd]
mov dword [ebp - 4], 0xffffffff
call fcn.10018c40
add esp, 0x18
mov byte [ebp - 0xdd], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x1016dcd8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10020eb0
sub esp, 0x18
mov dword [ebp - 4], 0xe
mov ecx, esp
xorps xmm0, xmm0
push 7
movups xmmword [ecx], xmm0
push str.r_3dsky
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10020eb0
mov cl, byte [ebp - 0xdd]
mov dword [ebp - 4], 0xffffffff
call fcn.10018c40
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x30
push 0x7a
call edi
test ax, ax
jne 0x10063882
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call esi
push 0x7a
call edi
test ax, ax
je 0x10063872
cmp byte [0x101dc276], 0
je 0x100638a0
mov ecx, dword [0x101dcbb0]
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov byte [0x101dc276], 0
xor ecx, ecx
jmp 0x10063144
xor eax, eax
mov edx, 0x101db048
xchg dword [edx], eax
jmp 0x100638bb
xor eax, eax
mov ecx, 0x101db048
xchg dword [ecx], eax
mov ecx, dword [0x101dafd8]
lea edx, [ebp - 0x14]
push str.____Failed_to_hook_functions._n
push edx
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x14], 0xff5252ff
call dword [eax + 0x5c]
add esp, 0xc
mov ecx, 3
jmp 0x10063144
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3