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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c6cc
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x330], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x70fbbc], ebx
jne 0x59e23a
cmp dword [esi + 0x4f0], ebx
je 0x59dcf8
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x4f0]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x59dcde
push ebx
push ebx
push 0x10
mov edx, dword [esi + 0x4f0]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], ebx
jmp 0x59dcf8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
xor ecx, ecx
mov word [ebp - 0x34], cx
mov byte [ebp - 4], 3
push 1
lea edx, [ebp - 0x38]
push edx
lea ecx, [esi + 0x20]
call fcn.00579980
mov edi, dword [esi + 0x44]
cmp edi, 4
je 0x59dd2b
cmp edi, 5
je 0x59dd2b
cmp dword [esi + 0x330], ebx
je 0x59dd41
mov eax, dword [esi + 0x4c8]
mov ecx, dword [esi + 0x4cc]
mov edx, eax
or edx, ecx
je 0x59dd41
mov ebx, eax
jmp 0x59dd4d
mov ecx, dword [esi + 0x4d4]
mov ebx, dword [esi + 0x4d0]
mov edx, dword [esi + 0x4d8]
mov eax, dword [esi + 0x4dc]
cmp eax, ecx
jl 0x59dd67
jg 0x59dd63
cmp edx, ebx
jbe 0x59dd67
mov ebx, edx
mov ecx, eax
cmp dword [esi + 0x4cc], 0
jl 0x59dd7b
jg 0x59dd92
cmp dword [esi + 0x4c8], 0
ja 0x59dd92
cmp edi, 4
je 0x59dd92
cmp edi, 5
je 0x59dd92
cmp dword [esi + 0x330], 0
jne 0x59dd92
xor dl, dl
jmp 0x59dd94
mov dl, 1
mov eax, dword [ebp - 0x38]
test eax, eax
mov edi, eax
jne 0x59dda0
lea edi, [ebp - 0x34]
cmp dword [esi + 0x54], 0
je 0x59ddab
mov eax, dword [esi + 0x54]
jmp 0x59ddae
lea eax, [esi + 0x58]
push 0
push edi
push eax
push edx
push ecx
push ebx
movzx eax, word [esi + 0x16e]
and eax, 1
push eax
lea ecx, [ebp - 0x32c]
call fcn.00442c30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x32c]
call fcn.005d199e
cmp eax, 1
jne 0x59e218
mov eax, dword [ebp - 0x110]
cmp eax, 1
jne 0x59dee3
mov ebx, 0x3c
push ebx
push 0
lea ecx, [ebp - 0x49c]
push ecx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x49c], ebx
mov edi, 0x40
mov dword [ebp - 0x498], edi
cmp dword [esi + 0x54], 0
je 0x59de25
mov eax, dword [esi + 0x54]
jmp 0x59de28
lea eax, [esi + 0x58]
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x480], 1
lea edx, [ebp - 0x49c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x59e218
cmp dword [0x704d14], eax
jne 0x59e218
push ebx
push eax
lea eax, [ebp - 0x460]
push eax
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], edi
cmp dword [esi + 0x54], 0
je 0x59de81
mov esi, dword [esi + 0x54]
jmp 0x59de84
add esi, 0x58
push 0
push esi
lea ecx, [ebp - 0x330]
push ecx
call fcn.00402a50
mov byte [ebp - 4], 5
push 0x3f
mov edx, dword [ebp - 0x330]
push edx
call fcn.005f9b50
add esp, 0x14
test eax, eax
jne 0x59decf
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x444], 1
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x330]
call fcn.00402550
jmp 0x59e218
cmp eax, 2
jne 0x59e04a
xor ebx, ebx
cmp dword [esi + 0x54], ebx
je 0x59def8
mov esi, dword [esi + 0x54]
jmp 0x59defb
add esi, 0x58
push esi
lea ecx, [ebp - 0x20]
call fcn.00402160
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x59df12
lea eax, [ebp - 0x1c]
push 0x5c
push eax
call fcn.005f80fb
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x59e20c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor edx, edx
mov word [ebp - 0x28], dx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x59df41
lea eax, [ebp - 0x1c]
push ebx
push eax
push str._n__select___s_
lea ecx, [ebp - 0x2c]
call fcn.00402190
add esi, 2
xor eax, eax
mov word [esi], ax
mov esi, 0x3c
push esi
push ebx
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x3ac], esi
mov edi, 0x40
mov dword [ebp - 0x3a8], edi
mov dword [ebp - 0x390], 1
mov dword [ebp - 0x39c], 0x654dc4
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x59dfa2
mov dword [ebp - 0x398], eax
jmp 0x59dfab
lea edx, [ebp - 0x28]
mov dword [ebp - 0x398], edx
lea eax, [ebp - 0x3ac]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x59e039
cmp dword [0x704d14], ebx
jne 0x59e039
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x59dfce
lea eax, [ebp - 0x28]
push ebx
push eax
lea ecx, [ebp - 0x330]
push ecx
call fcn.00402a50
mov byte [ebp - 4], 8
push esi
push ebx
lea edx, [ebp - 0x424]
push edx
call fcn.005f8cb0
add esp, 0x18
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x408], 1
mov dword [ebp - 0x414], str.explorer.exe
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x410], eax
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x330]
call fcn.00402550
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004011f0
jmp 0x59e20c
cmp eax, 3
jne 0x59e218
xor bl, bl
mov byte [ebp - 0x331], bl
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov word [ebp - 0x1c], dx
mov byte [ebp - 4], 9
mov dword [ebp - 0xcc], 0x94
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x59e0a2
cmp dword [ebp - 0xbc], 2
jne 0x59e0a2
cmp dword [ebp - 0xc8], 6
jb 0x59e0a2
mov bl, 1
mov byte [ebp - 0x331], bl
push 0x3c
push 0
lea ecx, [ebp - 0x370]
push ecx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x370], 0x3c
mov edi, 0x40
mov dword [ebp - 0x36c], edi
mov dword [ebp - 0x354], 1
test bl, bl
je 0x59e13a
mov dword [ebp - 0x360], str.rundll32.exe
cmp dword [esi + 0x54], 0
je 0x59e0ed
mov esi, dword [esi + 0x54]
jmp 0x59e0f0
add esi, 0x58
push 0
push esi
push str.shell32.dll_OpenAs_RunDLL__s
lea ecx, [ebp - 0x20]
call fcn.00402190
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x59e11f
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x59e20c
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x35c], edx
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x59e20c
cmp dword [esi + 0x54], 0
je 0x59e145
mov eax, dword [esi + 0x54]
jmp 0x59e148
lea eax, [esi + 0x58]
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x364], str.openas
lea ecx, [ebp - 0x370]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x59e20c
cmp dword [0x704d14], eax
jne 0x59e20c
cmp dword [esi + 0x54], eax
je 0x59e183
mov esi, dword [esi + 0x54]
jmp 0x59e186
add esi, 0x58
push 0
push esi
lea edx, [ebp - 0x330]
push edx
call fcn.00402a50
mov byte [ebp - 4], 0xa
push 0x3f
mov eax, dword [ebp - 0x330]
push eax
call fcn.005f9b50
add esp, 0x14
test eax, eax
jne 0x59e1fd
push 0x3c
push eax
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x3e8], 0x3c
mov dword [ebp - 0x3e4], edi
mov dword [ebp - 0x3cc], 1
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x3d8], edx
mov dword [ebp - 0x3dc], 0x65aa78
lea eax, [ebp - 0x3e8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x330]
call fcn.00402550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x32c]
call fcn.00442db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret