Function at 0x402cb2
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push edi
mov edi, 0x4040ec
push edi
xor ebx, ebx
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402fb0
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x402fa7
push edi
push ebx
mov dword [ebp - 0x1c], 1
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push edi
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 2
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push ebx
push 0x10
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebx
leave
ret