Function at 0x42e4a0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4c66
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x878
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x85c], 0xffffffff
mov dword [ebp - 0x884], eax
lea eax, [ebp - 0x888]
mov dword [ebp - fcn.0042e450], vtable.std::_Func_impl_no_alloc_class__lambda_17f3c65978f435d8188d56bdd620ac82___void___.0
mov dword [ebp - 0x864], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x858]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x834], 0
push eax
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.0042e450
mov dword [ebp - 0x834], eax
mov byte [ebp - 0x830], 0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x864]
test ecx, ecx
je 0x42e56f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x888]
cmp ecx, eax
setne al
push eax
call edx
lea eax, [ebp - 0x85c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42e663
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
push str.e:work_svndtlsetuputility_basedtlprocesstoolhelp.h
lea eax, [ebp - 0x812]
push str.OpenProcessToken_failed_xm_file:_s_r_n
push eax
call fcn.0040988e
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x818]
add esp, 0x18
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
push 0x42
lea eax, [ebp - 0x812]
push str.OpenProcessToken_failed_xm_line:_d_r_n
push eax
call fcn.0040988e
add esp, 0x18
lea eax, [ebp - 0x818]
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken_failed_xm_err:_d_r_n
jmp 0x42e866
lea eax, [ebp - 0x824]
xorps xmm0, xmm0
push eax
push edi
push 0
movups xmmword [ebp - 0x828], xmm0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x42e75b
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
push str.e:work_svndtlsetuputility_basedtlprocesstoolhelp.h
lea eax, [ebp - 0x812]
push str.LookupPrivilegeValue_failed_xm_file:_s_r_n
push eax
call fcn.0040988e
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x818]
add esp, 0x18
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
push 0x4a
lea eax, [ebp - 0x812]
push str.LookupPrivilegeValue_failed_xm_line:_d_r_n
push eax
call fcn.0040988e
add esp, 0x18
lea eax, [ebp - 0x818]
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_failed_xm_err:_d_r_n
jmp 0x42e866
push 0
push 0
push 0x10
lea eax, [ebp - 0x828]
mov dword [ebp - 0x828], 1
neg esi
push eax
sbb esi, esi
push 0
push dword [ebp - 0x85c]
and esi, 2
mov dword [ebp - 0x81c], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x42e882
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
push str.e:work_svndtlsetuputility_basedtlprocesstoolhelp.h
lea eax, [ebp - 0x812]
push str.AdjustTokenPrivileges_failed_xm_file:_s_r_n
push eax
call fcn.0040988e
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x818]
add esp, 0x18
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
push 0x53
lea eax, [ebp - 0x812]
push str.AdjustTokenPrivileges_failed_xm_line:_d_r_n
push eax
call fcn.0040988e
add esp, 0x18
lea eax, [ebp - 0x818]
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x818], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0058d810
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdjustTokenPrivileges_failed_xm_err:_d_r_n
lea eax, [ebp - 0x812]
push eax
call fcn.0040988e
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
call esi
xor edi, edi
jmp 0x42e887
mov edi, 1
mov dword [ebp - 4], 3
cmp byte [ebp - 0x830], 0
jne 0x42e8a6
mov ecx, dword [ebp - 0x834]
test ecx, ecx
je 0x42e8e8
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x834]
test ecx, ecx
je 0x42e8c8
mov esi, dword [ecx]
lea eax, [ebp - 0x858]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
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.00539e65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0046b2e6
int3