Function at 0x4119d0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
mov eax, dword [0x676300]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
call fcn.00411670
cmp eax, 0xffffffff
jne 0x411a1b
push str.initData_err_r_n
call fcn.00539d83
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x411a04
lea eax, [esp + 0x2a8]
push eax
xor esi, esi
push ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2b0], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x411acd
lea eax, [esp + 0x2cc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411a60
sub eax, edx
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00538174
add esp, 4
mov edi, eax
push esi
lea eax, [esp + 0x2d0]
push eax
push edi
call fcn.00540ac1
add esp, 0xc
push edi
push str.Steam.exe
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x411ac4
lea ecx, [esp + 0x2a8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x411a50
mov esi, dword [esp + 0x10]
jmp 0x411acd
mov edx, dword [esp + 0x2b0]
mov esi, edx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x411a04
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, 0xffffffff
je 0x411a04
push esi
xor ebx, ebx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x411a04
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0x30], 0x224
call dword [sym.imp.KERNEL32.dll_Module32First]
push 0x64
mov esi, eax
call fcn.00538174
add esp, 4
push 0x64
push ebx
push eax
mov dword [esp + 0x24], eax
call fcn.00534b40
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x268], 0xf
mov dword [esp + 0x264], ebx
mov byte [esp + 0x254], bl
mov dword [esp + 0x1c], ebx
cmp esi, ebx
je 0x411d79
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411b70
sub eax, edx
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00538174
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00540ac1
mov eax, dword [0x681748]
add esp, 0xc
mov dword [esp + 0x10], eax
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411bb4
sub eax, esi
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00538174
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x10]
push esi
push eax
push edi
call fcn.00540ac1
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x411c15
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x411b69
jmp 0x411d79
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004113f0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x411c45
cmp dword [esi + 4], 0
jne 0x411c40
mov edx, dword [esi]
push edx
call fcn.00567410
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x411c47
xor esi, esi
push esi
lea ecx, [esp + 0x274]
call fcn.004088f0
lea eax, [esp + 0x28c]
push eax
lea ecx, [esp + 0x274]
call fcn.004147e0
push eax
lea ecx, [esp + 0x258]
call fcn.0040a290
lea ecx, [esp + 0x28c]
call fcn.00451de0
lea ecx, [esp + 0x270]
call fcn.00451de0
mov ecx, dword [0x678974]
mov eax, 0x10
cmp dword [0x678988], eax
jae 0x411ca5
mov ecx, 0x678974
cmp dword [esp + 0x268], eax
mov eax, dword [esp + 0x254]
jae 0x411cc0
lea eax, [esp + 0x254]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411ce0
test dl, dl
je 0x411cdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411ce0
add eax, 2
add ecx, 2
test dl, dl
jne 0x411cc0
xor eax, eax
jmp 0x411ce5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411d0d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x681738]
add ecx, dword [esp + 0x40]
push 0x64
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x411d70
mov eax, dword [esp + 0x40]
push eax
call fcn.00538174
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
mov eax, dword [esp + 0x40]
push edx
push esi
push eax
push ebx
mov dword [esp + 0x30], esi
call edi
cmp eax, 1
jne 0x411d70
mov ecx, dword [esp + 0x40]
push ecx
push esi
call fcn.00411520
cmp eax, 0xffffffff
je 0x411d70
mov edx, dword [0x68173c]
add edx, eax
mov eax, dword [edx + esi]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x64
push edx
sub eax, 0x40
push eax
push ebx
call edi
lea edi, [esp + 0x10]
call fcn.00411480
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x411d95
push eax
call fcn.00535f7c
add esp, 4
lea ecx, [esp + 0x254]
call fcn.00451de0
mov ecx, dword [esp + 0x3d4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534bba
mov esp, ebp
pop ebp
ret