Function at 0x1005a2d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c8163
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1022b584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 0x28
mov dword [ebp - 0x5c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1005a35d
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 2
push eax
push 0
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1005a610
mov edi, eax
call fcn.10039420
test eax, eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x54]
push esi
push edi
je 0x1005a37d
call fcn.10059430
jmp 0x1005a382
call fcn.10059990
add esp, 0x10
mov esi, eax
call fcn.1000ed90
mov ecx, eax
test ecx, ecx
je 0x1005a5f1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
test esi, esi
je 0x1005a3ba
push 7
push str.success
jmp 0x1005a3c1
push 4
push 0x101d8fc8
call fcn.1000f6e0
call fcn.100a97a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x54]
movzx eax, al
sub eax, 1
jne 0x1005a5ab
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0x17
push str.DesktopShortcutTool.cpp
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.1000cf00
push 3
push 0x101d1fdc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1000cf00
mov byte [ebp - 4], 2
call fcn.100a97a0
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x100]
push 0xf0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10007f90
mov dword [ebp - 0x58], eax
push str.CIconBubbleRunner::_GetIconRect_
push eax
mov byte [ebp - 4], 3
call fcn.1000fad0
mov eax, dword [ebp - 0x5c]
mov edi, 0x101d2100
test eax, eax
mov ecx, edi
cmovne ecx, eax
push ecx
push dword [ebp - 0x58]
call fcn.1000fad0
push 0x101d901c
push dword [ebp - 0x58]
call fcn.10008dd0
test esi, esi
cmovne edi, esi
push edi
mov edi, dword [ebp - 0x58]
push edi
call fcn.1000fad0
push 0x101d9020
push edi
call fcn.10008dd0
add esp, 0x28
mov ecx, edi
push dword [ebp - 0x20]
call fcn.10032da0
push 0x101d2d50
push edi
call fcn.10008dd0
add esp, 8
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.10032da0
push 0x101d2d50
push edi
call fcn.10008dd0
add esp, 8
mov ecx, edi
push dword [ebp - 0x60]
call fcn.10032da0
push dword [ebp - 0x64]
mov ecx, edi
call fcn.10032da0
push 0x101d9024
push edi
call fcn.10008dd0
mov ecx, dword [ebp - 0x68]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.10008e90
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1005a553
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a549
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a5fb
push edx
push ecx
call fcn.101799c0
add esp, 8
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1005a599
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a58f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a600
push edx
push ecx
call fcn.101799c0
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov edi, dword [ebp + 8]
add esi, 0xfffffff0
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
movups xmmword [edi], xmm0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005a5d4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101799ce
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009b10
call fcn.10190cce
call fcn.10190cce
int3