Function at 0x413960
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x318
mov al, 0x68
push ebx
push ebp
mov byte [esp + 0xbe], al
mov byte [esp + 0xc9], al
push esi
lea eax, [esp + 0xb8]
push edi
mov bl, 0x65
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 0x43
mov byte [esp + 0xc1], 0x72
mov byte [esp + 0xc2], bl
mov byte [esp + 0xc3], 0x61
mov byte [esp + 0xc4], 0x74
mov byte [esp + 0xc5], bl
mov byte [esp + 0xc6], 0x54
mov byte [esp + 0xc7], 0x6f
mov byte [esp + 0xc8], 0x6f
mov byte [esp + 0xc9], 0x6c
mov byte [esp + 0xcb], bl
mov byte [esp + 0xcc], 0x6c
mov byte [esp + 0xcd], 0x70
mov byte [esp + 0xce], 0x33
mov byte [esp + 0xcf], 0x32
mov byte [esp + 0xd0], 0x53
mov byte [esp + 0xd1], 0x6e
mov byte [esp + 0xd2], 0x61
mov byte [esp + 0xd3], 0x70
mov byte [esp + 0xd4], 0x73
mov byte [esp + 0xd6], 0x6f
mov byte [esp + 0xd7], 0x74
mov byte [esp + 0xd8], 0
call fcn.00417640
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0x50
mov byte [esp + 0x75], 0x72
mov byte [esp + 0x76], 0x6f
mov byte [esp + 0x77], 0x63
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 0x73
mov byte [esp + 0x7a], 0x73
mov byte [esp + 0x7b], 0x33
mov byte [esp + 0x7c], 0x32
mov byte [esp + 0x7d], 0x46
mov byte [esp + 0x7e], 0x69
mov byte [esp + 0x7f], 0x72
mov byte [esp + 0x80], 0x73
mov byte [esp + 0x81], 0x74
mov byte [esp + 0x82], 0
call fcn.00417640
push eax
call ebp
lea edx, [esp + 0x60]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x64], 0x50
mov byte [esp + 0x65], 0x72
mov byte [esp + 0x66], 0x6f
mov byte [esp + 0x67], 0x63
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x73
mov byte [esp + 0x6a], 0x73
mov byte [esp + 0x6b], 0x33
mov byte [esp + 0x6c], 0x32
mov byte [esp + 0x6d], 0x4e
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], 0x78
mov byte [esp + 0x70], 0x74
mov byte [esp + 0x71], 0
call fcn.00417640
push eax
call ebp
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 0x4f
mov byte [esp + 0x3d], 0x70
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x50
mov byte [esp + 0x41], 0x72
mov byte [esp + 0x42], 0x6f
mov byte [esp + 0x43], 0x63
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x73
mov byte [esp + 0x46], 0x73
mov byte [esp + 0x47], 0
call fcn.00417640
push eax
call ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], 0x43
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4a], 0x6f
mov byte [esp + 0x4b], 0x73
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x48
mov byte [esp + 0x4e], 0x61
mov byte [esp + 0x4f], 0x6e
mov byte [esp + 0x50], 0x64
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 0
call fcn.00417640
push eax
call ebp
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0xe4], eax
mov byte [esp + 0x54], 0x4c
mov byte [esp + 0x55], 0x6f
mov byte [esp + 0x56], 0x63
mov byte [esp + 0x57], 0x61
mov byte [esp + 0x58], 0x6c
mov byte [esp + 0x59], 0x52
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], 0x41
mov byte [esp + 0x5c], 0x6c
mov byte [esp + 0x5d], 0x6c
mov byte [esp + 0x5e], 0x6f
mov byte [esp + 0x5f], 0x63
mov byte [esp + 0x60], 0
call fcn.00417640
push eax
call ebp
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0x4c
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x29], 0x53
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x7a
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0
call fcn.00417640
push eax
call ebp
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2c], 0x4c
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x63
mov byte [esp + 0x2f], 0x61
mov byte [esp + 0x30], 0x6c
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x6c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x33], 0x6c
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0x6f
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3a], 0
call fcn.00417640
push eax
call ebp
mov esi, eax
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x100]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xd8], eax
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x225]
mov byte [esp + 0x224], al
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SeDebugPrivilege
stosb byte es:[edi], al
call fcn.00414180
add esp, 8
push 0
push 2
call dword [esp + 0x24]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x413cfa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x318
ret
push 0x400
push 0x40
mov dword [esp + 0x104], 0x128
call esi
lea edx, [esp + 0x80]
mov byte [eax], 0x7f
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov edi, 1
mov byte [esp + 0x84], 0x50
mov byte [esp + 0x85], 0x72
mov byte [esp + 0x86], 0x6f
mov byte [esp + 0x87], 0x63
mov byte [esp + 0x88], bl
mov byte [esp + 0x89], 0x73
mov byte [esp + 0x8a], 0x73
mov byte [esp + 0x8b], 0x33
mov byte [esp + 0x8c], 0x32
mov byte [esp + 0x8d], 0x46
mov byte [esp + 0x8e], 0x69
mov byte [esp + 0x8f], 0x72
mov byte [esp + 0x90], 0x73
mov byte [esp + 0x91], 0x74
mov byte [esp + 0x92], 0
call fcn.00417640
push eax
call ebp
push str.OpenProcess
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00417640
push eax
call ebp
mov dword [esp + 0xec], eax
lea eax, [esp + 0xa4]
push eax
push str.PSAPI.dll
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 0x47
mov byte [esp + 0xad], bl
mov byte [esp + 0xae], 0x74
mov byte [esp + 0xaf], 0x4d
mov byte [esp + 0xb0], 0x6f
mov byte [esp + 0xb1], 0x64
mov byte [esp + 0xb2], 0x75
mov byte [esp + 0xb3], 0x6c
mov byte [esp + 0xb4], bl
mov byte [esp + 0xb5], 0x46
mov byte [esp + 0xb6], 0x69
mov byte [esp + 0xb7], 0x6c
mov byte [esp + 0xb8], bl
mov byte [esp + 0xb9], 0x4e
mov byte [esp + 0xba], 0x61
mov byte [esp + 0xbb], 0x6d
mov byte [esp + 0xbc], bl
mov byte [esp + 0xbd], 0x45
mov byte [esp + 0xbe], 0x78
mov byte [esp + 0xbf], 0x41
mov byte [esp + 0xc0], 0
call fcn.004175d0
push eax
call ebp
mov dword [esp + 0xe8], eax
mov byte [esp + 0x90], 0x45
mov byte [esp + 0x91], 0x6e
mov byte [esp + 0x92], 0x75
mov byte [esp + 0x93], 0x6d
mov byte [esp + 0x94], 0x50
mov byte [esp + 0x95], 0x72
mov byte [esp + 0x96], 0x6f
mov byte [esp + 0x97], 0x63
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], 0x73
mov byte [esp + 0x9a], 0x73
mov byte [esp + 0x9b], 0x4d
mov byte [esp + 0x9c], 0x6f
mov byte [esp + 0x9d], 0x64
mov byte [esp + 0x9e], 0x75
mov byte [esp + 0x9f], 0x6c
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x90]
mov byte [esp + 0xa1], 0x73
push ecx
push str.PSAPI.dll
lea ecx, [esp + 0x18]
mov byte [esp + 0xaa], 0
call fcn.004175d0
push eax
call ebp
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0xfc]
push edx
push ebx
mov dword [esp + 0xfc], eax
call esi
test eax, eax
je 0x4140c4
mov eax, dword [esp + 0x104]
push eax
push 0
push 0x410
call dword [esp + pe_nt_image_headers32]
mov esi, eax
mov eax, dword [esp + 0x104]
test eax, eax
je 0x4140ac
cmp eax, 4
je 0x4140ac
cmp eax, 8
je 0x4140ac
lea ecx, [esp + 0xf8]
lea edx, [esp + 0xd8]
push ecx
push 4
push edx
push esi
call dword [esp + 0x104]
mov ecx, dword [esp + 0xd8]
lea eax, [esp + 0x224]
push 0x104
push eax
push ecx
push esi
call dword [esp + pe_nt_image_headers32]
push str.lstrlenA
push 0x427080
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
lea edx, [esp + 0x120]
mov ebx, eax
push edx
call ebx
mov esi, eax
lea eax, [esp + 0x224]
push eax
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esi + eax + 6]
push ecx
lea esi, [eax + edi]
call dword [esp + 0xf4]
cmp eax, esi
jae 0x414015
mov edx, dword [esp + 0x14]
push 0x42
push esi
push edx
call dword [esp + 0xe8]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x104]
lea edx, [esp + 0x120]
mov dword [edi + ecx], eax
add edi, 4
push edx
mov dword [esp + 0x1c], edi
call ebx
mov ecx, eax
mov eax, dword [esp + 0x14]
inc ecx
lea esi, [esp + 0x120]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x120]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x224]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x1c], edi
call ebx
mov ecx, eax
mov eax, dword [esp + 0x14]
inc ecx
lea esi, [esp + 0x224]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x224]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
mov edi, edx
lea eax, [esp + 0xfc]
push eax
push ebx
call dword [esp + 0xec]
test eax, eax
jne 0x413f50
mov ecx, dword [esp + 0x14]
push 0x42
push edi
push ecx
call dword [esp + 0xe8]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.00414180
add esp, 8
push ebx
call dword [esp + 0xe4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x318
ret