Function at 0x401450
Capabilities:
Check os version
Create thread
Terminate thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
call fcn.00401280
mov esi, dword [0x4040a4]
mov edi, dword [0x4040a8]
test eax, eax
jne 0x40149d
push 0xfffffffffffffff5
call esi
push 0xc
push eax
call edi
push str._ERROR__Failed_to_Set_Debug_Privilege__n
call fcn.004011a0
add esp, 4
push 0xfffffffffffffff5
call esi
push 7
push eax
call edi
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call sub.P_2
mov esi, dword [0x4040ac]
lea eax, [ebp - 0x120]
add esp, 0xc
push eax
call esi
test eax, eax
jne 0x4014eb
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je case.default.0x401524
cmp dword [ebp - 0x110], 2
jne case.default.0x401524
mov eax, dword [ebp - 0x11c]
sub eax, 4
je 0x4015bd
sub eax, 1
je 0x401581
sub eax, 1
jne case.default.0x401524
mov eax, dword [ebp - 0x118]
cmp eax, 3
ja case.default.0x401524
jmp dword [eax*4 + 0x401a4c]
cmp byte [ebp - 6], 1
jne 0x40153b
push str._Info__OS_Windows_Vista_t6.0_n
jmp 0x4015cb
push str._Info__OS_Windows_Server_2008_t6.0_n
jmp 0x4015cb
cmp byte [ebp - 6], 1
jne 0x401552
push str._Info__OS_Windows_7_t6.1_n
jmp 0x4015cb
push str._Info__OS_Windows_Server_2008_R2_t6.1_n
jmp 0x4015cb
cmp byte [ebp - 6], 1
jne 0x401566
push str._Info__OS_Windows_8_t6.2_n
jmp 0x4015cb
push str._Info__OS_Windows_Server_2012_t6.2_n
jmp 0x4015cb
cmp byte [ebp - 6], 1
jne 0x40157a
push str._Info__OS_Windows_8.1_t6.3_n
jmp 0x4015cb
push str._Info__OS_Windows_Server_2012_R2_t6.3_n
jmp 0x4015cb
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x4015b6
cmp eax, 1
jne 0x401597
push str._Info__OS_Windows_XP_t5.1_n
jmp 0x4015cb
cmp eax, 2
jne case.default.0x401524
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4015af
push str._Info__OS_Windows_Server_2003_tR2_5.2_n
jmp 0x4015cb
push str._Info__OS_Windows_Server_2003_t5.2_n
jmp 0x4015cb
push str._Info__OS_Windows_2000_5.0_n
jmp 0x4015cb
cmp dword [ebp - 0x118], 0
jne case.default.0x401524
push str._Info__OS_Windows_NT_4.0_n
call fcn.004011a0
add esp, 4
cmp dword [ebp + 8], 5
jge 0x4015f3
mov ecx, dword [ebx]
call fcn.00401220
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402829
mov esp, ebp
pop ebp
ret
xor edx, edx
xor ecx, ecx
push edx
push edx
push edx
push 0x4010d0
push edx
xor edi, edi
mov dword [ebp - 0x124], ecx
push edx
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], edx
call dword [0x404080]
push eax
call dword [0x404084]
mov esi, 1
cmp dword [ebp + 8], esi
jle 0x4019b6
mov edi, dword [0x404190]
push 3
push 0x404510
push dword [ebx + esi*4]
call edi
add esp, 0xc
test eax, eax
je 0x4016cc
push 3
push 0x404518
push dword [ebx + esi*4]
call edi
add esp, 0xc
test eax, eax
je 0x4016cc
push 3
push 0x404520
push dword [ebx + esi*4]
call edi
add esp, 0xc
test eax, eax
je 0x4016b9
push 3
push 0x404528
push dword [ebx + esi*4]
call edi
add esp, 0xc
test eax, eax
je 0x4016b9
push 3
push 0x404530
push dword [ebx + esi*4]
call edi
add esp, 0xc
test eax, eax
je 0x4016ac
push 3
push 0x404538
push dword [ebx + esi*4]
call edi
add esp, 0xc
test eax, eax
jne 0x4016e5
mov edx, dword [ebx + esi*4 + 4]
inc esi
mov dword [ebp - 0x12c], edx
jmp 0x4016eb
mov eax, dword [ebx + esi*4 + 4]
inc esi
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], eax
jmp 0x4016f1
mov ecx, dword [ebx + esi*4 + 4]
inc esi
mov eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x124], ecx
jmp 0x4016f7
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
inc esi
cmp esi, dword [ebp + 8]
jl 0x401636
test ecx, ecx
je 0x4019b6
test eax, eax
je 0x4019b6
test edx, edx
je 0x4019b6
mov ecx, eax
call fcn.00401000
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x124]
call fcn.00402250
mov ebx, eax
test ebx, ebx
je 0x4018db
mov esi, dword [0x4040a4]
push 0xfffffffffffffff5
call esi
mov edi, dword [0x4040a8]
push 0x17
push eax
call edi
push str._Info__Start_to_Monitor_process_and_Move_Mouse_n
push 1
call dword [0x404180]
add esp, 4
push eax
call fcn.00401170
add esp, 8
push 0xfffffffffffffff5
call esi
push 7
push eax
call edi
mov edi, dword [ebp - 0x128]
mov esi, dword [0x404080]
push 0
push 0
push edi
push 0x402740
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401a60
push 0
push 0
mov dword [ebp - 0x130], eax
call esi
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 0
call dword [0x404090]
lea eax, [ebp - 0x124]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4017d1
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 0x208]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4018a7
push edi
push str._sexit_code.txt
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x4045ac
push esi
call dword [0x404174]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x401840
push dword [ebp - 0x124]
push 0x4045b4
push edi
call fcn.00401170
push edi
call dword [0x404168]
add esp, 0x10
jmp 0x401897
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
mov dword [ebp - 0x12c], 0
call dword [0x404094]
mov edi, eax
cmp edi, 0xffffffff
je 0x401897
push dword [ebp - 0x124]
push 0x4045b4
push esi
call fcn.004011e0
add esp, 0xc
lea ecx, [ebp - 0x12c]
push 0
push ecx
push eax
push esi
push edi
call dword [0x404098]
push edi
call dword [0x404084]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [0x4040a0]
mov edi, dword [ebp - 0x128]
mov esi, dword [0x404088]
push 0
push edi
call esi
push edi
call dword [0x404084]
mov edi, dword [ebp - 0x130]
push 0
push edi
call esi
mov esi, dword [0x404084]
push edi
call esi
push ebx
call esi
jmp 0x4019ae
mov edi, dword [ebp - 0x128]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4018e6
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 0x208]
push eax
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4019ae
push edi
push str._sexit_code.txt
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x4045ac
push esi
call dword [0x404174]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x401951
push str.Unsupported
push edi
call fcn.00401170
push edi
call dword [0x404168]
add esp, 0xc
jmp 0x4019a2
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
mov dword [ebp - 0x130], 0
call dword [0x404094]
mov edi, eax
cmp edi, 0xffffffff
je 0x4019a2
push str.Unsupported
push esi
call fcn.004011e0
add esp, 8
lea ecx, [ebp - 0x130]
push 0
push ecx
push eax
push esi
push edi
call dword [0x404098]
push edi
call dword [0x404084]
push esi
push 1
call ebx
push eax
call dword [0x4040a0]
push 0
call dword [0x404118]
mov esi, dword [0x4040a4]
push 0xfffffffffffffff5
call esi
mov edi, dword [0x4040a8]
push 0xc
push eax
call edi
push str._ERROR__Error_Command__n
call fcn.004011a0
add esp, 4
push 0xfffffffffffffff5
call esi
push 7
push eax
call edi
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.Run_Sample_v1.0.0_n
mov esi, eax
call fcn.004011a0
push esi
push str._s__p__sampe_path___s__save_path___t__sampe_type__n
call fcn.00401130
push str._t__p
call fcn.004011a0
push str._t__s
call fcn.004011a0
push str._t__t
call fcn.004011a0
push str._t_________________PPT__PYTHON__BAT__POWERSHELL___n
call fcn.004011a0
push esi
push str.example:_n_t_s__p_C:_sample.exe__s_C:SnapshotPath__t_EXE_n_n
call fcn.00401130
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00402829
mov esp, ebp
pop ebp
ret