Function at 0x427614
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x288]
sub esp, 0x308
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x284], eax
push ebx
push esi
mov esi, dword [ebp + 0x290]
push edi
xor edi, edi
inc edi
xor ebx, ebx
cmp dword [esi + 0x7a0], ebx
push 0x104
lea eax, [ebp + 0x180]
mov dword [esi + 0x104], 0x694
mov dword [esi + 0x10c], edi
push eax
je 0x42768f
push 0x2748
push dword [0x47d724]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x427696
push 0x2793
call fcn.0046708d
push eax
call fcn.00460601
pop ecx
or eax, 0xffffffff
jmp 0x427851
push 0x30d5
jmp 0x427666
mov dword [ebp - 0x20], edi
lea edi, [ebp + 0x180]
call fcn.00465622
test eax, eax
mov dword [ebp - 0x24], eax
je 0x4276c1
push eax
call fcn.0042bc00
pop ecx
push eax
call dword [sym.imp.NfoMgr4.dll_Nfo_GetSecurity]
mov ebx, eax
shr ebx, 0x13
and ebx, 1
cmp byte [ebp + 0x180], 0
je 0x4276f1
cmp byte [edi], 0x7c
jne 0x4276e5
cmp dword [ebp - 0x24], 0
mov byte [edi], 0
je 0x4276dc
test ebx, ebx
jne 0x4276e5
cmp dword [ebp - 0x20], 2
je 0x4276ed
inc dword [ebp - 0x20]
inc edi
cmp byte [edi], 0
jne 0x4276ca
jmp 0x4276f1
mov byte [edi + 1], 0
push 0x58
lea eax, [ebp - 0x80]
push 0
push eax
mov byte [esi], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x47b608
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x42771b
push edi
call fcn.0041a3ec
pop ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x9c
call ebx
test eax, eax
jne 0x427743
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call ebx
test eax, eax
je 0x427750
cmp dword [ebp - 0x18], 5
mov dword [ebp - 0x80], 0x58
jae 0x427757
mov dword [ebp - 0x80], 0x4c
mov eax, dword [0x47b5f4]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x47d724]
mov dword [ebp - 0x78], eax
xor ebx, ebx
lea eax, [ebp + 0x180]
inc ebx
push 0x2792
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0x104
call fcn.0046708d
cmp dword [0x47b4c8], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], 0x46bc1c
mov dword [ebp - 0x40], esi
jne 0x4277ba
mov dword [ebp - 0x4c], 0x866
mov dword [ebp - 0x3c], 0x4275b7
mov dword [ebp - 0x38], 0x9b
jmp 0x4277cf
mov dword [ebp - 0x4c], 0x880866
mov dword [ebp - 0x3c], 0x427380
mov dword [ebp - 0x38], 0x9a
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
jne 0x4277f7
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
test eax, eax
je 0x4277f2
push eax
call fcn.00453762
jmp 0x427686
push 0xfffffffffffffffe
pop eax
jmp 0x427851
cmp dword [esi + 0x7a0], 0
je 0x427805
cmp dword [ebp - 0x68], ebx
je 0x42780b
cmp dword [ebp - 0x68], 2
jne 0x427820
push dword [ebp - 0x24]
mov dword [esi + 0x108], ebx
call fcn.0042bc00
pop ecx
mov dword [esi + 0x110], eax
push 0
push 0
lea eax, [ebp + 0x80]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.MSVCR80.dll__splitpath]
push 0
push 0
lea eax, [ebp + 0x80]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.MSVCR80.dll__makepath]
add esp, 0x28
xor eax, eax
mov ecx, dword [ebp + 0x284]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x288
leave
ret