Function at 0x44b8a2
Capabilities:
Compare security identifiers
Create process on windows
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x540
mov esi, esp
mov dword [esi + 0x528], ebp
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [esi + 0x530]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x450560
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, ebx
call fcn.0044036a
test al, al
je 0x44ba4b
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
or cl, byte [eax + 0xc]
mov dword [esi + 0xc], ebx
jne 0x44b941
lea edi, [esi + 0xd8]
mov ecx, edi
push eax
call fcn.0043fbe4
lea eax, [ebx + 0x30]
mov dword [esi + 0x538], 0
mov ecx, edi
push eax
call fcn.00440706
mov eax, dword [esi + 0xf0]
cmp eax, 0x10
jb 0x44b93e
inc eax
push eax
push dword [esi + 0xdc]
call fcn.00404bbf
add esp, 8
mov ebx, dword [esi + 0xc]
mov eax, dword [ebp + 0x10]
mov cl, byte [eax]
or cl, byte [eax + 0xc]
jne 0x44b996
mov dword [esi + 0x538], 0xffffffff
lea edi, [esi + 0xd8]
mov ecx, edi
push eax
call fcn.0043fbe4
lea eax, [ebx + 0x50]
mov dword [esi + 0x538], 1
mov ecx, edi
push eax
call fcn.00440706
mov eax, dword [esi + 0xf0]
cmp eax, 0x10
jb 0x44b993
inc eax
push eax
push dword [esi + 0xdc]
call fcn.00404bbf
add esp, 8
mov ebx, dword [esi + 0xc]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov al, byte [ecx]
or al, byte [ecx + 8]
jne 0x44b9b8
mov dword [esi + 0x538], 0xffffffff
call fcn.00440aba
mov dword [ebx + 0x398], eax
mov ebx, dword [ebp + 0x1c]
mov al, byte [edi]
or al, byte [edi + 8]
jne 0x44b9dc
mov dword [esi + 0x538], 0xffffffff
mov ecx, edi
call fcn.00440aba
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x3a4], eax
mov edi, dword [ebp + 0x20]
mov al, byte [ebx]
or al, byte [ebx + 8]
jne 0x44ba00
mov dword [esi + 0x538], 0xffffffff
mov ecx, ebx
call fcn.00440aba
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x39c], eax
mov al, byte [edi]
or al, byte [edi + 8]
mov ebx, dword [esi + 0xc]
jne 0x44ba21
mov dword [esi + 0x538], 0xffffffff
mov ecx, edi
call fcn.00440aba
mov dword [ebx + 0x3a0], eax
mov eax, dword [ebx + 0x3a4]
test eax, eax
je 0x44ba52
mov ecx, dword [eax]
cmp ecx, 0x48
mov edx, 0x48
cmovb edx, ecx
lea ecx, [esi + 0x90]
push edx
push eax
push ecx
call fcn.006fb4d0
add esp, 0xc
jmp 0x44ba85
mov dword [edi], ebx
jmp 0x44c5f9
xorps xmm0, xmm0
movups xmmword [esi + 0xc4], xmm0
movups xmmword [esi + 0xb4], xmm0
movups xmmword [esi + 0xa4], xmm0
movups xmmword [esi + 0x94], xmm0
mov dword [esi + 0xd4], 0
mov dword [esi + 0x90], 0x44
mov dword [esi + 0x538], 0xffffffff
xorps xmm0, xmm0
movsd qword [esi + 0x80], xmm0
xorps xmm0, xmm0
movaps xmmword [esi + 0x70], xmm0
mov eax, dword [ebx + 0x18]
cmp dword [ebx + 0x1c], 0x10
jb 0x44baaf
mov edx, dword [ebx + 8]
jmp 0x44bab2
lea edx, [ebx + 8]
lea ecx, [esi + 0x70]
mov dword [esi + 0x4c], ecx
push eax
push edx
call fcn.00410ad6
mov al, byte [ebx + 0x30]
or al, byte [ebx + 0x4d]
jne 0x44bb00
mov dword [esi + 0x538], 3
lea ecx, [esi + 0x70]
push 1
push 0x79a5d7
call fcn.00410984
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0x30]
call fcn.0044c79a
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x44baf6
mov eax, dword [eax]
lea ecx, [esi + 0x70]
push edx
push eax
call fcn.00410984
mov dword [esi + 0x538], 3
lea ecx, [esi + 0xd8]
call fcn.0044c804
mov dword [esi + 0x538], 4
lea ecx, [esi + 0x3b8]
call fcn.0044c804
mov dword [esi + 0x538], 5
lea ecx, [esi + 0x248]
call fcn.0044c804
or byte [esi + 0xbd], 1
lea edi, [esi + 0x198]
mov ebx, dword [esi + 0xc]
lea ecx, [ebx + 0x168]
push edi
call fcn.0044d392
lea ecx, [ebx + 0x218]
lea eax, [esi + 0x3b8]
push eax
call fcn.0044cf78
lea ecx, [ebx + 0x2d8]
lea eax, [esi + 0x248]
push eax
call fcn.0044cf78
mov eax, dword [edi - 0x58]
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0x4d4]
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0x364]
mov dword [esi + 0xd0], eax
mov eax, dword [ebx + 0x1c4]
mov dword [esi + 0x538], 6
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
mov eax, dword [esi + 0xc]
push dword [eax + 0x280]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
mov eax, dword [esi + 0xc]
push dword [eax + 0x340]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x50]
mov dword [esi + 0x48], 0
or al, byte [ecx + 0x6d]
jne 0x44bc01
add ecx, 0x50
call fcn.0043f9fa
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0xc]
cmp dword [esi + 0x84], 0x10
jb 0x44bc10
mov eax, dword [esi + 0x70]
mov dword [esi + 0x4c], eax
mov eax, dword [ecx + 0x3a0]
mov dword [esi + 0x44], eax
mov eax, dword [ecx + 0x398]
mov dword [esi + 0x40], eax
mov eax, dword [ecx + 0x39c]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x5c], eax
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esi + 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [esi + 0xc]
lea edx, [ecx + 0x20]
test eax, eax
je 0x44bc96
mov eax, dword [esi + 0x5c]
cmp dword [esi + 0x6c], eax
jne 0x44bc96
lea eax, [esi + 0x90]
xor ecx, ecx
push edx
push eax
push dword [esi + 0x48]
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [esi + 0x58]
push ecx
push ecx
push dword [esi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44c548
mov ecx, dword [esi + 0xc]
call fcn.004404f8
jmp 0x44c5b8
mov dword [esi + 0x64], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esi + 0x14]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44c1d2
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x80
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44bd73
mov ecx, 0x80
lea edx, [esi + 8]
push edx
push ecx
mov dword [esi + 4], eax
push eax
push 1
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x44bd27
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44bd4d
mov eax, dword [esi + 8]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x44bd61
mov ecx, dword [esi + 8]
jmp 0x44bce2
push section..data
mov eax, dword [esi + 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44bd79
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44bd73
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0
cmp dword [esi], 0
je 0x44bde9
mov dword [esi + 0x34], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
je 0x44c0c9
xor ecx, ecx
mov dl, 1
test dl, 1
je 0x44be85
mov eax, dword [esi + 4]
lea eax, [eax + ecx*8]
push eax
push str.SeTcbPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
xor edx, edx
xor ecx, ecx
inc ecx
test eax, eax
jne 0x44bdbe
jmp 0x44bfd9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [esi + 0x14]
push ecx
push 0
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x44c1d2
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x80
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44c1a6
mov ecx, 0x80
lea edx, [esi + 8]
push edx
push ecx
mov dword [esi + 4], eax
push eax
push 1
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x44c15a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44c180
mov eax, dword [esi + 8]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x44c194
mov ecx, dword [esi + 8]
jmp 0x44be34
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x10], eax
cmp dword [esi + 0x10], 0
je 0x44bf11
cmp dword [esi + 8], 0
je 0x44bf1c
mov edx, dword [esi + 0x10]
mov dword [edx], 1
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
mov dword [edx + 0xc], 2
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
lea edx, [esi + 0x24]
push 2
push ecx
push ecx
mov dword [esi + 0x20], edx
push edx
push dword [esi]
push dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
mov ecx, dword [esi + 0x20]
cmove ecx, eax
mov dword [esi + 0x20], ecx
mov eax, dword [esi + 8]
jmp 0x44bf70
mov dword [esi], 0
jmp 0x44bfd7
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esi + 8]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44c44b
mov edx, dword [esi + 0x10]
mov dword [edx], 1
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
mov dword [edx + 0xc], 2
lea ecx, [esi + 0x24]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x10
mov eax, dword [esi + 8]
mov dword [esi + 0x20], ecx
mov dword [ecx], eax
lea ecx, [esi + 0x38]
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push 0x10
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [esi], eax
cmp dword [esi], 0
je 0x44bfa0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x44bf9a
mov eax, dword [esi + 0x10]
cmp dword [eax], 0
je 0x44bfa7
test ecx, ecx
jne 0x44bfd7
jmp 0x44bfc5
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x44bfc5
mov eax, dword [ecx]
test eax, eax
je 0x44bfbd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x20]
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esi]
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esi], 0
je 0x44c0c9
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x5c]
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x44c548
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
test edx, edx
je 0x44c045
xor eax, eax
push eax
push eax
push dword [esi + 0x2c]
mov dword [esi + 4], edx
push edx
push eax
mov dword [esi], ecx
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x44c057
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x14]
sub esp, 0x18
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], ecx
movaps xmm0, xmmword [0x726380]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x44c0e0
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x24]
push str.SeIncreaseQuotaPrivilege
push str.SeAssignPrimaryTokenPrivilege
push 2
push dword [esi + 0x1c]
push eax
push 1
call fcn.0044d428
add esp, 0x18
test eax, eax
je 0x44c0ff
cmp byte [esi + 0x18], 0
je 0x44c0ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x44c0ec
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44c548
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
mov edi, dword [esi + 0x44]
test edi, edi
je 0x44c462
mov edx, dword [esi + 0x40]
jmp 0x44c483
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
test edx, edx
je 0x44c13a
xor eax, eax
push eax
push eax
push dword [esi + 0x2c]
mov dword [esi + 4], edx
push edx
push eax
mov dword [esi], ecx
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x44c14c
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
push section..data
mov eax, dword [esi + 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44c1ac
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44c1a6
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0
cmp dword [esi], 0
je 0x44c1d2
mov al, 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], 0
jmp 0x44bd9c
xor eax, eax
mov dword [esi + 0x68], eax
push eax
sub esp, 0x28
mov ecx, esp
mov dword [esi + 0x60], esp
lea edx, [ecx + 4]
mov dword [ecx + 4], vtable.std::_Func_impl_no_alloc_int____cdecl___unsigned_long_int__void____int__unsigned_long_int__void__.0
mov dword [ecx + 8], 0x44d635
mov dword [ecx + 0x28], edx
mov dword [ecx], 2
sub esp, 0x30
mov edi, esp
lea ebx, [edi + 4]
mov dword [edi + 4], vtable.std::_Func_impl_no_alloc_class__void____cdecl_LookupToken2_unsigned_long_int__class_std::function_int____cdecl___unsigned_long_int__void____::_1::_lambda_1___int__unsigned_long_int__void___void__.0
mov dword [esi + 0x54], edx
mov dword [edi + 8], edx
mov dword [esi + 0x30], ebx
mov dword [edi + 0x28], ebx
mov dword [esi + 0x3c], ecx
mov ecx, dword [ecx]
mov dword [edi], ecx
mov dword [esi + 0x18], edi
mov dword [edi + 0x2c], eax
mov dword [esi + 8], eax
mov dword [esi + 0x538], 7
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
mov dword [esi + 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x44c35e
lea eax, [esi + 8]
push eax
push 0x4000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x44c2fc
mov eax, dword [esi + 8]
shr eax, 2
mov dword [esi + 0x20], eax
xor ecx, ecx
cmp ecx, dword [esi + 0x20]
mov eax, dword [esi]
jae 0x44c30f
mov dword [esi + 4], ecx
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x10], eax
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
test eax, eax
je 0x44c2f3
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
or eax, 0xa
lea ecx, [esi + 0x38]
push ecx
push eax
push edx
mov dword [esi + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esi + 0x34]
test eax, eax
je 0x44c2f3
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x28], 0
je 0x44c334
mov ecx, dword [esi + 0x30]
push dword [eax + 0x2c]
push dword [esi + 0x38]
push dword [esi + 0x10]
call fcn.0044d6e6
test eax, eax
jne 0x44c347
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
inc ecx
jmp 0x44c278
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44c35e
push 0x490
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esi + 4], 0
push dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44c35e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44c358
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0x38]
mov dword [esi + 4], eax
mov edi, dword [esi + 0x18]
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x44c37d
xor eax, eax
cmp ecx, dword [esi + 0x30]
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov dword [edi + 0x28], 0
mov esp, dword [esi + 0x60]
mov edi, dword [esi + 0x3c]
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x44c39f
xor eax, eax
cmp ecx, dword [esi + 0x54]
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov dword [edi + 0x28], 0
mov ecx, dword [esi + 4]
mov dword [esi + 0x14], ecx
test ecx, ecx
je 0x44c548
mov dword [esi + 0x538], 6
sub esp, 0x18
lea eax, [esi + 0x1c]
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x726370]
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x44c427
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov ecx, dword [esi + 0x1c]
test eax, eax
je 0x44c433
lea eax, [esi + 0x68]
push 4
push eax
push 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov ecx, dword [esi + 0x1c]
test eax, eax
je 0x44c43f
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov dword [esi + 0x34], eax
mov al, 1
mov dword [esi + 0x18], eax
jmp 0x44bd9c
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c548
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44bfd7
lea eax, [esi + 0x50]
push 0
push dword [esi + 0x1c]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
mov edx, dword [esi + 0x40]
mov ecx, edx
or ecx, 0x400
test eax, eax
cmovne edx, ecx
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x50]
test eax, eax
cmovne edi, eax
lea eax, [esi + 0x90]
xor ecx, ecx
push dword [esi + 0x64]
push eax
push dword [esi + 0x48]
push edi
push edx
push dword [esi + 0x58]
push ecx
push ecx
push dword [esi + 0x4c]
push ecx
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [esi + 4], eax
mov dword [esi], 0x65b
cmp dword [esi + 4], 0
jne 0x44c4c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x44c4d2
push eax
call sub.USERENV.dll_DestroyEnvironmentBlock
cmp byte [esi + 0x34], 0
je 0x44c4de
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
test edx, edx
je 0x44c51b
xor eax, eax
push eax
push eax
push dword [esi + 0x2c]
mov dword [esi + 0x10], edx
push edx
push eax
mov dword [esi + 0x18], ecx
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x44c52d
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 4], 0
jne 0x44bc89
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x164], 0
je 0x44c5b8
lea edi, [esi + 0x24]
mov ecx, edi
push str.Failed_to_CreateUserAccountProcessT
call fcn.0040527c
mov dword [edi], vtable.std::runtime_error.0
mov dword [esi + 0x538], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], eax
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x164]
test ecx, ecx
je 0x44c611
mov eax, dword [ecx]
lea edx, [esi + 8]
lea ebx, [esi + 0x24]
push ebx
push edx
push edi
call dword [eax + 8]
lea eax, [esi + 0x28]
mov dword [eax - 4], 0x7264e8
mov dword [esi + 0x538], 2
push eax
call fcn.006f99fc
add esp, 4
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [edi], eax
lea ecx, [esi + 0x248]
call fcn.0044c948
lea ecx, [esi + 0x3b8]
call fcn.0044c948
lea ecx, [esi + 0xd8]
call fcn.0044c948
mov eax, dword [esi + 0x84]
cmp eax, 0x10
jb 0x44c5f9
inc eax
push eax
push dword [esi + 0x70]
call fcn.00404bbf
add esp, 8
mov eax, dword [esi + 0x530]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
call fcn.0053f4cc
push ebp
sub esp, 0x2c
lea esi, [ebp - 0x53c]
mov ebp, dword [esi + 0x528]
mov eax, dword [esi + 0xf0]
cmp eax, 0x10
jb 0x44c641
inc eax
push eax
push dword [esi + 0xdc]
call fcn.00404bbf
add esp, 8
add esp, 0x2c
pop ebp
ret