Function at 0x40bf91
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push str.userenv.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x50], eax
push str.CreateEnvironmentBlock
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa0], eax
push 0x410ebc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0x44
push 0
lea ecx, [ebp - 0x48]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x98]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x40], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x68], eax
push str.OpenProcessToken
push 0x410ef0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
push 0xf01ff
mov ecx, dword [ebp - 0x68]
push ecx
call dword [ebp - 0x5c]
push str.DuplicateTokenEx
push 0x410f14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x64], eax
lea edx, [ebp - 0x54]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x58]
push eax
call dword [ebp - 0x64]
mov byte [ebp - 0x88], 0x57
mov byte [ebp - 0x87], 0x54
mov byte [ebp - 0x86], 0x53
mov byte [ebp - 0x85], 0x47
mov byte [ebp - 0x84], 0x65
mov byte [ebp - 0x83], 0x74
mov byte [ebp - 0x82], 0x41
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0x74
mov byte [ebp - 0x7f], 0x69
mov byte [ebp - 0x7e], 0x76
mov byte [ebp - 0x7d], 0x65
mov byte [ebp - 0x7c], 0x43
mov byte [ebp - 0x7b], 0x6f
mov byte [ebp - 0x7a], 0x6e
mov byte [ebp - 0x79], 0x73
mov byte [ebp - 0x78], 0x6f
mov byte [ebp - 0x77], 0x6c
mov byte [ebp - 0x76], 0x65
mov byte [ebp - 0x75], 0x53
mov byte [ebp - 0x74], 0x65
mov byte [ebp - 0x73], 0x73
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x69
mov byte [ebp - 0x70], 0x6f
mov byte [ebp - 0x6f], 0x6e
mov byte [ebp - 0x6e], 0x49
mov byte [ebp - 0x6d], 0x64
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x40c221
call dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
push str.SetTokenInformation
push 0x410f38
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb0], eax
push 4
lea eax, [ebp - 0xa4]
push eax
push 0xc
mov ecx, dword [ebp - 0x54]
push ecx
call dword [ebp - 0xb0]
push 0
mov edx, dword [ebp - 0x54]
push edx
lea eax, [ebp - 0x9c]
push eax
call dword [ebp - 0xa0]
push str.CreateProcessAsUserA
push 0x410f60
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
mov eax, dword [ebp - 0x9c]
push eax
push 0x430
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [ebp - 0x54]
push edx
call dword [ebp - 0xb4]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x4c], eax
jmp 0x40c228
mov dword [ebp - 0x4c], 0
push str.FreeLibrary
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x50], 0
je 0x40c247
mov edx, dword [ebp - 0x50]
push edx
call dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
ret