Function at 0x10004030
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026e96
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x100382a4]
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
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0
push 2
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x100040c5
push 0x10002080
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateToolhelp32Snapshot__of_processes__failed_with_error
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10001400
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x255]
mov ecx, esi
push eax
push ebx
call fcn.10001320
mov eax, esi
jmp 0x100043ff
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10004120
push 0x10002080
push str.Failed_getting_first_process
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10001400
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x255]
mov ecx, esi
push eax
push ebx
call fcn.10001320
mov eax, esi
jmp 0x100043ff
mov eax, dword [ebx]
mov edx, eax
mov esi, dword [ebp - 0x24c]
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x10004150
cmp dword [ecx + 0x10], esi
jae 0x1000413d
mov ecx, dword [ecx + 8]
jmp 0x10004141
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10004133
cmp edx, eax
je 0x10004150
cmp esi, dword [edx + 0x10]
jae 0x10004152
mov edx, eax
cmp edx, eax
jne 0x100043c8
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x100043c8
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100041b0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.10003910
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], 0
call fcn.100021c0
push dword [ebp - 0x260]
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 1
push eax
push 0
lea eax, [ebp - 0x264]
mov ecx, ebx
push eax
call fcn.10001ba0
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10004250
mov ecx, dword [ebp - 0x27c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004246
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000441b
push edx
push ecx
call fcn.100256fb
add esp, 8
push 0
push str.cheat
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push 0x1002c538
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push str.hack
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push str.olly
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push str.PEiD
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push str.debugger
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push str.Scylla
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push 0x1002c578
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push str.Fiddler
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push 0x1002c584
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push 0x1002c554
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push 0x1002c588
lea ecx, [ebp - 0x12c]
call fcn.10004950
push 0
cmp eax, 0xffffffff
jne 0x10004423
push 0x1002c584
lea ecx, [ebp - 0x12c]
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004421
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0xffffffff
call fcn.10002570
jmp 0x100043ce
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10004120
push edi
call esi
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x255]
push eax
push ebx
call fcn.10001320
mov eax, dword [ebp - 0x25c]
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.100255b7
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3