Function at 0x441020
Capabilities:
Check for foreground window switch
Create process on windows
Enumerate processes
Hide graphical window
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x328
mov eax, dword [0x44c00c]
xor eax, esp
mov dword [esp + 0x324], eax
push esi
push edi
push 7
push str.cs2.exe
lea ecx, [esp + 0x31c]
mov dword [esp + 0x31c], 0
mov dword [esp + 0x32c], 0
mov dword [esp + 0x330], 7
call fcn.00441a90
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [esp + 0x314]
mov edi, eax
cmp edi, 0xffffffff
je 0x441119
lea eax, [esp + 0xe0]
mov dword [esp + 0xe0], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x441112
nop word [eax + eax]
cmp dword [esp + 0x328], 8
lea eax, [esp + 0x314]
lea ecx, [esp + 0x104]
cmovae eax, esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4410f6
test dx, dx
je 0x4410f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4410f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4410d0
xor eax, eax
jmp 0x4410fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x441151
lea eax, [esp + 0xe0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4410b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x328]
cmp eax, 8
jb 0x441169
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x44115f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44115f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x17], 0
jmp 0x44111e
push ecx
push esi
call fcn.00441dd7
add esp, 8
cmp byte [esp + 0x17], 0
je 0x441193
push 1
push 0
push 0
push str.steam:__rungameid_730
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1b58
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 0x40
mov dword [esp + 0x48], 0x440fc0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
lea eax, [esp + 0x3c]
mov dword [esp + 0x64], str.CS2_Cheat_Example
push eax
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push dword [esp + 0x54]
push 0
push 0
push 1
call esi
push eax
push 0
call esi
push eax
push 0
push 0
push 0x90000000
push str.CS2_Cheat_Example
push dword [esp + 0x8c]
push 0x80008
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x44c478
push 0
push 0x44c474
push 0x44c470
mov dword [0x44c454], eax
xorps xmm0, xmm0
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x7c]
push eax
push 7
push 0
push 0
push 0
push 0
push 1
push 0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xb0], xmm0
mov dword [esp + 0xbc], 0
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0xc4], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xac], 0x1c
mov dword [esp + 0xc0], 0x20
mov dword [esp + 0xb8], 1
mov dword [esp + 0xcc], 1
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jns 0x441302
call fcn.00441a20
push dword [esp + 0x50]
push dword [esp + 0x68]
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.00441be2
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x44c470]
lea edx, [esp + 0x20]
push edx
push 0x4498cc
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x44c474]
push 0x44c46c
push 0
push dword [esp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [0x44c448]
push 0x61b0
mov dword [esp + 0x1c], edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x44c448]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x4413b0
movsx edx, word [ecx + 0x6028]
lea eax, [ecx + 0x602c]
mov edi, dword [ecx + 0x3f70]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x4413a2
lea eax, [edx + 1]
mov dword [esp + 0x20], 6
cdq
idiv dword [esp + 0x20]
movzx eax, dx
mov word [ecx + 0x6028], ax
cwde
lea eax, [eax*8 + 0x602c]
add eax, ecx
xor edx, edx
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [ecx + 0x6020]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4413bf
push 0
mov ecx, esi
call fcn.00404460
jmp 0x4413c1
xor eax, eax
mov dword [0x44c448], eax
call fcn.00408800
mov eax, dword [0x44c448]
test edi, edi
cmovne eax, edi
xor ecx, ecx
mov dword [0x44c448], eax
call fcn.004267c0
mov ecx, dword [0x44c454]
call fcn.00402190
call fcn.00401fd0
push 1
push 0xff
push 0
push dword [0x44c454]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0xa
push dword [0x44c454]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x44c454]
call dword [sym.imp.USER32.dll_UpdateWindow]
xorps xmm0, xmm0
mov dword [esp + 0xd8], 0
movaps xmmword [esp + 0xc0], xmm0
movq qword [esp + 0xd0], xmm0
nop
push 1
push 0
push 0
push 0
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x44147b
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x441918
mov esi, dword [0x44c448]
mov dword [esp + 0x20], esi
test esi, esi
je 0x44148e
mov eax, dword [esi + 0x7c]
jmp 0x441490
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x4414a5
call fcn.004019e0
mov esi, dword [0x44c448]
mov dword [esp + 0x20], esi
test esi, esi
je 0x4414ae
mov eax, dword [esi + 0x78]
jmp 0x4414b0
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
push ecx
movups xmmword [esp + 0x28], xmm0
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
movd xmm1, eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0xb0]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0xb4], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov ecx, edi
mov esi, dword [esp + 0xb4]
mov edx, esi
sub ecx, dword [eax + 0x10]
sbb edx, dword [eax + 0x14]
call fcn.00442d00
mov eax, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [esp + 0x1c], xmm0
call fcn.00442d00
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x20]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov eax, dword [esp + 0x18]
mov dword [eax + 0x14], esi
mov esi, dword [0x44c448]
mov dword [eax + 0x10], edi
test esi, esi
je 0x441575
mov edi, dword [esi + 0x78]
jmp 0x441577
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x44162a
cmp byte [esi + 0x87], 0
je 0x4415de
cvttss2si eax, dword [esi + 0xac]
mov dword [esp + 0xa8], eax
cvttss2si eax, dword [esi + 0xb0]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4415d5
push dword [esp + 0xac]
push dword [esp + 0xac]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x87], 0
jne 0x44162a
cmp dword [edi + 8], 0
jne 0x44162a
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x44162a
lea eax, [esp + 0xb8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x44162a
movd xmm2, dword [esp + 0xbc]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0xb8]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.004063d0
call fcn.004024b0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x44], 0
je 0x44163e
or eax, 0xffffffff
jmp 0x441649
mov eax, dword [0x44c448]
mov eax, dword [eax + 0x4eb4]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x20], eax
je 0x44165a
mov dword [ecx + 0x20], eax
call fcn.00402380
call fcn.00402660
call fcn.0040b1c0
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x441681
cmp byte [0x44c46a], 0
sete al
mov byte [0x44c46a], al
jmp 0x441686
mov al, byte [0x44c46a]
test al, al
je 0x4416df
push 0x62
xor edx, edx
mov ecx, str.Erebus_CS2
call fcn.00410a20
add esp, 4
push str.TG_Erebus_Mods
call fcn.0042f390
add esp, 4
mov edx, 0x44c468
mov ecx, str.Draw_Crosshair
call fcn.00430e20
mov edx, 0x44c469
mov ecx, str.Bunny_Hop__
call fcn.00430e20
push 2
mov edx, 0x44c01c
mov ecx, str.Crosshair_Color
call fcn.00439190
add esp, 4
call fcn.004133f0
cmp byte [0x44c469], 0
je 0x441702
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x20
call esi
push 0
push 2
push 0
push 0x20
call esi
call fcn.0040d190
mov eax, dword [0x44c478]
xorps xmm0, xmm0
push 0
push 0x44c46c
movups xmmword [esp + 0x31c], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x44c478]
lea edx, [esp + 0x314]
push edx
push dword [0x44c46c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x44c448]
xor ecx, ecx
mov eax, dword [eax + 0x4acc]
mov eax, dword [eax]
add eax, 0x40
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00401160
cmp byte [0x44c468], 0
je 0x441826
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [esp + 0x20], eax
call esi
cdq
sub eax, edx
mov edi, eax
push 0
sar edi, 1
call dword [sym.imp.USER32.dll_GetDC]
movss xmm1, dword [0x449a18]
movss xmm0, dword [0x44c024]
mulss xmm0, xmm1
mov dword [esp + 0x20], eax
cvttss2si ecx, xmm0
movss xmm0, dword [0x44c020]
mulss xmm0, xmm1
movzx edx, cl
shl edx, 8
cvttss2si ecx, xmm0
movss xmm0, dword [0x44c01c]
mulss xmm0, xmm1
movzx ecx, cl
or edx, ecx
shl edx, 8
cvttss2si eax, xmm0
movzx eax, al
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 3]
push ecx
lea ecx, [eax + 3]
add eax, 0xfffffffd
push ecx
lea ecx, [edi - 3]
mov edi, dword [esp + 0x28]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
push str.Erebus_Mod
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
call fcn.00441a90
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push str.Arial
push 2
push 0
push 0
push 8
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x14
call dword [sym.imp.GDI32.dll_CreateFontW]
mov esi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x34]
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0x28]
cmovae ecx, dword [esp + 0x28]
push ecx
push 0xa
push 0xa
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x38]
cmp edx, 8
jb 0x441909
mov ecx, dword [esp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4418ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44114b
push edx
push ecx
call fcn.00441dd7
add esp, 8
mov eax, dword [0x44c470]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp dword [esp + 0xc4], 0x12
jne 0x441440
mov esi, dword [0x44c448]
test esi, esi
je 0x441935
mov edi, dword [esi + 0x7c]
jmp 0x441937
xor edi, edi
call fcn.00401ec0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x441949
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x441955
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x441962
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0xc], 0xfffffff7
mov ecx, edi
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
call fcn.0040a8a0
mov esi, dword [0x44c448]
test esi, esi
je 0x44198a
mov edi, dword [esi + 0x78]
jmp 0x44198c
xor edi, edi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x44199a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi + 0xc], 0xfffffff8
mov ecx, edi
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0
call fcn.0040a8a0
mov esi, dword [0x44c448]
call fcn.00408d90
mov dword [0x44c448], 0
test esi, esi
je 0x4419da
mov ecx, esi
call fcn.0041f330
mov ecx, esi
call fcn.0040a8a0
call fcn.00441a20
push dword [0x44c454]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esp + 0x50]
push dword [esp + 0x68]
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov ecx, dword [esp + 0x32c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00441be2
mov esp, ebp
pop ebp
ret 0x10