Function at 0x403440
Capabilities:
Check os version
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x429280]
xor eax, esp
mov dword [esp + 0x668], eax
mov eax, dword [0x42b470]
push ebx
push esi
push edi
cmp dword [eax + 0x38], 0
mov edi, ecx
je 0x4036ac
mov eax, dword [edi + 8]
test eax, eax
je 0x403481
push 0x425d88
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x4034b0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edi
call esi
inc eax
mov ecx, 0x64
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x1c], 5
jne 0x403690
cmp dword [esp + 0x20], 1
jne 0x403690
xor eax, eax
push 0x206
push eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x26a]
push eax
call fcn.004173f0
add esp, 0xc
xor eax, eax
mov word [esp + 0x134], ax
xorps xmm0, xmm0
mov dword [esp + 0x156], eax
mov word [esp + 0x15a], ax
push 0x3a
push eax
mov word [esp + 0x164], ax
lea eax, [esp + 0x166]
push eax
movdqu xmmword [esp + 0x142], xmm0
movdqu xmmword [esp + 0x152], xmm0
call fcn.004173f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x140]
add esp, 0xc
push str..ysver
push eax
call edi
push str.2.3.0.0
lea eax, [esp + 0x160]
push eax
call edi
push str..ysver
lea eax, [esp + 0x160]
push eax
call edi
call fcn.00405620
push eax
lea eax, [esp + 0x264]
push eax
call edi
lea eax, [esp + 0x15c]
push eax
lea eax, [esp + 0x264]
push eax
call edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x470], ax
lea eax, [esp + 0x472]
push eax
call fcn.004173f0
add esp, 0xc
call fcn.00405620
push eax
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [0x42b470]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x40361a
push dword [esi + 0xc]
push str.REName
sub esp, 8
call fcn.00407330
test al, al
jne 0x40361a
push str.MPlayer.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push dword [esi + 0xc]
push str.REName
push str.SOFTWARE114zhibo
push 0x80000002
call fcn.004072a0
mov eax, dword [esi + 0xc]
push eax
lea eax, [esp + 0x46c]
push eax
call edi
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.0040a070
push 0
push 0
push 1
push 0
push 0
push 0x10000000
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40366e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x260]
push eax
call fcn.004099d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00410c0e
mov esp, ebp
pop ebp
ret
push 0
call fcn.004099d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00410c0e
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x1a0], ax
lea eax, [esp + 0x1a2]
push eax
call fcn.004173f0
add esp, 0xc
call fcn.00405620
push eax
lea eax, [esp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x198]
push str.2.3.0.0
push eax
call esi
push str..ysver
lea eax, [esp + 0x19c]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x198]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
mov esi, eax
test esi, esi
jle 0x403761
lea eax, [esi + 1]
push eax
call fcn.004115e5
mov edi, eax
add esp, 4
test edi, edi
je 0x403761
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.004173f0
add esp, 0xc
lea eax, [esp + 0x198]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
jmp 0x403763
xor edi, edi
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push str.2.3.0.0
push 0
push 0
call ebx
mov dword [esp + 0xc], eax
test eax, eax
jle 0x4037bb
inc eax
push eax
mov dword [esp + 0x14], eax
call fcn.004115e5
mov esi, eax
add esp, 4
test esi, esi
je 0x4037bb
push dword [esp + 0x10]
push 0
push esi
call fcn.004173f0
add esp, 0xc
push 0
push 0
push dword [esp + 0x14]
push esi
push 0xffffffffffffffff
push str.2.3.0.0
push 0
push 0
call ebx
jmp 0x4037bd
xor esi, esi
push 0x425dac
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push edi
push eax
call fcn.00410e60
mov edx, dword [esp + 0x20]
add esp, 0xc
test edx, edx
je 0x40381e
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4037e5
push edx
sub ecx, ebx
push 1
push ecx
push esi
call fcn.00410ffe
push dword [esp + 0x24]
call fcn.004110ec
add esp, 0x14
test edi, edi
je 0x403811
push edi
call fcn.00410d64
add esp, 4
test esi, esi
je 0x40381e
push esi
call fcn.00410d64
add esp, 4
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410c0e
mov esp, ebp
pop ebp
ret