Function at 0x4306a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a382f
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x460], 0
mov esi, dword [edx]
mov dword [ebp - 0x474], ecx
test esi, esi
jne 0x4306f2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004821a0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.004821a0
add esp, 0xc
xor eax, eax
push 0x10
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.SeDebugPrivilege
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x468], 0x104
mov dword [ebp - 0x46c], 0x104
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.0040c0d0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.004303b0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 8
jb 0x4307c6
push dword [ebp - 0x438]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
push eax
push 0x400
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x454], eax
test eax, eax
je 0x430b60
lea ecx, [ebp - 0x450]
call fcn.0042e5a0
mov ebx, eax
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 0x10
jb 0x43081a
mov ebx, dword [ebx]
lea ecx, [ebp - 0x438]
call fcn.0042ed50
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x10], 0
je 0x43085f
cmp dword [esi + 0x14], 8
jb 0x43083b
mov eax, dword [esi]
jmp 0x43083d
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x430861
cmp dword [esi + 0x14], 8
jb 0x430852
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x430861
xor edi, edi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x424], 8
jb 0x43087c
push dword [ebp - 0x438]
call fcn.0047cf40
add esp, 4
push ebx
xor eax, eax
push edi
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x43c], 0x10
jb 0x4308be
push dword [ebp - 0x450]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x43c], 0xf
mov dword [ebp - 0x440], 0
mov byte [ebp - 0x450], 0
test esi, esi
je 0x430b60
lea eax, [ebp - 0x45c]
push eax
push 8
push dword [ebp - 0x454]
call esi
test eax, eax
je 0x430b60
lea ecx, [ebp - 0x438]
call fcn.0042e720
mov ebx, eax
mov dword [ebp - 4], 4
cmp dword [ebx + 0x14], 0x10
jb 0x430916
mov ebx, dword [ebx]
lea ecx, [ebp - 0x450]
call fcn.0042ed50
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
je 0x43095b
cmp dword [esi + 0x14], 8
jb 0x430937
mov eax, dword [esi]
jmp 0x430939
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x43095d
cmp dword [esi + 0x14], 8
jb 0x43094e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x43095d
xor edi, edi
mov byte [ebp - 4], 4
cmp dword [ebp - 0x43c], 8
jb 0x430978
push dword [ebp - 0x450]
call fcn.0047cf40
add esp, 4
push ebx
xor eax, eax
push edi
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 0x10
jb 0x4309ba
push dword [ebp - 0x438]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
test esi, esi
je 0x430b60
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
push 0
push 1
push dword [ebp - 0x45c]
call esi
test eax, eax
jne 0x430a09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x430b60
mov edi, dword [ebp - 0x458]
push edi
call fcn.0047d98e
add esp, 4
mov dword [ebp - 0x454], eax
test eax, eax
je 0x430b60
lea ecx, [ebp - 0x458]
push ecx
push edi
push eax
push 1
push dword [ebp - 0x45c]
call esi
test eax, eax
je 0x430b51
lea ecx, [ebp - 0x438]
call fcn.0042e8b0
mov ebx, eax
mov dword [ebp - 4], 6
cmp dword [ebx + 0x14], 0x10
jb 0x430a5d
mov ebx, dword [ebx]
lea ecx, [ebp - 0x450]
call fcn.0042ed50
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x10], 0
je 0x430aa2
cmp dword [esi + 0x14], 8
jb 0x430a7e
mov eax, dword [esi]
jmp 0x430a80
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x430aa4
cmp dword [esi + 0x14], 8
jb 0x430a95
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x430aa4
xor edi, edi
mov byte [ebp - 4], 6
cmp dword [ebp - 0x43c], 8
jb 0x430abf
push dword [ebp - 0x450]
call fcn.0047cf40
add esp, 4
push ebx
xor eax, eax
push edi
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x424], 0x10
jb 0x430b01
push dword [ebp - 0x438]
call fcn.0047cf40
add esp, 4
mov edi, dword [ebp - 0x454]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
test esi, esi
je 0x430b57
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [edi]
push 0
call esi
jmp 0x430b57
mov edi, dword [ebp - 0x454]
push edi
call fcn.0047cf54
add esp, 4
mov esi, dword [ebp - 0x464]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x430b86
xor ecx, ecx
jmp 0x430b9f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430b90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040c0d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x460], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret