Function at 0x4271ab
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x38], eax
call fcn.0040224a
push eax
lea ecx, [esp + 0x1c]
call fcn.0041217c
mov dword [esp + 0x1ac], 1
lea eax, [esp + 0x18]
push 0x4b6558
push esi
push str.__s___s
push eax
call fcn.0041d4c7
xor ebx, ebx
lea eax, [esp + 0x98]
push 0x110
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00482250
add esp, 0x1c
mov dword [esp + 0x84], 0x114
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42726e
cmp dword [esp + 0x88], 5
jne 0x42726e
cmp dword [esp + 0x8c], ebx
je 0x42727b
lea ecx, [esp + 0x14]
call fcn.004270fe
test eax, eax
je 0x427291
lea ecx, [esp + 0x14]
call fcn.00426ffa
test eax, eax
je 0x427291
mov esi, dword [esp + 0x18]
jmp 0x4273ad
push 0x40
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 0x44
push ebx
push eax
call fcn.00482250
mov dword [esp + 0x34], ebx
lea edi, [esp + 0x38]
xor eax, eax
mov dword [esp + 0x50], 0x4b9b00
stosd dword es:[edi], eax
add esp, 0xc
mov dword [esp + 0x20], 0x30
mov ebp, ebx
mov dword [esp + 0x1c], ebx
stosd dword es:[edi], eax
push str.userenv.dll
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42731f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b9b3c
push edi
call esi
push 0x4b9b8c
push edi
mov dword [esp + 0x2c], eax
call esi
mov ebp, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42731f
push ebx
push dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
call eax
test eax, eax
je 0x42731b
mov dword [esp + 0x20], 0x430
jmp 0x42731f
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x427339
push dword [esi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.0041230c
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
push ebx
push dword [esp + 0x28]
push dword [esp + 0x30]
push ebx
push ebx
push ebx
push esi
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.0041994d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x427376
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
cmp dword [esp + 0x28], 0
je 0x427387
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], 0
je 0x427398
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x4273a2
push dword [esp + 0x1c]
call ebp
test edi, edi
je 0x4273ad
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
je 0x4273be
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x1ac], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00411bb2
mov eax, ebx
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0047aabf
add esp, 0x19c
ret