Function at 0x428d20
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x437642
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x60]
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x20a
push 0x10
call fcn.00420070
push 0x20a
mov ebp, eax
push 0
push ebp
mov dword [esp + 0x28], ebp
call sub.MSVCR80.dll_memset
push 0x14
push 0x10
call fcn.00420070
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
add esp, 0x1c
test ebx, ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
je 0x428de7
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428da0
push 0
push 0
sub eax, edx
push eax
push ebx
push 0
push 0
mov dword [esp + 0x78], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp edi, 0x104
jb 0x428dce
mov edi, 0x103
mov eax, dword [esp + 0x60]
push edi
push ebp
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [ebp + edi*2], 0
mov edx, dword [esp + 0x64]
test edx, edx
je 0x428e39
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428df4
push 0
push 0
sub eax, edi
mov ebp, eax
push ebp
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp edi, 0xa
jb 0x428e1d
mov edi, 9
mov ecx, dword [esp + 0x64]
push edi
push esi
push ebp
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, dword [esp + 0x14]
mov word [esi + edi*2], 0
push esi
push ebp
call dword [sym.imp.MSVCR80.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x64], edi
jne 0x428ef9
push eax
push ebp
call dword [sym.imp.MSVCR80.dll__waccess]
or edi, 0xffffffff
add esp, 8
cmp eax, edi
mov eax, dword [esp + 0x68]
jne 0x428ea9
test eax, eax
je 0x428e6f
mov byte [eax], 1
push ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x7c], esp
push str._does_not_exist_
push eax
push edx
mov dword [esp + 0x80], 0
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
call fcn.00428bc0
lea ecx, [esp + 0x34]
jmp 0x428ee8
test eax, eax
je 0x428eb0
mov byte [eax], 1
push ebx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push str._file_exist_but_can_not_open_
push eax
push ecx
mov dword [esp + 0x80], 1
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
call fcn.00428bc0
lea ecx, [esp + 0x50]
add esp, 0x1c
mov dword [esp + 0x58], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x64]
test ebp, ebp
je 0x428f06
push ebp
call fcn.00420060
add esp, 4
test esi, esi
je 0x428f13
push esi
call fcn.00420060
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret