Function at 0x10004430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026edb
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
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
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100030a0
mov dword [ebp - 0x18], eax
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x100044d2
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_____]
mov ebx, dword [ebp - 0x18]
mov esi, 1
jmp 0x100047db
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10004521
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 esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
mov esi, 1
jmp 0x100047db
mov edi, dword [ebp - 0x168]
nop word [eax + eax]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x30], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004550
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10003910
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.100021c0
push edi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 2
push eax
push 0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001a50
mov edx, dword [ebp - 0x170]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100045e3
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100045d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100046e4
push edx
push ecx
call fcn.100256fb
add esp, 8
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000461b
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004611
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100046e4
push edx
push ecx
call fcn.100256fb
add esp, 8
lea eax, [ebp - 0x158]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10004530
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x15c], ebx
mov eax, dword [ebx]
mov dword [ebp - 0x164], eax
cmp eax, ebx
je 0x100047d9
cmp dword [eax + 0x28], 0x10
lea edi, [eax + 0x14]
mov ecx, edi
mov dword [ebp - 0x160], edi
jb 0x10004669
mov ecx, dword [edi]
mov dword [ebp - 0x160], ecx
mov eax, dword [edi + 0x10]
cmp eax, 5
jb 0x10004723
add eax, 0xfffffffc
add eax, ecx
mov dword [ebp - 0x168], eax
sub eax, ecx
push eax
push 0x63
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x10004723
nop word [eax + eax]
mov edx, eax
mov esi, str.cheat
mov ebx, 1
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x100046bd
add edx, 4
mov ebx, 0xfffffffd
add esi, 4
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x100046ea
cmp ebx, 0xfffffffd
je 0x100046e0
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x100046ea
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x100046ea
mov cl, byte [edx + 3]
cmp cl, byte [esi + 3]
jne 0x100046ea
xor ecx, ecx
jmp 0x100046ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1000470e
mov ecx, dword [ebp - 0x168]
inc eax
sub ecx, eax
push ecx
push 0x63
push eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
jne 0x100046a0
jmp 0x1000471d
sub eax, dword [ebp - 0x160]
cmp eax, 0xffffffff
jne 0x10004830
mov ebx, dword [ebp - 0x15c]
push 0
push str.Olly
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
push 0
push 0x1002c534
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
push 0
push 0x1002c538
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
push 0
push 0x1002c53c
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
push 0
push str.reverse
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
push 0
push str.debugger
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
push 0
push 0x1002c554
mov ecx, edi
call fcn.10004950
cmp eax, 0xffffffff
jne 0x10004836
lea ecx, [ebp - 0x164]
call fcn.10002a40
mov eax, dword [ebp - 0x164]
cmp eax, ebx
jne 0x10004650
xor esi, esi
push dword [ebx + 4]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.10003200
mov eax, dword [ebp - 0x18]
push 0x2c
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.100256fb
add esp, 8
mov eax, esi
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
mov ebx, dword [ebp - 0x15c]
mov esi, 1
jmp 0x100047db