Function at 0x9b2340
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb11f20
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x5c], ebx
mov esi, 0x1000
mov dword [ebp - 0x60], esi
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a77370
add esp, 4
mov edi, eax
mov dword [ebp - 0x54], edi
mov dword [0xb2b604], 1
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x9b23c9
mov byte [eax], bl
mov ecx, dword [0xc07e3c]
cmp ecx, ebx
jne 0x9b23fb
mov ecx, str.NTDLL.DLL
call fcn.0094c620
mov ecx, eax
mov dword [0xc07e3c], ecx
cmp ecx, ebx
jne 0x9b23fb
mov edx, 0xaf6020
mov ecx, dword [ebp - 0x50]
call fcn.009b2a80
jmp 0x9b2802
cmp dword [0xc07e40], ebx
je 0x9b241c
cmp dword [0xc07e44], ebx
je 0x9b241c
mov eax, dword [0xbdc12c]
cmp eax, ebx
je 0x9b241c
cmp dword [0xbdc130], ebx
jne 0x9b246a
push 0xaf6044
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0xc07e40], eax
push 0xaf6050
mov eax, dword [0xc07e3c]
push eax
call esi
mov dword [0xbdc130], eax
push str.ZwQuerySystemInformation
mov ecx, dword [0xc07e3c]
push ecx
call esi
mov dword [0xc07e44], eax
push 0xaf6060
mov edx, dword [0xc07e3c]
push edx
call esi
mov dword [0xbdc12c], eax
mov esi, dword [ebp - 0x60]
cmp dword [0xc07e40], ebx
je 0x9b27c3
cmp dword [0xbdc130], ebx
je 0x9b27c3
cmp eax, ebx
je 0x9b27c3
cmp dword [0xc07e44], ebx
je 0x9b27c3
mov ecx, str.SeDebugPrivilege
call fcn.0095fcc0
test eax, eax
jne 0x9b24b6
mov edx, 0xaf6098
mov ecx, dword [ebp - 0x50]
call fcn.009b2a80
jmp 0x9b2802
push 0xaf60b4
lea eax, [ebp - 0xcc]
push eax
call dword [0xbdc12c]
mov dword [ebp - 0x94], 0x18
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x88], 0x40
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
push ebx
push 3
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x94]
push eax
push 0x100000
lea ecx, [ebp - 0x5c]
push ecx
call dword [0xc07e40]
push ebx
lea edx, [esi*4]
push edx
push edi
push 0x10
call dword [0xc07e44]
cmp eax, 0xc0000004
jne 0x9b2564
push edi
call fcn.00a7a976
add esp, 4
lea edi, [esi + esi]
mov dword [ebp - 0x60], edi
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a77370
add esp, 4
mov dword [ebp - 0x54], eax
mov edi, eax
mov esi, dword [ebp - 0x60]
jmp 0x9b2517
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], ecx
cmp ecx, dword [edi]
jae 0x9b2592
mov edx, ecx
shl edx, 4
lea edx, [edx + edi + 4]
cmp dword [edx], esi
jne 0x9b258d
movzx edx, word [edx + 6]
cmp edx, eax
je 0x9b2590
inc ecx
jmp 0x9b2571
cmp ecx, dword [edi]
jne 0x9b25ca
cmp dword [ebp - 0x50], ebx
je 0x9b25ab
mov ecx, 0xa
mov esi, 0xaf60cc
mov edi, dword [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00a7a976
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x64]
jmp 0x9b280e
shl ecx, 4
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx + edi + 0xc]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
call 0x9b1fc0
add esp, 8
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
cmp eax, dword [edi]
jae 0x9b278a
shl eax, 4
lea esi, [eax + edi + 4]
mov dword [ebp - 0x68], esi
mov al, byte [esi + 4]
mov ecx, dword [ebp - 0x50]
cmp al, byte [ecx + edi + 8]
jne 0x9b2781
mov edx, dword [esi + 8]
push edx
lea eax, [ebp - 0x148]
push eax
call 0x9b1fc0
add esp, 8
mov ecx, dword [ebp - 0x1b4]
cmp dword [ebp - 0x144], ecx
jne 0x9b2781
mov edi, dword [ebp - 0x138]
cmp edi, 1
je 0x9b2668
cmp edi, 2
jne 0x9b277e
movzx edx, word [esi + 6]
push edx
mov eax, dword [esi]
push eax
call fcn.009b2290
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x9b277e
mov dword [ebp - 0xc4], ebx
xor eax, eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 3
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 4
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x110], ebx
push 0x34
push ebx
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00a7ffb0
add esp, 0xc
mov dword [ebp - 0x4c], ebx
push 0x2c
push ebx
lea edx, [ebp - 0x48]
push edx
call fcn.00a7ffb0
add esp, 0xc
cmp edi, 1
je 0x9b272a
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x38
lea ecx, [ebp - 0x110]
push ecx
push 0x18
lea edx, [ebp - 0xac]
push edx
push 0x210012
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x9b2777
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x30
lea ecx, [ebp - 0x4c]
push ecx
push 0x18
lea edx, [ebp - 0xc4]
push edx
push 0x210012
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x9b2777
cmp dword [ebp + 0xc], ebx
jne 0x9b2777
mov eax, dword [ebp - 0x40]
push eax
call dword [0xbdba0c]
movzx ecx, ax
xor eax, eax
cmp ecx, eax
jne 0x9b2777
mov edx, dword [ebp - 0x68]
mov ebx, dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x54]
jmp 0x9b278d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
inc eax
jmp 0x9b260a
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [0xb52cac]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [0xb52b8c]
push edx
call esi
push edi
call fcn.00a7a976
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x9b280e
mov edx, 0xaf6078
mov ecx, dword [ebp - 0x50]
call fcn.009b2a80
mov dword [0xc07e40], ebx
mov dword [0xbdc130], ebx
mov dword [0xbdc12c], ebx
mov dword [0xc07e44], ebx
jmp 0x9b2802
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret