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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x45ac00
xor eax, eax
jmp 0x45aef5
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004ba280
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045af10
add esp, 0xc
mov dword [ebp - 0x238], 0
push 0x110
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004ba280
add esp, 0xc
mov dword [ebp - 0x238], 0x114
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45ac8d
cmp dword [ebp - 0x234], 6
jne 0x45ac8d
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x118], 0
jne 0x45acbe
lea edx, [ebp - 0x114]
push edx
call fcn.0045b240
add esp, 4
mov dword [ebp - 4], eax
jmp 0x45acd0
lea eax, [ebp - 0x114]
push eax
call fcn.0045af70
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45aed9
mov dword [ebp - 0x3b0], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.004ba280
add esp, 0xc
mov dword [ebp - 0x250], 0
xor edx, edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.0045b310
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x45ad3a
lea edx, [ebp - 0x114]
push edx
call fcn.0045b440
add esp, 4
mov dword [ebp - 0x3a8], str.Winsta0Default
mov dword [ebp - 0x364], 0x30
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x23c], 0
push str.userenv.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x45adc0
push str.CreateEnvironmentBlock
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x240], eax
push str.DestroyEnvironmentBlock
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x240], 0
je 0x45ae01
push 0
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x3b4]
push eax
call dword [ebp - 0x240]
test eax, eax
je 0x45adf7
mov ecx, dword [ebp - 0x364]
or ecx, 0x400
mov dword [ebp - 0x364], ecx
jmp 0x45ae01
mov dword [ebp - 0x3b4], 0
mov byte [ebp - 0x360], 0
push 0x103
push 0
lea edx, [ebp - 0x35f]
push edx
call fcn.004ba280
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x103
lea ecx, [ebp - 0x360]
push ecx
call fcn.004c19ca
add esp, 0xc
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x3b0]
push eax
push 0
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x364]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x360]
push eax
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x248]
mov dword [edx], eax
cmp dword [ebp - 0x250], 0
je 0x45ae97
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24c], 0
je 0x45aead
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x254], 0
je 0x45aec3
mov eax, dword [ebp - 0x3b4]
push eax
call dword [ebp - 0x254]
cmp dword [ebp - 0x23c], 0
je 0x45aed9
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x114], 0
je 0x45aeef
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret