Function at 0x4095e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x414769
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov esi, ecx
sub esp, 0x10
lea eax, [esp + 0x23]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
push 0x41b3b0
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
lea ecx, [esp + 0x48]
push ecx
call fcn.0040bfd0
add esp, 0x14
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esi + 0x20]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, esi
call fcn.0040d4b0
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 4]
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x4096e4
mov ecx, dword [esi + 0xbc]
sub ecx, eax
sar ecx, 4
cmp ebp, ecx
jae 0x4096e4
mov edx, eax
lea eax, [esi + 0xe0]
add edx, edi
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
jne 0x4096a4
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebx
je 0x4096d2
mov al, byte [ecx - 1]
cmp al, bl
je 0x4096c8
cmp al, 0xff
je 0x4096c8
dec al
mov byte [ecx - 1], al
jmp 0x4096d2
dec ecx
push ecx
call fcn.004134f0
add esp, 4
inc ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
add edi, 0x10
jmp 0x409665
lea edx, [esi + 0x70]
add esi, 0xe0
push edx
lea eax, [esp + 0x2c]
push esi
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
jne 0x409709
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp ecx, ebx
je 0x409748
mov al, byte [ecx - 1]
cmp al, bl
je 0x40973e
cmp al, 0xff
je 0x40973e
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
dec ecx
push ecx
call fcn.004134f0
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret