Function at 0x454270
Capabilities:
Acquire debug privileges
Create process on windows
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6081
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
push 0x5e77d4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.004496e0
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
cmp ebx, 0xffffffff
je 0x454845
push 1
push 0x5e77d8
lea ecx, [ebp - 0x34]
call fcn.004496e0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x45474d
mov ebx, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x454330
lea eax, [ebp - 0x38c]
push 0x5e77dc
push eax
call fcn.0059cf64
add esp, 8
test eax, eax
jne 0x454739
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x3a8]
call ebx
test eax, eax
je 0x454739
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jne 0x454739
mov esi, dword [ebp - 0x3a8]
test esi, esi
je 0x45474d
push 1
push 0x5e77f8
lea ecx, [ebp - 0x34]
call fcn.004496e0
push esi
push 0
push 0x2000000
mov ebx, 0x30
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xd0], 0x44
mov dword [ebp - 0xc8], 0x5e77fc
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x44], esi
cmp esi, 0xffffffff
je 0x45474d
push 1
push 0x5e781c
lea ecx, [ebp - 0x34]
call fcn.004496e0
lea eax, [ebp - 0x38]
push eax
push 0x201eb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45472c
push 0x5e7820
lea ecx, [ebp - 0x34]
call fcn.00446d50
lea eax, [ebp - 0x74]
push eax
push 0x5e7824
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x45471a
push str.6789
lea ecx, [ebp - 0x34]
call fcn.00446d50
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x38]
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x18], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x45471a
push 0x5e784c
lea ecx, [ebp - 0x34]
call fcn.00446d50
push 4
push dword [ebp - 0x1c]
push 0xc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 0
push 0
push 0x10
lea eax, [ebp - 0x84]
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x454703
push 0x5e7850
lea ecx, [ebp - 0x34]
call fcn.00446d50
push 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x45458c
push 0x5e7854
lea ecx, [ebp - 0x34]
call fcn.00446d50
mov eax, dword [ebp - 0x14]
mov ebx, 0x430
jmp 0x454591
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45459b
mov ecx, dword [edi]
lea edx, [ebp - 0x6c]
push edx
lea edx, [ebp - 0xd0]
push edx
push 0
push eax
push ebx
push 0
push 0
push 0
push ecx
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4546c8
push ecx
lea ecx, [ebp - 0x180]
call fcn.00446140
mov edx, str.CreateProcessAsUser_error_
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call fcn.0044d180
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
push eax
mov ecx, esi
call fcn.004462d0
mov edx, 0x5e7858
mov ecx, eax
call fcn.0044d180
mov edx, edi
mov ecx, eax
call fcn.0044d410
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
jne 0x454628
mov edx, str.__hProcess__INVALID_HANDLE_VALUE
lea ecx, [ebp - 0x170]
call fcn.00457840
jmp 0x454664
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [ebp - 0x170]
test eax, eax
je 0x45464e
mov edx, str.__GetExitCodeProcess:
call fcn.00457840
push dword [ebp - 0x1c]
mov ecx, eax
jmp 0x45465f
mov edx, str.__GetExitCodeProcess_error:
call fcn.00457840
mov esi, eax
call ebx
push eax
mov ecx, esi
call fcn.004462d0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x168]
call fcn.004492b0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00446db0
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x4546b9
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4546af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454993
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 1
call fcn.0043b280
mov eax, dword [ebp - 0x6c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x4546d9
push eax
call esi
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
je 0x4546e4
push eax
call esi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x454709
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x44]
call esi
jmp 0x454753
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x44]
call esi
jmp 0x454753
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
jmp 0x454753
push dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x454753
lea eax, [ebp - 0x3b0]
push eax
push dword [ebp - 0x3c]
call esi
test eax, eax
jne 0x454330
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
call esi
push ecx
lea ecx, [ebp - 0x180]
call fcn.00446140
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x170]
push dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x34]
call fcn.0044fe30
add esp, 4
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x168]
push eax
call fcn.004492b0
push 0x11a
mov edx, str.Service.cpp
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.004d1c90
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 8
jb 0x4547e6
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4547dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454998
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x180]
call fcn.0043b280
cmp dword [ebp - 0x40], 1
mov ecx, dword [ebp - 0x20]
sete bl
cmp ecx, 8
jb 0x454832
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454828
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4549a2
push ecx
push edx
call fcn.00583877
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
lea ecx, [ebp - 0x180]
call fcn.00446140
mov byte [ebp - 4], 5
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x170]
push dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x34]
call fcn.0044fe30
add esp, 4
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x168]
push eax
call fcn.004492b0
push 0x11f
mov edx, str.Service.cpp
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.004d1c90
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 8
jb 0x4548d3
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4548c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45499d
push ecx
push edx
call fcn.00583877
add esp, 8
lea ecx, [ebp - 0x180]
call fcn.0043b280
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x454920
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454916
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4549a2
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
int3