Function at 0x427a60
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4960b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x149c
call fcn.00491fc0
mov eax, dword [0x4bdc98]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, ebp
mov edi, ecx
push 0x4a3558
mov ecx, esi
mov dword [esp + 0x14a8], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x4c024c
add edi, 0xc8
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.00402180
add esp, 0xc
mov eax, dword [esp + 0x80]
xor edi, edi
cmp eax, 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14b4], edi
jae 0x427ae6
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.MSVCR71.dll__wmkdir]
add esp, 4
cmp eax, 0xffffffff
jne 0x427b74
call dword [sym.imp.MSVCR71.dll__errno]
cmp dword [eax], 2
jne 0x427b74
push 0x5e7
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32QueryNewVersion.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x14b4], 1
jb 0x427b39
mov eax, dword [eax + 4]
jmp 0x427b3c
add eax, 4
push eax
push str.ENOENT
push str._wmkdir__s_:
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x14b4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, ebx
call fcn.00417510
jmp 0x427f05
mov word [esp + 0xa0], di
xor eax, eax
mov ecx, 0x4ff
lea edi, [esp + 0xa2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0x1400
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.004179e0
or edi, 0xffffffff
cmp eax, edi
je 0x427be6
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x427c05
push 0x5f6
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32QueryNewVersion.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.GetData_function_failed_when_get_response_from_checking_new_version
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
mov ecx, ebx
call fcn.00417510
lea ecx, [esp + 0x68]
mov dword [esp + 0x14b4], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
jmp 0x427e54
lea edx, [esp + 0xa0]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp dword [esp + 0xc], 0x1400
jl 0x427e41
push 0x4a3558
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x4a1130
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402280
push 0x4c016c
push eax
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x14cc], 2
call fcn.00402180
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x14b4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x427c8c
lea eax, [esp + 0x88]
push 0x4a46b8
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x427cdc
push 0x609
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32QueryNewVersion.cpp
mov ecx, 0x4bfb40
call fcn.00441240
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Oepn_file_failed_for_saving_response_from_checking_new_version.Error_code_is:_d
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
mov ecx, ebx
call fcn.00417510
jmp 0x427ef0
mov eax, dword [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0xa8]
push 1
push ecx
call dword [sym.imp.MSVCR71.dll_fwrite]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
cmp eax, ecx
je 0x427daa
push 0x611
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32QueryNewVersion.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x14b4], 5
jb 0x427d3d
mov eax, dword [eax + 4]
jmp 0x427d40
add eax, 4
push eax
push str.Write_file__s_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
lea ecx, [esp + 0x4c]
mov byte [esp + 0x14b4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, ebx
call fcn.00417510
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x14b4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x68]
mov dword [esp + 0x14b4], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or eax, 0xffffffff
jmp 0x427e54
test ecx, ecx
jle 0x427e0b
mov edi, edi
xor eax, eax
mov ecx, 0x500
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x1400
lea edx, [esp + 0xa8]
push edx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004179e0
cmp eax, 0xffffffff
je 0x427edf
mov eax, dword [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0xa8]
push 1
push ecx
call dword [sym.imp.MSVCR71.dll_fwrite]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
cmp eax, ecx
jne 0x427e79
test ecx, ecx
jg 0x427db0
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.00426b70
add esp, 0x10
lea ecx, [esp + 0x84]
mov byte [esp + 0x14b4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or edi, 0xffffffff
lea ecx, [esp + 0x68]
mov dword [esp + 0x14b4], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x14ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x14a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491e29
mov esp, ebp
pop ebp
ret 8
push 0x624
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32QueryNewVersion.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x14b4], 6
jb 0x427eb5
mov eax, dword [eax + 4]
jmp 0x427eb8
add eax, 4
push eax
push str.Write_file__s_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x14b4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, ebx
call fcn.00417510
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x14b4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x68]
mov dword [esp + 0x14b4], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or eax, 0xffffffff
jmp 0x427e54