Function at 0x401860
Capabilities:
Enumerate processes
Enumerate threads
Get token membership
Log keystrokes via polling
Resume thread
Set console window title
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405d40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x409040]
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
push str.Free_Chase_Launcher_Demo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
lea eax, [ebp - 0xbc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0xbc]
or ecx, 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push str.e_38_2_255_0_127m
lea ecx, [ebp - 0xd4]
call fcn.00403580
push str.e_38_2_0_255_255m
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0
call fcn.00403580
push str.e_38_2_255_0_0m
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00403580
push str.e_38_2_0_255_0m
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00403580
push str.e_0m
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00403580
mov byte [ebp - 4], 4
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x378], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x30c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30c]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x30c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x20], 0
jne 0x401b6c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Please_run_this_program_as_Administrator._n
call fcn.00403ce0
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x401a05
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4019fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov word [ebp - 0x64], ax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], eax
cmp ecx, 7
jbe 0x401a4f
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401a45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x80]
xor eax, eax
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], eax
cmp ecx, 7
jbe 0x401a9c
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401a92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov word [ebp - 0x94], ax
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], eax
cmp ecx, 7
jbe 0x401af2
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401ae8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0xc0]
xor eax, eax
mov word [ebp - 0xac], ax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], eax
cmp ecx, 7
jbe 0x401b4b
mov edx, dword [ebp - 0xd4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov eax, 1
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.004049d0
mov esp, ebp
pop ebp
ret
push str.GrandChase.exe
lea ecx, [ebp - 0x4c]
call fcn.00403580
push 0
push 0
push 0
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 5
call fcn.00402ab0
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
nop dword [eax + eax]
push 0
push 2
mov dword [ebp - 0x308], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x401d95
lea eax, [ebp - 0x308]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401d8e
nop word [eax + eax]
lea ecx, [ebp - 0x2e4]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401bf0
sub ecx, edx
lea esi, [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
sar ecx, 1
cmp dword [ebp - 0x38], 7
cmova esi, dword [ebp - 0x4c]
cmp edx, ecx
jne 0x401d7c
lea eax, [ebp - 0x2e4]
test edx, edx
je 0x401c38
mov ecx, eax
sub esi, ecx
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x401d7c
add eax, 2
sub edx, 1
jne 0x401c23
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x300]
test esi, esi
je 0x401d95
push 1
push 0
push 0
lea ecx, [ebp - 0x37c]
call fcn.00402ab0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov ebx, esi
mov dword [ebp - 0x30c], ebx
cmp edi, 0xffffffff
je 0x401ce5
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0x1c
push eax
push edi
mov dword [ebp - 0x30c], ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x401cde
mov dword [ebp - 0x30c], esi
nop
cmp dword [ebp - 0x31c], ebx
jne 0x401ccc
push dword [ebp - 0x320]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x401ccc
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x328]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x401ca0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x368], eax
test eax, eax
jne 0x401db0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Failed_to_open_process._Error_code:
push eax
call fcn.00403ce0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov edx, 0x40639c
mov ecx, eax
call fcn.00403ce0
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x401d63
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401d59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
jmp 0x4019cb
lea eax, [ebp - 0x308]
push eax
push edi
call ebx
test eax, eax
jne 0x401be0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
call fcn.00403f10
jmp 0x401ba0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.Buff_Cooldown
lea ecx, [ebp - 0x48c]
movq qword [ebp - 0x34], xmm0
call fcn.00403580
push str.F3_0F_10_46_08
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 6
call fcn.004036f0
lea edx, [ebp - 0x324]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x474]
call fcn.00401320
mov byte [ebp - 4], 8
lea eax, [ebp - 0x334]
lea edi, [ebp - 0x32f]
mov dword [ebp - 0x334], 0x46100ff3
mov byte [ebp - 0x330], 8
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
sub edi, eax
je 0x401e67
push edi
lea ecx, [ebp - 0x468]
call fcn.00404210
mov esi, dword [ebp - 0x468]
lea eax, [ebp - 0x334]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x33c]
lea edi, [ebp - 0x337]
mov dword [ebp - 0x33c], 0x90909090
mov byte [ebp - 0x338], 0x90
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
sub edi, eax
je 0x401ed6
push edi
lea ecx, [ebp - 0x45c]
call fcn.00404210
mov esi, dword [ebp - 0x45c]
lea eax, [ebp - 0x33c]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x450], 0
mov byte [ebp - 0x44c], 0
push 0x4066e0
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0xb
call fcn.00403580
push str.89_41_14_83_F8_01
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 0xc
call fcn.004036f0
lea edx, [ebp - 0x4d4]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x430]
call fcn.00401320
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x354]
lea edi, [ebp - 0x34e]
mov dword [ebp - 0x354], 0x83144189
mov word [ebp - 0x350], 0x1f8
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
sub edi, eax
je 0x401f95
push edi
lea ecx, [ebp - 0x424]
call fcn.00404210
mov esi, dword [ebp - 0x424]
lea eax, [ebp - 0x354]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x420], eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x35c]
lea edi, [ebp - 0x356]
mov dword [ebp - 0x35c], 0x83909090
mov word [ebp - 0x358], 0x1f8
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0
sub edi, eax
je 0x402006
push edi
lea ecx, [ebp - 0x418]
call fcn.00404210
mov esi, dword [ebp - 0x418]
lea eax, [ebp - 0x35c]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x40c], 0
mov byte [ebp - 0x408], 0
push str.Potion_Cooldown
lea ecx, [ebp - 0x404]
mov byte [ebp - 4], 0x11
call fcn.00403580
push str.89_81_C0_00_00_00
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 0x12
call fcn.004036f0
lea edx, [ebp - 0x4bc]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x3ec]
call fcn.00401320
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x364]
lea edi, [ebp - 0x35e]
mov dword [ebp - 0x364], 0xc08189
mov word [ebp - 0x360], 0
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 0
sub edi, eax
je 0x4020c5
push edi
lea ecx, [ebp - 0x3e0]
call fcn.00404210
mov esi, dword [ebp - 0x3e0]
lea eax, [ebp - 0x364]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x28]
lea edi, [ebp - 0x22]
mov dword [ebp - 0x28], 0x90909090
mov word [ebp - 0x24], 0x9090
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0
sub edi, eax
je 0x402127
push edi
lea ecx, [ebp - 0x3d4]
call fcn.00404210
mov esi, dword [ebp - 0x3d4]
lea eax, [ebp - 0x28]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3c8], 0
mov byte [ebp - 0x3c4], 0
push str.Invisibility
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0x17
call fcn.00403580
push str.8B_07_89_47_C3
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x18
call fcn.004036f0
lea edx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x3a8]
call fcn.00401320
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x344]
lea edi, [ebp - 0x33f]
mov dword [ebp - 0x344], 0x4789078b
mov byte [ebp - 0x340], 0xc3
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
sub edi, eax
je 0x4021e4
push edi
lea ecx, [ebp - 0x39c]
call fcn.00404210
mov esi, dword [ebp - 0x39c]
lea eax, [ebp - 0x344]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x398], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x34c]
lea edi, [ebp - 0x347]
mov dword [ebp - 0x34c], 0x4789d8f7
mov byte [ebp - 0x348], 0xc3
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x388], 0
sub edi, eax
je 0x402253
push edi
lea ecx, [ebp - 0x390]
call fcn.00404210
mov esi, dword [ebp - 0x390]
lea eax, [ebp - 0x34c]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x384], 0
mov byte [ebp - 0x380], 0
lea edi, [ebp - 0x48c]
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x37c]
mov dword [ebp - 0x34], 0
sub ecx, edi
mov dword [ebp - 0x30], 0
mov eax, 0x78787879
mov dword [ebp - 0x2c], 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402364
cmp eax, 0x3c3c3c3
ja 0x402a9b
mov esi, eax
shl esi, 4
add esi, eax
shl esi, 2
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4022f8
cmp esi, 0x1000
jb 0x4022ed
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x402aa0
push eax
call fcn.00404b01
add esp, 4
test eax, eax
je 0x40245f
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4022f8
push esi
call fcn.00404b01
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
add ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movq qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 0x22
cmp edi, eax
je 0x402361
mov ebx, eax
push edi
mov ecx, esi
call fcn.004046b0
add esi, 0x44
add edi, 0x44
mov dword [ebp - 0xb4], esi
cmp edi, ebx
jne 0x402343
mov ebx, dword [ebp - 0x30c]
mov dword [ebp - 0x30], esi
push fcn.00402d10
push 4
push 0x44
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x24
push eax
call fcn.00404b31
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x490]
cmp ecx, 0xf
jbe 0x4023bb
mov edx, dword [ebp - 0x4a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40245f
push ecx
push edx
call fcn.00404c46
add esp, 8
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x4a8]
cmp ecx, 0xf
jbe 0x4023f5
mov edx, dword [ebp - 0x4bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40245f
push ecx
push edx
call fcn.00404c46
add esp, 8
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x4c0]
cmp ecx, 0xf
jbe 0x40242f
mov edx, dword [ebp - 0x4d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402425
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40245f
push ecx
push edx
call fcn.00404c46
add esp, 8
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x310]
cmp ecx, 0xf
jbe 0x40246f
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402465
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402465
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404c46
add esp, 8
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30c], eax
cmp esi, eax
je 0x4025b8
lea edx, [ebp - 0x4c]
mov ecx, ebx
call fcn.00401720
mov dword [ebp - 0x32c], eax
test eax, eax
je 0x4027a5
mov eax, dword [esi + 0x14]
mov edi, esi
cmp eax, 7
jbe 0x4024a7
mov edi, dword [esi]
cmp dword [esi + 0x10], 0xd
jne 0x4024e4
mov ecx, str.Buff_Cooldown
mov edx, 0xd
sub edi, ecx
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x4024e1
add ecx, 2
sub edx, 1
jne 0x4024c0
mov eax, dword [ebp - 0x32c]
add eax, 0x19cbe5
jmp 0x40259c
mov eax, dword [esi + 0x14]
mov edi, esi
cmp eax, 7
jbe 0x4024ed
mov edi, dword [esi]
cmp dword [esi + 0x10], 3
jne 0x40251e
mov ecx, 0x4066e0
mov edx, 3
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x40251e
add ecx, 2
sub edx, 1
jne 0x402500
mov eax, dword [ebp - 0x32c]
add eax, 0xa7763a
jmp 0x40259c
cmp dword [esi + 0x14], 7
mov edi, esi
jbe 0x402528
mov edi, dword [esi]
cmp dword [esi + 0x10], 0xf
jne 0x40255e
mov ecx, str.Potion_Cooldown
mov edx, 0xf
sub edi, ecx
nop word [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x40255e
add ecx, 2
sub edx, 1
jne 0x402540
mov eax, dword [ebp - 0x32c]
add eax, 0xbe20c3
jmp 0x40259c
cmp dword [esi + 0x14], 7
mov edi, esi
jbe 0x402568
mov edi, dword [esi]
cmp dword [esi + 0x10], 0xc
jne 0x40259f
mov ecx, str.Invisibility
mov edx, 0xc
sub edi, ecx
nop word [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x40259f
add ecx, 2
sub edx, 1
jne 0x402580
mov eax, dword [ebp - 0x32c]
add eax, 0xc1240a
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], 0
je 0x402707
add esi, 0x44
cmp esi, dword [ebp - 0x30c]
jne 0x402483
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x40262a
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x402623
cmp dword [ebp - 0x31c], ebx
jne 0x402611
push dword [ebp - 0x320]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x402611
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x328]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4025e5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor bl, bl
mov byte [ebp - 0x30c], bl
mov byte [ebp - 0x32c], bl
mov byte [ebp - 0x20], bl
push 0xbd
call edi
test ax, ax
jns 0x4029cb
test bl, bl
jne 0x4029cb
cmp byte [ebp - 0x32c], bl
lea esi, [ebp - 0x1c]
mov edi, dword [ebp - 0x368]
sete dl
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x32c], dl
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 2
nop word [eax + eax]
mov ecx, dword [esi]
lea ebx, [ebp - 0xd8]
mov eax, dword [ebp - 0x34]
shl ecx, 4
add ecx, dword [esi]
shl ecx, 2
push ebx
mov byte [ecx + eax + 0x40], dl
mov eax, 0x30
mov edx, dword [ebp - 0x34]
add edx, ecx
mov ecx, 0x24
cmp byte [edx + 0x40], 0
cmove eax, ecx
mov ecx, dword [eax + edx]
mov eax, dword [eax + edx + 4]
sub eax, ecx
push eax
push ecx
push dword [edx + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dl, byte [ebp - 0x32c]
lea eax, [ebp - 0x10]
add esi, 4
cmp esi, eax
jne 0x402690
mov esi, dword [ebp - 0x32c]
lea ecx, [ebp - 0x37c]
push 1
push dword [ebp - 0x20]
push esi
call fcn.00402ab0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov bl, 1
jmp 0x4029dd
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Pattern_for
call fcn.00403ce0
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x402721
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004042b0
add esp, 4
mov edx, str._not_found._n
mov ecx, eax
call fcn.00403ce0
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call fcn.00403900
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x401d63
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
jmp 0x4019cb
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Failed_to_get_base_address_of
call fcn.00403ce0
cmp dword [ebp - 0x38], 7
lea edx, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmova edx, dword [ebp - 0x4c]
mov ecx, eax
call fcn.004042b0
add esp, 4
mov edx, 0x40639c
mov ecx, eax
call fcn.00403ce0
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call fcn.00403900
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x402827
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40281d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp ecx, 7
jbe 0x402875
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40286b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 7
jbe 0x4028c3
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4028b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp ecx, 7
jbe 0x402914
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40290a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
cmp ecx, 7
jbe 0x40296a
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402960
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029c5
push ecx
push edx
call fcn.00404c46
add esp, 8
mov ecx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
cmp ecx, 7
jbe 0x401b4b
mov edx, dword [ebp - 0xd4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b41
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0xbd
call edi
xor ecx, ecx
movzx ebx, bl
test ax, ax
cmovns ebx, ecx
push 0x30
call edi
test ax, ax
jns 0x402a5c
cmp byte [ebp - 0x30c], 0
jne 0x402a5c
cmp byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x34]
sete cl
mov byte [ebp - 0x20], cl
mov byte [eax + 0x10c], cl
mov edx, dword [ebp - 0x34]
cmp byte [edx + 0x10c], 0
lea eax, [edx + 0xfc]
jne 0x402a1a
lea eax, [edx + 0xf0]
mov ecx, dword [eax]
lea esi, [ebp - 0xdc]
mov eax, dword [eax + 4]
push esi
sub eax, ecx
push eax
push ecx
push dword [edx + 0x108]
push dword [ebp - 0x368]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [ebp - 0x32c]
lea ecx, [ebp - 0x37c]
push 1
push dword [ebp - 0x20]
push esi
call fcn.00402ab0
mov byte [ebp - 0x30c], 1
jmp 0x402a77
push 0x30
call edi
mov ecx, dword [ebp - 0x30c]
xor edx, edx
test ax, ax
movzx ecx, cl
cmovns ecx, edx
mov dword [ebp - 0x30c], ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x64
mov dword [ebp - 0xb0], 0
call fcn.00403fb0
jmp 0x402641
call fcn.004042a0
call fcn.004010d0
int3