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

Disassembly:
push ebp
lea ebp, [esp - 0x2328]
mov eax, 0x23a8
call fcn.004571d0
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x2324], eax
push ebx
push esi
push edi
mov edi, ecx
push 8
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 0x2221]
push ebx
push eax
mov byte [ebp + 0x2220], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp + 0x2220]
push eax
push 0x27ce
push dword [0x47d724]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x447342
cmp byte [ebp + 0x2220], bl
lea eax, [ebp + 0x2220]
je 0x447342
cmp byte [eax], 0x7c
jne 0x44733d
mov byte [eax], bl
inc eax
cmp byte [eax], bl
jne 0x447336
push esi
lea eax, [ebp + 0x211d]
push ebx
push eax
mov byte [ebp + 0x211c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xba
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
mov edi, eax
push 0x188
push edi
call esi
cmp eax, 0xffffffff
je 0x4475ea
lea ecx, [ebp + 0x209c]
push ecx
push eax
push 0x189
push edi
call esi
push 0x58
pop edi
push edi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x9c
call esi
cmp eax, ebx
jne 0x4473c9
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call esi
cmp eax, ebx
je 0x4473d2
cmp dword [ebp + 4], 5
mov dword [ebp - 0x80], edi
jae 0x4473d9
mov dword [ebp - 0x80], 0x4c
mov edi, dword [ebp - 0xc]
lea eax, [ebp + 0x2220]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x211c]
push 4
mov dword [ebp - 0x64], eax
pop esi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x60], 0x104
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], 0x46cc00
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
jne 0x447449
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
cmp eax, ebx
je 0x4475ea
push eax
call fcn.00453762
pop ecx
call fcn.0045387a
push eax
push 0x30
push 0x27c9
call fcn.0046708d
push eax
push 0x27cf
jmp 0x447486
push ebx
push 0x8000080
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x211c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x44749a
lea eax, [ebp + 0x211c]
push eax
push 0x30
push 0x27c9
call fcn.0046708d
push eax
push 0x27d3
call fcn.0046708d
push eax
push edi
call fcn.00455173
add esp, 0x14
jmp 0x4475ea
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x209c]
push eax
push str.Query_Template
push dword [ebp - 4]
call dword [sym.imp.NfoMgr4.dll_Nfo_GetObjectIDA]
test eax, eax
jne 0x4474cd
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.NfoMgr4.dll_Nfo_OpenObject]
test eax, eax
je 0x4474fa
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push 0x27c9
call fcn.0046708d
push eax
push 0x27d4
call fcn.0046708d
push eax
push edi
call fcn.00455173
add esp, 0x14
jmp 0x4475e1
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.NfoMgr4.dll_Nfo_GetObjectSize]
test eax, eax
je 0x447511
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jbe 0x4475d8
mov esi, 0x2000
sub eax, dword [ebp - 4]
mov edi, esi
cmp eax, esi
ja 0x44752c
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 8]
call dword [sym.imp.NfoMgr4.dll_Nfo_ReadObject]
test eax, eax
jne 0x447575
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4475a1
mov eax, dword [ebp - 0x14]
cmp edi, eax
jne 0x4475b5
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], eax
jb 0x447521
jmp 0x4475d8
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push 0x27c9
call fcn.0046708d
push eax
push 0x27d5
call fcn.0046708d
push eax
push dword [ebp - 0xc]
call fcn.00455173
add esp, 0x14
jmp 0x4475d8
push 0x30
push 0x27c9
call fcn.0046708d
push eax
push 0x27d7
jmp 0x4475c7
push 0x30
push 0x27c9
call fcn.0046708d
push eax
push 0x27d6
call fcn.0046708d
push eax
push dword [ebp - 0xc]
call fcn.00455173
add esp, 0x10
push dword [ebp - 8]
call dword [sym.imp.NfoMgr4.dll_Nfo_CloseObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x2324]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x2328
leave
ret