Function at 0x10002ebf
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000959d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
push 0x100fc588
lea ecx, [ebp - 0x1c]
call fcn.10008b78
mov byte [ebp - 4], 2
push 2
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
push 0x100f9298
lea ecx, [ebp - 0x10]
call fcn.10008ba8
push 0x100fc58c
lea ecx, [ebp - 0x14]
call fcn.10008b78
mov byte [ebp - 4], 4
push str.SeDebugPrivilege
call fcn.10001803
add esp, 4
push str.SeBackupPrivilege
call fcn.10001803
add esp, 4
push str.SeRestorePrivilege
call fcn.10001803
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x1000320f
mov eax, dword [ebp - 0x10]
push eax
push 0x100f92f0
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 1
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push edx
push 0x100f92fc
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 4
call fcn.10002e1d
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
push 0x100f9308
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 1
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
push edx
push 0x100f9314
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 4
call fcn.10002e1d
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
push 0x100f9320
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 1
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
push edx
push 0x100f9328
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 4
call fcn.10002e1d
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
push 0x100f9330
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 1
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push edx
push 0x100f933c
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 4
call fcn.10002e1d
add esp, 8
jmp 0x10003340
cmp dword [ebp + 0xc], 1
jne 0x10003340
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 8]
call fcn.10007970
mov esi, eax
push 0x5c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
push eax
push str._sNTUSER.DAT
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov edx, dword [ebp - 0x20]
push edx
push 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx]
push eax
push 0x100f9358
lea ecx, [ebp - 0x1c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xd
call fcn.10002e1d
add esp, 8
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret