Function at 0x4018f0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43aef0
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x44300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x154]
push 0x124
push edi
push eax
mov dword [ebp - 0x384], edi
mov dword [ebp - 0x38c], edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
mov dword [ebp - 0x158], 0x128
push edi
push 2
call esi
mov ebx, eax
lea eax, [ebp - 0x158]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x401a1c
nop
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401980
sub ecx, edx
lea esi, [ebp - 0x134]
mov edi, 7
mov edx, str.cs2.exe
cmp ecx, edi
cmovb edi, ecx
sub edi, 4
jb 0x4019b4
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4019b9
add edx, 4
add esi, 4
sub edi, 4
jae 0x4019a3
cmp edi, 0xfffffffc
je 0x4019ed
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4019e6
cmp edi, 0xfffffffd
je 0x4019ed
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4019e6
cmp edi, 0xfffffffe
je 0x4019ed
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4019e6
cmp edi, 0xffffffff
je 0x4019ed
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4019ed
sbb eax, eax
or eax, 1
jmp 0x4019ef
xor eax, eax
test eax, eax
jne 0x4019fe
cmp ecx, 7
ja 0x4019fe
jae 0x401aed
lea eax, [ebp - 0x158]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x401970
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
test ebx, ebx
je 0x401a27
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x220
lea eax, [ebp - 0x37c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x380], 0x224
push edi
push 8
call esi
mov ebx, eax
xor esi, esi
lea eax, [ebp - 0x380]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x401b41
nop word [eax + eax]
lea ecx, [ebp - 0x360]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a80
sub ecx, edx
lea esi, [ebp - 0x360]
mov edi, 0xa
mov edx, str.client.dll
cmp ecx, edi
cmovb edi, ecx
sub edi, 4
jb 0x401ab4
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x401ab9
add edx, 4
add esi, 4
sub edi, 4
jae 0x401aa3
cmp edi, 0xfffffffc
je 0x401b12
mov al, byte [edx]
cmp al, byte [esi]
jne 0x401ae6
cmp edi, 0xfffffffd
je 0x401b12
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x401ae6
cmp edi, 0xfffffffe
je 0x401b12
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x401ae6
cmp edi, 0xffffffff
je 0x401b12
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x401b12
sbb eax, eax
or eax, 1
jmp 0x401b14
mov edi, dword [ebp - 0x150]
push edi
push 0
push 0x1fffff
mov dword [ebp - 0x384], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x38c], eax
jmp 0x401a16
xor eax, eax
test eax, eax
jne 0x401b23
cmp ecx, 0xa
ja 0x401b23
jae 0x401d95
lea eax, [ebp - 0x380]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x401a70
xor esi, esi
mov edi, dword [ebp - 0x384]
test ebx, ebx
je 0x401b4c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
mov dword [0x443644], esi
call fcn.004399f2
mov ecx, dword [ebp - 0x38c]
add esp, 4
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x384]
push ecx
push 0
push eax
push 0x402180
push 0
mov dword [eax], edi
push 0
mov dword [eax + 8], 0x401620
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x388], eax
test eax, eax
je 0x402168
mov ecx, dword [ebp - 0x384]
test ecx, ecx
je 0x402160
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x402160
push eax
mov dword [0x4435d8], 0x30
mov dword [0x4435dc], 0x40
mov dword [0x4435e0], 0x401000
mov dword [0x4435e4], eax
mov dword [0x4435e8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4435ec], eax
push 0x4435d8
movups xmmword [0x4435f0], xmm0
mov dword [0x443600], 0x43c300
mov dword [0x443604], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4435ec]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.Cheat_Menu
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4435d0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4435d0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 0
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x4435cc], ecx
test ecx, ecx
je 0x401d07
push 0x4435d4
push 0x443608
push 0x40
push dword [0x4435d0]
xorps xmm0, xmm0
mov dword [0x44361c], 0
push 1
movlpd qword [0x443608], xmm0
movlpd qword [0x443614], xmm0
mov dword [0x443624], 0
movlpd qword [0x443634], xmm0
mov dword [0x443628], 1
mov dword [0x443620], 1
mov dword [0x443610], 0
mov dword [0x44362c], 1
mov dword [0x443630], 0x50
mov dword [0x44363c], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
call fcn.004012b0
cmp byte [0x44301c], 0
je 0x401f82
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [ebp - 0x388], 5
mov dword [ebp - 0x384], 0
nop
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
call esi
test eax, eax
je 0x401d84
nop dword [eax]
lea eax, [ebp - 0x2c]
push eax
call edi
lea eax, [ebp - 0x2c]
push eax
call ebx
cmp dword [ebp - 0x28], 0x12
je 0x401da0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x401d60
mov eax, dword [0x443658]
test eax, eax
je 0x401db0
mov ecx, dword [eax + 0xc8]
jmp 0x401db2
mov esi, dword [ebp - 0x36c]
jmp 0x401b3b
cmp byte [0x44301c], 0
sete byte [0x44301c]
jmp 0x401dda
xor ecx, ecx
cmp dword [ecx + 0xc], 0
jne 0x401dd0
test eax, eax
je 0x401dd0
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x401dd0
cmp dword [eax], 0
je 0x401dd0
call fcn.00427640
call fcn.00427bc0
call fcn.004072e0
mov dword [ebp - 4], 2
mov edx, 0x44301c
mov eax, dword [0x443658]
mov ecx, str.software_arabesc
push 0x126
or dword [eax + 0x1c84], 3
mov dword [eax + 0x1c94], 0
mov dword [eax + 0x1c98], 0
mov dword [eax + 0x1c9c], 0
mov dword [eax + 0x1ca0], 0
mov dword [eax + 0x1c88], 1
mov dword [eax + 0x1ca4], 0x43fa0000
mov dword [eax + 0x1ca8], 0x43960000
mov dword [eax + 0x1c8c], 1
call fcn.0040c7d0
add esp, 4
mov edx, 0x443640
mov ecx, str.glow
call fcn.0042b1b0
push 0
mov edx, 0x443020
mov ecx, str.glow_color
call fcn.00432bc0
add esp, 4
mov edx, 0x443641
mov ecx, str.radar
call fcn.0042b1b0
call fcn.0040f100
mov dword [ebp - 4], 3
call fcn.00409500
mov ecx, dword [0x4435d4]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4435d4]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4435d4]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4435d4]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xff000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x4435d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x401f38
call fcn.00409860
mov eax, dword [0x443658]
xor ecx, ecx
mov eax, dword [eax + 0x1d4c]
mov eax, dword [eax]
add eax, 0x34
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00427110
mov eax, dword [0x4435d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4435d4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x401f6a
mov eax, dword [0x4435d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x401f6a
call fcn.004011e0
lea ecx, [ebp - 0x388]
call fcn.00401790
cmp byte [0x44301c], 0
jne 0x401d40
mov dword [ebp - 4], 4
mov ecx, dword [0x443658]
test ecx, ecx
je 0x401f9b
mov edi, dword [ecx + 0xc8]
jmp 0x401f9d
xor edi, edi
lea ebx, [ecx + 8]
test ecx, ecx
je 0x40200e
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x40200e
cmp dword [esi], 0
je 0x40200e
mov edx, dword [esi + 4]
test edx, edx
je 0x401fcd
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x443658]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x401fe7
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x443658]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x40200e
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x443658]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x98]
mov dword [eax + 4], 0
mov edx, dword [edi]
test edx, edx
je 0x402020
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x443658]
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xc0], 0
test ecx, ecx
je 0x40203e
dec dword [ecx + 0x36c]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov eax, dword [0x443658]
add esp, 4
test eax, eax
je 0x40205b
mov esi, dword [eax + 0xc4]
jmp 0x40205d
xor esi, esi
mov ecx, dword [esi + 0x28]
lea ebx, [eax + 8]
test ecx, ecx
je 0x402073
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x443658]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xbc], 0
test eax, eax
je 0x402091
dec dword [eax + 0x36c]
push esi
call edi
mov esi, dword [0x443658]
add esp, 4
mov ecx, esi
call fcn.00408940
cmp dword [0x443658], esi
jne 0x4020b6
mov dword [0x443658], 0
test esi, esi
je 0x4020d6
mov ecx, esi
call fcn.004171b0
mov eax, dword [0x443658]
test eax, eax
je 0x4020d0
dec dword [eax + 0x36c]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 5
mov ecx, dword [0x4435d4]
test ecx, ecx
je 0x4020f7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4435d4], 0
mov ecx, dword [0x4435cc]
test ecx, ecx
je 0x402111
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4435cc], 0
push dword [0x4435d0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4435ec]
push dword [0x443600]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [ebp - 0x38c]
test eax, eax
je 0x402140
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004399e4
mov esp, ebp
pop ebp
ret 0x10
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x384], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3