Function at 0x4729c0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c86cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x512a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5181f0]
test eax, eax
jne 0x472d4c
push eax
push 2
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push 0x22c
push 0
push eax
call fcn.004ac230
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, 0x22c
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x472a50
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x22c
push eax
push edi
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x258], ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x472a98
mov dword [ebp - 0x260], 0
jmp 0x472d38
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x472d2d
nop
push dword [ebp - 0x240]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x472ceb
cmp edi, 0xffffffff
je 0x472ceb
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 0
push eax
push 0xe
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x472afa
push edi
jmp 0x472ce9
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 1
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x472ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x472ce0
push dword [ebp - 0x250]
call fcn.004962ea
add esp, 4
mov dword [ebp - 0x25c], eax
test eax, eax
je 0x472ce0
lea ecx, [ebp - 0x250]
push ecx
push dword [ebp - 0x250]
push eax
push 1
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x472b85
push edi
call esi
push dword [ebp - 0x24c]
call esi
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0048f921
add esp, 4
jmp 0x472ceb
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
mov eax, dword [ebp - 0x25c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x472c8a
mov dword [ebp - 0x268], 0xcaad9f8c
mov dword [ebp - 0x264], 0x295cef4d
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x270], 0x78adacbc
mov dword [ebp - 0x26c], 0x96845ba1
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x278], 0xe79cb2df
mov dword [ebp - 0x274], 0x116dc278
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x280], 0x78adacbc
mov dword [ebp - 0x27c], 0x96845ba1
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [ebp - 0x27c]
movaps xmm1, xmmword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
xorps xmm1, xmmword [ebp - 0x2a0]
push eax
push dword [ebp - 0x254]
movaps xmmword [ebp - 0x290], xmm1
call fcn.00496211
add esp, 8
test eax, eax
je 0x472ca5
push edi
call esi
push dword [ebp - 0x24c]
call esi
push dword [ebp - 0x25c]
call fcn.0048f921
add esp, 4
jmp 0x472ceb
lea eax, [ebp - 0x258]
push eax
push 1
push 2
push 0
push 0x2000000
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x25c]
test eax, eax
jne 0x472d09
call fcn.0048f921
add esp, 4
push dword [ebp - 0x24c]
call esi
push edi
jmp 0x472ce9
push edi
call esi
push dword [ebp - 0x24c]
call esi
mov edi, dword [ebp - 0x260]
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x472ab0
jmp 0x472d2d
mov eax, dword [ebp - 0x258]
mov dword [0x5181f0], eax
call fcn.0048f921
add esp, 4
push dword [ebp - 0x24c]
call esi
push edi
call esi
mov edi, dword [ebp - 0x260]
mov eax, dword [0x5181f0]
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x472d46
push edi
call esi
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret