Function at 0x428640
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5c94
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x52610c]
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 dword [ebp - 0x2b0], edx
mov dword [ebp - 0x2ac], ecx
xor esi, esi
mov dword [ebp - 0x2a8], 0
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2a0], ebx
cmp ebx, 0xffffffff
je 0x428b38
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x428b38
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x428b38
mov dword [ebp - 0x2b4], fcn.004c1e4d
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x278], ax
je 0x428725
lea eax, [ebp - 0x278]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428716
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403e20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
lea ebx, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
cmp edi, 8
mov eax, dword [ebp - 0x30]
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x40]
cmovae ecx, esi
push ebx
call fcn.00403820
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
add esp, 8
mov ecx, dword [ebp - 0x2ac]
cmp esi, 8
cmovae eax, edi
push dword [ebp - 0x30]
push 0
push eax
call fcn.00410910
cmp eax, 0xffffffff
jne 0x4287a8
mov dword [ebp - 4], eax
cmp esi, 8
jb 0x428a5e
lea eax, [esi + 1]
push eax
push edi
jmp 0x428a56
mov ebx, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov dword [ebx + 0x18], eax
xor eax, eax
push eax
push 0x5026d8
mov word [ebp - 0x28], ax
call fcn.00403e20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
mov ecx, dword [ebx + 0x18]
call fcn.00429300
test eax, eax
jne 0x4289b9
mov dword [ebp - 0x368], 0x5071b4
mov dword [ebp - 0x358], 0x5071a4
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 2
or dword [ebp - 0x2a8], 1
lea ecx, [ebp - 0x368]
push eax
call fcn.00405ba0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x368]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x368]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x36c], eax
lea eax, [ebp - 0x350]
mov ecx, eax
mov dword [ebp - 0x2a4], eax
call fcn.00405e50
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0041fba0
add esp, 4
mov esi, eax
mov edx, str.FullProcessPath_Failed:
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x358]
call fcn.004060e0
mov edx, esi
mov ecx, eax
call fcn.00406390
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4288d6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x368]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 0x10
jb 0x4288f3
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x428927
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x2b8], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404270
mov edi, eax
mov byte [ebp - 4], 7
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 4
jg 0x42897a
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x42894d
mov eax, dword [edx]
jmp 0x42894f
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x42895b
xor ecx, ecx
jmp 0x428969
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428960
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, edi
call fcn.00404920
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x42898f
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
lea ecx, [ebp - 0x300]
call fcn.00404c40
lea eax, [ebp - 0x300]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d017
add esp, 4
jmp 0x428a19
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp edi, 8
mov dword [ebp - 0x2a4], fcn.004c1e4d
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, esi
push ebx
call fcn.00403820
mov ebx, dword [ebp - 0x2ac]
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x428a04
mov eax, dword [ebx]
jmp 0x428a06
mov eax, ebx
push dword [ebx + 0x10]
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00410910
cmp eax, 0xffffffff
jne 0x428a8b
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x428a2e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x428a5e
inc eax
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00403f90
mov ebx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x29c]
push eax
push ebx
mov dword [ebp - 0x29c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4286f0
xor esi, esi
jmp 0x428b38
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0041fe80
mov esi, eax
mov ebx, dword [ebp - 0x2b0]
cmp ebx, esi
je 0x428ada
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x428ab5
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.004099a0
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x428acd
mov eax, dword [ebx]
jmp 0x428acf
mov eax, ebx
push esi
mov ecx, ebx
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x428aef
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004099a0
mov eax, dword [ebp - 0x14]
mov esi, 1
cmp eax, 8
jb 0x428b09
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x428b32
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403f90
mov ebx, dword [ebp - 0x2a0]
test ebx, ebx
je 0x428b48
cmp ebx, 0xffffffff
je 0x428b48
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004a0525
mov esp, ebp
pop ebp
ret