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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c23ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x50], bx
lea eax, [ebp - 0x54]
push 1
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.0052ad40
mov eax, dword [esi + 0x428]
cmp eax, ebx
je 0x54e383
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54e383
mov edx, dword [esi + 0x428]
mov eax, dword [edx + 0xc]
push eax
call fcn.0059763c
mov dword [ebp - 0x14], eax
jmp 0x54e386
mov dword [ebp - 0x14], ebx
mov edx, dword [esi + 0x40c]
mov ecx, dword [esi + 0x408]
cmp edx, ebx
jl 0x54e3a2
jg 0x54e39c
cmp ecx, ebx
jbe 0x54e3a2
mov byte [ebp - 0x24], 1
jmp 0x54e3aa
cmp dword [esi + 0x44], 4
sete byte [ebp - 0x24]
cmp dword [esi + 0x44], 4
jne 0x54e3b6
mov eax, ecx
or eax, edx
jne 0x54e3c2
mov ecx, dword [esi + 0x410]
mov edx, dword [esi + 0x414]
mov edi, dword [ebp - 0x54]
cmp edi, ebx
jne 0x54e3cc
lea edi, [ebp - 0x50]
mov eax, dword [esi + 0x54]
cmp eax, ebx
jne 0x54e3d6
lea eax, [esi + 0x58]
mov ebx, dword [ebp - 0x14]
push ebx
push edi
push eax
mov eax, dword [ebp - 0x24]
push eax
push edx
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.00432070
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 2
call fcn.00596cd3
cmp eax, 1
jne 0x54e922
mov eax, dword [ebp - 0x19c]
cmp eax, 1
jne 0x54e4df
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xcc]
mov ebx, 0x40
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0xcc], 0x3c
test eax, eax
mov dword [ebp - 0xc8], ebx
jne 0x54e442
lea eax, [esi + 0x58]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xbc], eax
push ecx
mov dword [ebp - 0xb0], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x54e922
mov eax, dword [0x6526c0]
test eax, eax
jne 0x54e922
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x90], 0x3c
test eax, eax
mov dword [ebp - 0x8c], ebx
jne 0x54e49d
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x14]
call fcn.0059adfd
mov edx, dword [ebp - 0x14]
push 0x3f
push edx
call fcn.0057e940
add esp, 8
test eax, eax
jne 0x54e4d2
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x14]
call fcn.0059ad3d
jmp 0x54e922
cmp eax, 2
jne 0x54e6e0
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
jne 0x54e4f4
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
mov word [ebp - 0x38], di
call fcn.00401fc0
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x54e511
lea eax, [ebp - 0x38]
push 0x5c
push eax
call fcn.0057e85a
mov ebx, eax
xor edx, edx
add esp, 8
cmp ebx, edx
je 0x54e6d4
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
cmp eax, edx
jne 0x54e540
lea eax, [ebp - 0x38]
mov ecx, 0x654c64
test ecx, ecx
je 0x54e609
cmp eax, edx
je 0x54e609
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov word [ebp - 0x2c], dx
call fcn.00401fc0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00401070
push 0x654c64
lea ecx, [ebp - 0x48]
call fcn.00401f30
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00401fb0
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005970d9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x54e5ee
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x30]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00401070
mov edx, dword [ebp - 0x20]
add ebx, 2
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x90]
mov word [ebx], 0
mov ebx, 0x3c
mov esi, 0x40
rep stosd dword es:[edi], eax
test edx, edx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x80], 0x654c48
jne 0x54e64b
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x7c], edx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x54e6c8
mov eax, dword [0x6526c0]
test eax, eax
jne 0x54e6c8
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x54e672
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0059adfd
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xcc]
lea edx, [ebp - 0xcc]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x24]
push edx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xbc], 0x654c38
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x24]
call fcn.0059ad3d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
jmp 0x54e91d
cmp eax, 3
jne 0x54e922
xor eax, eax
xor bl, bl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x160], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x54e72a
cmp dword [ebp - 0x150], 2
jne 0x54e72a
cmp dword [ebp - 0x15c], 6
jb 0x54e72a
mov bl, 1
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
test bl, bl
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x74], 1
je 0x54e869
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x80], 0x653d5c
test eax, eax
jne 0x54e76d
lea eax, [esi + 0x58]
mov ecx, 0x653d3c
test ecx, ecx
je 0x54e835
test eax, eax
je 0x54e835
xor ebx, ebx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x2c], bx
call fcn.00401fc0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00401070
push 0x653d3c
lea ecx, [ebp - 0x48]
call fcn.00401f30
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00401fb0
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005970d9
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x20], edx
je 0x54e81d
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x30]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fb0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x54e851
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x54e916
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x7c], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x54e916
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x54e873
lea eax, [esi + 0x58]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], eax
push ecx
mov dword [ebp - 0x84], 0x653d2c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x54e916
mov eax, dword [0x6526c0]
test eax, eax
jne 0x54e916
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x54e8a8
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x14]
call fcn.0059adfd
mov edx, dword [ebp - 0x14]
push 0x3f
push edx
call fcn.0057e940
add esp, 8
test eax, eax
jne 0x54e90e
mov ecx, 0xf
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xcc]
push ecx
mov dword [ebp - 0xcc], 0x3c
mov dword [ebp - 0xc8], 0x40
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], 0x653d24
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x14]
call fcn.0059ad3d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401070
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x12
call fcn.00401070
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x11
call fcn.00401070
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x10
call fcn.00594500
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xf
call fcn.005a29d1
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0xe
call fcn.005a29d1
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xd
call fcn.005a2881
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0xc
call fcn.005a2849
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0xb
call fcn.0042ba40
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0xa
call fcn.005a2881
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 1
call fcn.00596914
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret