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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6267ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d0
mov eax, dword [0x6ec8b0]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
mov esi, ecx
mov dword [ebp - 4], edi
jne 0x5a7e8a
mov eax, dword [esi + 0x4a0]
cmp eax, edi
je 0x5a7807
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5a7804
mov ecx, dword [esi + 0x4a0]
push edi
push edi
push 0x10
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x40], di
lea eax, [ebp - 0x44]
push 1
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call fcn.00579490
mov edx, dword [esi + 0x484]
mov ecx, dword [esi + 0x480]
cmp edx, edi
jl 0x5a7839
jg 0x5a7852
cmp ecx, edi
ja 0x5a7852
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x5a7852
cmp eax, 5
je 0x5a7852
cmp dword [esi + 0x318], edi
jne 0x5a7852
xor bl, bl
jmp 0x5a7854
mov bl, 1
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x5a7869
cmp eax, 5
je 0x5a7869
cmp dword [esi + 0x318], edi
je 0x5a786f
mov eax, ecx
or eax, edx
jne 0x5a787b
mov ecx, dword [esi + 0x488]
mov edx, dword [esi + 0x48c]
mov edi, dword [ebp - 0x44]
test edi, edi
jne 0x5a7885
lea edi, [ebp - 0x40]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x5a788f
lea eax, [esi + 0x58]
push 0
push edi
push eax
push ebx
push edx
push ecx
mov ecx, dword [esi + 0x16c]
shr ecx, 0x10
and ecx, 1
push ecx
lea ecx, [ebp - 0x3dc]
call fcn.00442300
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 4
call fcn.005f6856
cmp eax, 1
jne 0x5a7de8
mov eax, dword [ebp - 0x1a4]
cmp eax, 1
jne 0x5a79a0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xc8]
mov ebx, 0x40
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0xc8], 0x3c
test eax, eax
mov dword [ebp - 0xc4], ebx
jne 0x5a7903
lea eax, [esi + 0x58]
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
push edx
mov dword [ebp - 0xac], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x5a7de8
mov eax, dword [0x6c02f4]
test eax, eax
jne 0x5a7de8
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x8c], 0x3c
test eax, eax
mov dword [ebp - 0x88], ebx
jne 0x5a795e
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x14]
call fcn.005fa919
mov eax, dword [ebp - 0x14]
push 0x3f
push eax
call fcn.005de150
add esp, 8
test eax, eax
jne 0x5a7993
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x8c]
push edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x70], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x14]
call fcn.005fa859
jmp 0x5a7de8
cmp eax, 2
jne 0x5a7ba7
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
je 0x5a79b6
mov esi, eax
jmp 0x5a79b9
add esi, 0x58
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x28], di
call fcn.004023e0
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x5a79d6
lea eax, [ebp - 0x28]
push 0x5c
push eax
call fcn.005de073
mov ebx, eax
xor edx, edx
add esp, 8
cmp ebx, edx
je 0x5a7b9b
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp eax, edx
jne 0x5a7a05
lea eax, [ebp - 0x28]
mov ecx, 0x6bf150
test ecx, ecx
je 0x5a7ad0
test eax, eax
je 0x5a7ad0
xor ecx, ecx
push eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x4c], cx
lea ecx, [ebp - 0x50]
call fcn.004023e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00401070
push 0x6bf150
lea ecx, [ebp - 0x38]
call fcn.00402350
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.004023d0
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x5a7ab5
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 - 0x50]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x38]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00401070
mov edx, dword [ebp - 0x20]
add ebx, 2
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x8c]
mov word [ebx], 0
mov ebx, 0x3c
mov esi, 0x40
rep stosd dword es:[edi], eax
test edx, edx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x7c], 0x6bf134
jne 0x5a7b12
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x78], edx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x5a7b8f
mov eax, dword [0x6c02f4]
test eax, eax
jne 0x5a7b8f
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5a7b39
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.005fa919
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xc8]
lea edx, [ebp - 0xc8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x14]
push edx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xb8], 0x6c2c8c
mov dword [ebp - 0xb4], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x14]
call fcn.005fa859
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00401070
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
jmp 0x5a7de3
cmp eax, 3
jne 0x5a7de8
xor eax, eax
xor bl, bl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x15c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x5a7bf1
cmp dword [ebp - 0x14c], 2
jne 0x5a7bf1
cmp dword [ebp - 0x158], 6
jb 0x5a7bf1
mov bl, 1
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
test bl, bl
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x70], 1
je 0x5a7d32
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x7c], 0x6c1d48
test eax, eax
jne 0x5a7c34
lea eax, [esi + 0x58]
mov ecx, 0x6c1d28
test ecx, ecx
je 0x5a7cfe
test eax, eax
je 0x5a7cfe
xor ebx, ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
call fcn.004023e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00401070
push 0x6c1d28
lea ecx, [ebp - 0x38]
call fcn.00402350
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp eax, ebx
jne 0x5a7c85
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x20], edx
je 0x5a7ce6
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 - 0x2c]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x38]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5a7d1a
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x5a7ddc
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x78], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x5a7ddc
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x5a7d3c
lea eax, [esi + 0x58]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
push ecx
mov dword [ebp - 0x80], 0x6c1d18
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x5a7ddc
mov eax, dword [0x6c02f4]
test eax, eax
jne 0x5a7ddc
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x5a7d6e
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x14]
call fcn.005fa919
mov edx, dword [ebp - 0x14]
push 0x3f
push edx
call fcn.005de150
add esp, 8
test eax, eax
jne 0x5a7dd4
mov ecx, 0xf
lea edi, [ebp - 0xc8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc8]
push ecx
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0xc4], 0x40
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], 0x6c1d10
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp - 0x14]
call fcn.005fa859
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00401070
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x14
call fcn.00401070
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x13
call fcn.00401070
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x12
call fcn.005f4083
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x11
call fcn.006024ed
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x10
call fcn.006024ed
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0xf
call fcn.0060239d
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 0xe
call fcn.00602365
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0xd
call fcn.00438a30
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 0xc
call fcn.0060239d
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 3
call fcn.005f6497
lea ecx, [ebp - 0x44]
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