Function at 0x40fb90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45db39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], 0
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4d]
mov dword [esp + 0x2c], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x28], 1
xor ecx, ecx
mov eax, dword [esi + 0x190]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x41007f
mov edx, dword [esi + 0x194]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x41007f
mov ebp, dword [eax + ecx*4]
mov eax, dword [ebp + 0x190]
test eax, eax
jne 0x410075
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp + 0xfc]
mov edx, dword [eax]
lea eax, [esi + 0x15c]
push edx
push 0
push eax
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp + 0x10c]
mov eax, dword [edx]
lea edx, [esi + 0x16c]
push eax
push 0
push edx
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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esi, 0x260
lea ecx, [ebp + 0x11c]
mov edx, dword [eax]
push edx
push 0
push esi
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 eax, dword [ebp + 0xb0]
mov edi, 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]
test eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], edi
je 0x40fc97
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xa0]
mov ebx, edi
test eax, eax
je 0x40fca5
mov ebx, eax
mov eax, dword [ebp + 0xc0]
mov edx, edi
test eax, eax
je 0x40fcb3
mov edx, eax
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x40fcbf
mov edi, eax
test edi, edi
je 0x40fced
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x26c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x40fd1d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x370]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, edx
je 0x40fd47
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x474]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x40fd73
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x578]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x26c]
push ecx
call fcn.00457f60
add esp, 4
test eax, eax
je 0x40fd9a
push ebp
mov dword [esp + 0x14], 0
call fcn.00412e40
add esp, 4
jmp 0x40fda2
mov dword [esp + 0x10], 4
lea ecx, [esp + 0x18]
call fcn.0040c860
lea ecx, [esp + 0x18]
mov dword [esp + 0x684], 0
call fcn.0040e8a0
push 0x4714c8
push 0x4714e0
lea ecx, [esp + 0x20]
call fcn.0040c590
mov esi, 0x4714c0
mov eax, 0x4714c8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40fe06
test cl, cl
je 0x40fe00
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40fe06
add eax, 2
add esi, 2
test cl, cl
jne 0x40fddc
xor ebx, ebx
xor eax, eax
jmp 0x40fe0d
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
je 0x40fe48
mov esi, str.mini
mov eax, 0x4714c8
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40fe3f
test cl, cl
je 0x40fe3b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40fe3f
add eax, 2
add esi, 2
test cl, cl
jne 0x40fe1b
xor eax, eax
jmp 0x40fe44
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40fe5b
push 0x476804
push str.biz_stay_time
lea ecx, [esp + 0x20]
call fcn.0040c590
mov al, byte [ebp + 0x11c]
sub esp, 0x10
lea edi, [ebp + 0x11c]
mov esi, esp
mov dword [esp + 0x24], esp
push ebx
mov ecx, esi
mov dword [esp + 0x698], 1
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push edi
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_]
sub esp, 0x10
lea eax, [ebp + 0x10c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x6a8], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x10
lea eax, [ebp + 0xfc]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0x6b8], 3
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x48]
mov byte [esp + 0x6b4], 1
push eax
call fcn.004273c0
mov eax, dword [ebp + 4]
add esp, 0x34
cmp eax, ebx
jne 0x40fef6
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]
lea ecx, [esp + 0x4c]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [sym.imp.MSVCRT.dll__itoa]
add esp, 4
push eax
call esi
add esp, 0xc
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x18]
push edx
push 0x4714d8
call fcn.0040c590
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push 0xa
push eax
push edi
call esi
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
push 0x4714cc
lea ecx, [esp + 0x20]
call fcn.0040c590
lea edx, [esp + 0x18]
push edx
call fcn.004105e0
add esp, 4
cmp edi, ebx
mov ecx, 0x46f4dc
jne 0x40ff65
mov ecx, 0x46f4e4
mov eax, dword [ebp + 0x90]
cmp eax, ebx
jne 0x40ff74
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 ecx
push eax
lea eax, [esp + 0x74]
push 0x471578
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp + 0x198]
add esp, 0x10
cmp eax, ebx
jne 0x40ff98
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.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x684], 4
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x34], ecx
je 0x40ffed
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
cmp eax, ebx
je 0x40ffcb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp esi, ebx
je 0x40ffd8
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00417750
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x40ffb8
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x24]
call fcn.00416ad0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push eax
mov dword [esp + 0x688], 0xffffffff
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00416ad0
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x4768b8]
dec eax
mov dword [0x4768b8], eax
jne 0x41005a
mov esi, dword [0x4768bc]
mov dword [0x4768bc], ebx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x410071
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
inc ecx
jmp 0x40fbe9
mov ecx, dword [esp + 0x67c]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x678
ret