Function at 0x462e32
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4718e7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1158
call fcn.00460a40
mov eax, dword [0x4a2018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x113c], edi
mov dword [ebp - 0x1120], eax
mov esi, edx
mov dword [ebp - 4], 3
push 0x49597c
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR90.dll_fopen]
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x112c], eax
cmp eax, ebx
jne 0x462ef8
push ebx
push dword [0x4b4c00]
push str.can_not_open_file_to_save__please_change_the_save_directory.
push ebx
call dword [sym.imp.BCGCBPRO120090.dll_int___cdecl_BCGPMessageBox_struct_HWND_____char_const___char_const___unsigned_int_]
add esp, 0x10
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403cb8
leave
ret 0x18
cmp dword [edi + 0x10], ebx
jne 0x462f15
push esi
call fcn.00462a09
test eax, eax
jne 0x462f15
push ebx
push dword [0x4b4c00]
push str.init_network_error.
jmp 0x462eac
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x462f1f
mov dword [edi + 0x1c], eax
mov esi, edi
call fcn.00462af5
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x1138], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
call fcn.00462cc4
mov byte [ebp - 4], 4
cmp byte [edi + 0x18], 0
push 2
pop eax
je 0x462f50
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [edi + 0x10]
push ebx
push ebx
push eax
push 1
push dword [ebp - 0x1120]
call sub.mfc90.dll_Ordinal_5544
mov ebx, eax
lea eax, [ebp - 0x115c]
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 4], 3
call fcn.0040348e
test ebx, ebx
je 0x4631b8
and dword [ebp - 0x111c], 0
mov byte [ebp - 4], 6
mov eax, dword [ebx]
push 0xfff
lea ecx, [ebp - 0x1118]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
jbe 0x463194
push dword [ebp - 0x112c]
lea eax, [ebp - 0x1118]
push 1
push esi
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add dword [ebp - 0x111c], esi
add esp, 0x10
lea eax, [ebp - 0x115c]
push eax
push ecx
lea eax, [ebp - 0x1168]
call fcn.0040348e
add esp, 4
lea esi, [ebp - 0x1150]
call fcn.00403316
mov eax, esi
call fcn.0040329d
fldz
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x46310e
mov esi, dword [ebp - 0x111c]
mov eax, esi
mov dword [ebp - 0x1124], eax
fild dword [ebp - 0x1124]
test eax, eax
jge 0x463020
fadd qword [0x499bd0]
fld qword [0x499bd8]
fmul st(1), st(0)
fld st(1)
fdivrp st(3)
fxch st(2)
fstp qword [edi + 0x58]
cmp esi, 0x100000
jae 0x4630a5
fstp st(1)
lea ecx, [ebp - 0x1130]
fstp qword [ebp - 0x1128]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 7
fld qword [edi + 0x58]
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [ebp - 0x1130]
fld qword [ebp - 0x1128]
fstp qword [esp]
push dword [ebp + 0x1c]
push str._s..___Read__0.01f_KBytes___0.1f_KB_s_
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
push esi
push ecx
lea eax, [ebp - 0x1130]
mov ecx, esp
mov dword [ebp - 0x1124], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov esi, edi
call fcn.00462bf6
lea ecx, [ebp - 0x1130]
jmp 0x463180
fmulp st(1)
lea ecx, [ebp - 0x1134]
fstp qword [ebp - 0x1128]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 8
fld qword [edi + 0x58]
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [ebp - 0x1134]
fld qword [ebp - 0x1128]
fstp qword [esp]
push dword [ebp + 0x1c]
push str._s..___Read__0.01f_MBytes___0.1f_KB_s_
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x1c
push esi
push ecx
lea eax, [ebp - 0x1134]
mov ecx, esp
mov dword [ebp - 0x1124], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov esi, edi
call fcn.00462bf6
lea ecx, [ebp - 0x1134]
jmp 0x463180
lea ecx, [ebp - 0x1120]
fstp st(0)
call dword [sym.imp.mfc90.dll_Ordinal_316]
push dword [ebp - 0x111c]
mov byte [ebp - 4], 9
push dword [ebp + 0x1c]
lea eax, [ebp - 0x1120]
push str._s..___Read__d_Bytes
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x10
push dword [ebp - 0x111c]
lea eax, [ebp - 0x1120]
push ecx
mov ecx, esp
mov dword [ebp - 0x1124], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov esi, edi
call fcn.00462bf6
fild dword [ebp - 0x111c]
mov eax, dword [ebp - 0x111c]
test eax, eax
jge 0x463177
fadd qword [0x499bd0]
fstp qword [edi + 0x58]
lea ecx, [ebp - 0x1120]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [edi + 4], 0
je 0x462f90
mov dword [ebp - 4], 3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
push dword [ebp - 0x112c]
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x1124], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov esi, edi
call fcn.00462cc4
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
inc eax
jmp 0x462edc