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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x432850
xor eax, eax
jmp 0x432b45
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00491200
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00432b60
add esp, 0xc
mov dword [ebp - 0x238], 0
push 0x110
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00491200
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 0x4328dd
cmp dword [ebp - 0x234], 6
jne 0x4328dd
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x118], 0
jne 0x43290e
lea edx, [ebp - 0x114]
push edx
call fcn.00432e90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x432920
lea eax, [ebp - 0x114]
push eax
call fcn.00432bc0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x432b29
mov dword [ebp - 0x3b0], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.00491200
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.00432f60
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x43298a
lea edx, [ebp - 0x114]
push edx
call fcn.00433090
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 0x432a10
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 0x432a51
push 0
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x3b4]
push eax
call dword [ebp - 0x240]
test eax, eax
je 0x432a47
mov ecx, dword [ebp - 0x364]
or ecx, 0x400
mov dword [ebp - 0x364], ecx
jmp 0x432a51
mov dword [ebp - 0x3b4], 0
mov byte [ebp - 0x360], 0
push 0x103
push 0
lea edx, [ebp - 0x35f]
push edx
call fcn.00491200
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x103
lea ecx, [ebp - 0x360]
push ecx
call fcn.00497c47
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 0x432ae7
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24c], 0
je 0x432afd
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x254], 0
je 0x432b13
mov eax, dword [ebp - 0x3b4]
push eax
call dword [ebp - 0x254]
cmp dword [ebp - 0x23c], 0
je 0x432b29
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x114], 0
je 0x432b3f
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.0049115e
mov esp, ebp
pop ebp
ret