Function at 0x10024be0
Capabilities:
Acquire debug privileges
Check os version
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x230
push ebx
push esi
push edi
push 1
mov dword [esp + 0x98], ecx
push str.SeDebugPrivilege
call fcn.1001b690
add esp, 8
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x98]
push eax
xor ebx, ebx
push ecx
push 1
push ebx
mov byte [edi], 0xa6
push ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], 1
mov dword [esp + 0xac], ebx
mov dword [esp + 0x38], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsA
lea edx, [esp + 0xa8]
mov dword [esp + 0xa8], 0x94
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x17], bl
cmp eax, 2
jne 0x10024c76
cmp dword [esp + 0xac], 6
setae byte [esp + 0x17]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], ebx
cmp eax, ebx
jbe 0x10025098
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x94], ebx
mov bl, 0x65
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
add ecx, eax
mov dword [esp + 0x10], 0
mov esi, dword [ecx]
mov dword [esp + 0xa0], esi
mov edx, dword [ecx + 4]
mov dword [esp + 0xa4], edx
mov eax, dword [ecx + 8]
mov byte [esp + 0x44], 0x41
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], 0x74
mov byte [esp + 0x47], 0x69
mov byte [esp + 0x48], 0x76
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0
mov byte [esp + 0x5c], 0x43
mov byte [esp + 0x5d], 0x6f
mov byte [esp + 0x5e], 0x6e
mov byte [esp + 0x5f], 0x6e
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], 0x63
mov byte [esp + 0x62], 0x74
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], 0x64
mov byte [esp + 0x65], 0
mov byte [esp + 0x78], 0x43
mov byte [esp + 0x79], 0x6f
mov byte [esp + 0x7a], 0x6e
mov byte [esp + 0x7b], 0x6e
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], 0x63
mov byte [esp + 0x7e], 0x74
mov byte [esp + 0x7f], 0x51
mov byte [esp + 0x80], 0x75
mov byte [esp + 0x81], bl
mov byte [esp + 0x82], 0x72
mov byte [esp + 0x83], 0x79
mov byte [esp + 0x84], 0
mov byte [esp + 0x4c], 0x53
mov byte [esp + 0x4d], 0x68
mov byte [esp + 0x4e], 0x61
mov byte [esp + 0x4f], 0x64
mov byte [esp + 0x50], 0x6f
mov byte [esp + 0x51], 0x77
mov byte [esp + 0x52], 0
mov byte [esp + 0x68], 0x44
mov byte [esp + 0x69], 0x69
mov byte [esp + 0x6a], 0x73
mov byte [esp + 0x6b], 0x63
mov byte [esp + 0x6c], 0x6f
mov byte [esp + 0x6d], 0x6e
mov byte [esp + 0x6e], 0x6e
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], 0x63
mov byte [esp + 0x71], 0x74
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], 0x64
mov byte [esp + 0x74], 0
mov byte [esp + 0x2c], 0x49
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x2e], 0x6c
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 0
mov byte [esp + 0x54], 0x4c
mov byte [esp + 0x55], 0x69
mov byte [esp + 0x56], 0x73
mov byte [esp + 0x57], 0x74
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x6e
mov byte [esp + 0x5a], 0
mov byte [esp + 0x3c], 0x52
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x73
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x74
mov byte [esp + 0x41], 0
mov byte [esp + 0x34], 0x44
mov byte [esp + 0x35], 0x6f
mov byte [esp + 0x36], 0x77
mov byte [esp + 0x37], 0x6e
cmp eax, 9
mov byte [esp + 0x38], 0
mov byte [esp + 0x20], 0x49
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], 0
ja case.default.0x10024e56
jmp dword [eax*4 + 0x100250c4]
lea eax, [esp + 0x44]
jmp 0x10024eaf
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], ecx
jmp case.default.0x10024e56
lea edx, [esp + 0x78]
mov dword [esp + 0x10], edx
jmp case.default.0x10024e56
lea eax, [esp + 0x4c]
jmp 0x10024eaf
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ecx
jmp case.default.0x10024e56
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], edx
jmp case.default.0x10024e56
lea eax, [esp + 0x54]
jmp 0x10024eaf
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
jmp case.default.0x10024e56
lea edx, [esp + 0x34]
mov dword [esp + 0x10], edx
jmp case.default.0x10024e56
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x140]
push ecx
push esi
call fcn.10024a90
mov ecx, dword [esp + 0xa0]
add esp, 8
push esi
call fcn.10024a50
mov ecx, dword [esp + 0x98]
push esi
mov dword [esp + 0x8c], eax
call fcn.10024b40
mov dword [esp + 0x8c], eax
mov al, byte [esp + 0x1b]
xor esi, esi
test al, al
je 0x10024efb
mov esi, 1
lea edx, [esp + 0x140]
push edx
call ebp
test eax, eax
jne 0x10024f10
mov eax, dword [esp + 0x28]
lea esi, [eax + 5]
cmp dword [esp + 0x90], esi
jb 0x10025069
mov ecx, dword [esp + 0x8c]
push ecx
call ebp
mov edx, dword [esp + 0x88]
mov esi, eax
push edx
call ebp
add esi, eax
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x140]
add esi, eax
push ecx
call ebp
mov edx, dword [esp + 0x14]
lea eax, [esi + eax + 9]
push edi
lea esi, [eax + edx]
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x10024f6e
push 0x42
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [esp + 0x1c], eax
mov edi, eax
mov esi, dword [esp + 0x10]
push esi
call ebp
mov ecx, eax
mov eax, dword [esp + 0x14]
inc ecx
add edi, eax
mov edx, ecx
mov eax, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x140]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x18], edi
call ebp
mov ecx, eax
mov eax, dword [esp + 0x1c]
inc ecx
lea esi, [esp + 0x140]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x140]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x88]
push esi
lea edi, [ecx + eax + 1]
mov dword [esp + 0x18], edi
call ebp
mov edx, dword [esp + 0x1c]
mov ecx, eax
inc ecx
add edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x88]
push ecx
call ebp
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x8c]
push esi
lea edi, [edx + eax + 1]
mov dword [esp + 0x18], edi
call ebp
mov ecx, eax
mov eax, dword [esp + 0x1c]
inc ecx
add edi, eax
mov edx, ecx
mov eax, dword [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + eax + 1]
lea ecx, [eax + edx]
mov edx, dword [esp + 0xa0]
mov dword [ecx], edx
mov dl, byte [esp + 0x24]
mov edi, dword [esp + 0x1c]
add eax, 5
mov byte [ecx + 4], dl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x28]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
jb 0x10024c99
xor ebx, ebx
pop ebp
mov eax, dword [esp + 0x10]
push 0x42
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push ebx
push str.SeDebugPrivilege
mov esi, eax
call fcn.1001b690
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x230
ret