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

Disassembly:
push 0xffffffffffffffff
push 0x457c88
mov eax, dword fs:[0]
push eax
sub esp, 0x9b4
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x9b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x9c8]
mov dword fs:[0], eax
push 0x11c
xor edi, edi
lea eax, [esp + 0xa8]
push edi
push eax
call fcn.00443e10
add esp, 0xc
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], 0x11c
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4288cb
push 0x46423c
push 0x400
lea edx, [esp + 0x1cc]
push 0x200
push edx
lea ebp, [edi + 3]
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x6c]
call fcn.0042a750
mov dword [esp + 0x9d0], edi
mov ebx, 7
lea eax, [esp + 0x1c4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4287f4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c8]
push eax
lea esi, [esp + 0x20]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x74]
mov byte [esp + 0x9d8], 1
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x428845
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x84], esi
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jae 0x428863
lea edx, [esp + 0x70]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x4288a1
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x428872
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
mov dword [esp + 0x9d0], 0xffffffff
cmp dword [esp + 0x84], esi
jb 0x428a93
mov edx, dword [esp + 0x70]
push edx
call fcn.0043ef40
add esp, 4
jmp 0x428a93
mov eax, dword [esp + 0xb4]
cmp eax, 1
jbe 0x428a8e
cmp eax, 2
jne 0x428a93
mov eax, dword [esp + 0xa8]
cmp eax, 6
sbb ecx, ecx
add ecx, 1
cmp eax, 5
mov dword [0x471e70], ecx
jbe 0x428905
xor eax, eax
jmp 0x428bea
cmp eax, 4
ja 0x4289d5
push 0x464278
push 0x400
lea edx, [esp + 0x1cc]
push 0x200
push edx
mov ebp, 1
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x6c]
call fcn.0042a750
lea edx, [esp + 0x1c4]
lea eax, [esp + 0x34]
mov dword [esp + 0x9d0], 2
call fcn.00406a70
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x74]
mov byte [esp + 0x9d8], 3
call fcn.00406d90
mov ebx, 8
cmp dword [esp + 0x4c], ebx
jb 0x428984
mov eax, dword [esp + 0x38]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x84], ebx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
jae 0x4289a6
lea esi, [esp + 0x70]
call fcn.0041a270
mov dword [esp + 0x9d0], 0xffffffff
cmp dword [esp + 0x84], ebx
jb 0x428a93
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043ef40
add esp, 4
jmp 0x428a93
cmp eax, 5
jne 0x4289ed
cmp dword [esp + 0xac], edi
jne 0x4289ed
mov dword [0x471e74], 1
call fcn.004286e0
test eax, eax
jne 0x4288fe
push 0x4642b0
push 0x400
lea edx, [esp + 0x1cc]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x6c]
call fcn.0042a750
lea edx, [esp + 0x1c4]
lea eax, [esp + 0x50]
mov dword [esp + 0x9d0], 4
call fcn.00406a70
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x74]
mov byte [esp + 0x9d8], 5
call fcn.00406d90
lea ecx, [esp + 0x50]
call fcn.00406ab0
cmp dword [esp + 0x84], 8
mov esi, dword [esp + 0x70]
jae 0x428a6e
lea esi, [esp + 0x70]
call fcn.0041a270
lea ecx, [esp + 0x6c]
mov dword [esp + 0x9d0], 0xffffffff
call fcn.00406ab0
mov ebp, 2
jmp 0x428a93
mov ebp, 1
lea eax, [esp + 0x1c4]
push eax
push 2
mov dword [esp + 0x1cc], 0x3b8
mov dword [esp + 0x1d0], edi
mov dword [esp + 0x1d4], 0xa
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push ebp
push 0x4642fc
push 0x400
lea ecx, [esp + 0x5d0]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x88]
call fcn.0042a750
mov dword [esp + 0x9d0], 6
mov ebx, 7
lea eax, [esp + 0x5c4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x428b13
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5c8]
push edx
lea esi, [esp + 0x20]
call fcn.00406f20
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x90]
mov byte [esp + 0x9d8], 7
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x428b67
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xa0], esi
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jae 0x428b8b
lea edx, [esp + 0x8c]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x428bcf
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x428ba0
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0xa0], esi
jb 0x428be8
mov edx, dword [esp + 0x8c]
push edx
call fcn.0043ef40
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x9c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9b0]
xor ecx, esp
call fcn.0043ef12
add esp, 0x9c0
ret