Function at 0x443200
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3742
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x507254]
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 eax, ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x44323f
call fcn.00443910
mov dword [ebp - 0x14], eax
mov edx, eax
mov ecx, str.winlogon.exe
call fcn.00443050
mov edi, eax
test edi, edi
jne 0x4432b6
push str.GetUserToken
lea edx, [eax + 4]
lea ecx, [ebp - 0xdc]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], edi
mov al, byte [esi + 0x48]
test al, al
je 0x4432a4
mov edx, str.GetProcessPid_for
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x4432a4
mov edx, str.system
mov ecx, esi
call fcn.0040cb90
cmp byte [esi + 0x48], 0
je 0x4432a4
mov edx, 0x4f07c0
mov ecx, esi
call fcn.0040cb90
lea ecx, [ebp - 0xdc]
call fcn.00408f30
xor eax, eax
jmp 0x44352e
push edi
push 0
push 0x2000000
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
jne 0x443352
push str.GetUserToken
mov edx, 4
lea ecx, [ebp - 0xdc]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x443333
mov edx, str.OpenProcess_pid
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x443333
push edi
mov ecx, esi
call fcn.0040b230
cmp byte [esi + 0x48], 0
je 0x443333
mov edx, str._failed_err_
mov ecx, esi
call fcn.0040cb90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x443347
push eax
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0xdc]
jmp 0x44350f
lea eax, [ebp - 0x34]
push eax
push 0x201eb
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x443396
push str.GetUserToken
lea edx, [eax + 4]
lea ecx, [ebp - 0xdc]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 2
mov al, byte [esi + 0x48]
test al, al
je 0x443333
mov edx, str.OpenProcessToken_pid
jmp 0x44330b
lea eax, [ebp - 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4433de
push str.GetUserToken
lea edx, [eax + 4]
lea ecx, [ebp - 0xdc]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 3
cmp byte [esi + 0x48], 0
je 0x443333
mov edx, str.LookupPrivilegeValue_failed_err_
jmp 0x44332c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 2
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x443447
push str.GetUserToken
lea edx, [eax + 4]
lea ecx, [ebp - 0xdc]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 6
cmp byte [esi + 0x48], 0
je 0x443333
mov edx, str.DuplicateTokenEx_failed_err_
jmp 0x44332c
push 4
lea eax, [ebp - 0x14]
push eax
push 0xc
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x44349d
push dword [ebp - 0x30]
call esi
push str.GetUserToken
mov edx, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0xdc]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 7
cmp byte [esi + 0x48], 0
je 0x443333
mov edx, str.SetTokenInformation_failed_err_
jmp 0x44332c
push 0
push 0
push 0x10
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x44351a
push dword [ebp - 0x30]
call esi
push str.GetUserToken
mov edx, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x184]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 8
cmp byte [esi + 0x48], 0
je 0x4434f5
mov edx, str.AdjustTokenPrivileges_failed_err_
mov ecx, esi
call fcn.0040cb90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x443509
push eax
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0x184]
call fcn.00408f30
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x443524
push eax
call esi
test ebx, ebx
je 0x44352b
push ebx
call esi
mov eax, dword [ebp - 0x30]
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.004a6256
mov esp, ebp
pop ebp
ret