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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5225c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
cmp dword [ebp + 8], 0
jne 0x4da25b
xor eax, eax
jmp 0x4da53a
lea ecx, [ebp - 0x138]
call fcn.0040c630
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x533320
lea edx, [ebp - 0x138]
push edx
call fcn.0040bc40
add esp, 0x10
mov dword [ebp - 0x134], 0
push 0x110
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.004b3d60
add esp, 0xc
mov dword [ebp - 0x134], 0x114
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4da2db
cmp dword [ebp - 0x130], 6
jne 0x4da2db
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
jne 0x4da300
lea edx, [ebp - 0x14]
push edx
call fcn.0050a0d0
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x4da30f
lea eax, [ebp - 0x14]
push eax
call fcn.0050a190
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4da509
mov dword [ebp - 0x1a4], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.004b3d60
add esp, 0xc
mov dword [ebp - 0x150], 0
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x178], 1
cmp dword [ebp + 0x10], 0
je 0x4da36f
mov word [ebp - 0x174], 5
jmp 0x4da378
mov word [ebp - 0x174], 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00509ca0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4da3ae
cmp dword [ebp - 0x14], 0
je 0x4da3a2
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00509f90
add esp, 4
mov dword [ebp - 0x19c], 0x533330
mov dword [ebp - 0x158], 0x30
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x13c], 0
push 0x533350
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4da434
push 0x533368
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x140], eax
push 0x533380
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x140], 0
je 0x4da472
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call dword [ebp - 0x140]
test eax, eax
je 0x4da468
mov edx, dword [ebp - 0x158]
or edx, 0x400
mov dword [ebp - 0x158], edx
jmp 0x4da472
mov dword [ebp - 0x1a8], 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
push 0
mov edx, dword [ebp - 0x1a8]
push edx
mov eax, dword [ebp - 0x158]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x138]
call fcn.00423af0
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x150], 0
je 0x4da4c7
mov edx, dword [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14c], 0
je 0x4da4dd
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x154], 0
je 0x4da4f3
mov ecx, dword [ebp - 0x1a8]
push ecx
call dword [ebp - 0x154]
cmp dword [ebp - 0x13c], 0
je 0x4da509
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x4da519
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.0040c650
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret