Function at 0x4047d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x1a0]
mov byte [ebp - 4], 3
test eax, eax
jne 0x404853
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00434eae
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00434eae
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00434eae
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp + 0xf]
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x2c], esp
push 0
mov ecx, esi
mov dword [ebp - 0x24], esi
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 edi, 0x44a0f4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, esi
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4048b2
mov ecx, ebx
mov eax, esi
mov edx, ecx
mov esi, 0x44a0f4
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
add eax, ebx
mov byte [eax], 0
sub esp, 0x10
lea eax, [ebp - 0x11]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.compatibility
mov byte [ebp - 4], 4
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__]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
add ecx, 0x38
mov dword [ebp - 0x20], ecx
call fcn.0040b3e0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x200
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
sub esp, 0x10
mov esi, eax
mov al, byte [ebp + 0xf]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0
mov dword [ebp - 0x24], ecx
mov byte [ecx], 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 edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [ebp - 0x24]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40494f
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
add eax, ebx
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
call fcn.0040b220
cmp eax, 0xffffffff
jne 0x404971
lea eax, [ebp - 0x28]
push 0x441fb0
push eax
mov dword [ebp - 0x28], 0x44a0d4
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [ebp + 0xf]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0
mov dword [ebp - 0x24], ecx
mov byte [ecx], dl
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 edi, str.hongbaoshu.net
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [ebp - 0x24]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4049d0
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, str.hongbaoshu.net
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ebx
add ebx, ecx
mov byte [ebx], 0
sub esp, 0x10
lea eax, [ebp - 0x11]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.Creator
mov byte [ebp - 4], 5
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__]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040b730
mov cl, byte [ebp + 0xf]
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x2c], esp
push 0
mov dword [ebp - 0x24], esi
mov byte [esi], cl
mov ecx, esi
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 edi, str.hongbaoshu.net
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, esi
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x404a57
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.hongbaoshu.net
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
add eax, ebx
mov byte [eax], 0
sub esp, 0x10
lea eax, [ebp - 0x11]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.Author
mov byte [ebp - 4], 6
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__]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040b730
mov dl, byte [ebp + 0xf]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0
mov dword [ebp - 0x24], ecx
mov byte [ecx], dl
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 edi, str.hongbaoshu.net
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [ebp - 0x24]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x404add
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, str.hongbaoshu.net
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ebx
add ebx, ecx
mov byte [ebx], 0
sub esp, 0x10
lea eax, [ebp - 0x11]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.Title
mov byte [ebp - 4], 7
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__]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040b730
mov cl, byte [ebp + 0xf]
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x2c], esp
push 0
mov dword [ebp - 0x24], esi
mov byte [esi], cl
mov ecx, esi
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 edi, str.hongbaoshu.net
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, esi
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x404b64
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.hongbaoshu.net
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
add eax, ebx
mov byte [eax], 0
sub esp, 0x10
lea eax, [ebp - 0x11]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.Subject
mov byte [ebp - 4], 8
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__]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040b730
mov dl, byte [ebp + 0xf]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0
mov dword [ebp - 0x24], ecx
mov byte [ecx], dl
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 edi, str.hongbaoshu.net
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [ebp - 0x24]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x404bea
mov eax, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, str.hongbaoshu.net
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ebx
add ebx, ecx
mov byte [ebx], 0
sub esp, 0x10
lea eax, [ebp - 0x11]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push str.Keywords
mov byte [ebp - 4], 9
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__]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
add ecx, 0x38
call fcn.0040b730
mov esi, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x1a0]
jge 0x404dad
lea edx, [ebp - 0x24]
push eax
push edx
lea ecx, [esi + 0x198]
call fcn.004011f0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00434ed8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00434eae
lea eax, [ebp - 0x2c]
push 4
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str..jpg
push eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x404c9c
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x18]
call fcn.00406be0
test eax, eax
sete al
test al, al
jne 0x404c9c
xor bl, bl
jmp 0x404c9e
mov bl, 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00434eae
test bl, bl
jne 0x404d9e
mov eax, dword [ebp - 0x18]
push ecx
fild dword [eax + 0x30]
lea esi, [eax + 0x38]
mov ecx, esi
fstp dword [esp]
push 0x4414c000
call fcn.0040b350
push 0
lea eax, [ebp - 0x11]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
push 0x44cbb8
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__]
sub esp, 0x10
lea ecx, [ebp - 0x12]
mov ebx, esp
mov dword [ebp - 0x34], esp
push ecx
push 0x200
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, ebx
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__]
sub esp, 0x10
lea edx, [ebp - 0x13]
mov ecx, esp
mov dword [ebp - 0x38], esp
push edx
push str.jpeg
mov byte [ebp - 4], 0xd
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__]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040b560
push 0x3f000000
mov edi, eax
push 0
push 0
push edi
mov ecx, esi
call fcn.0040b4d0
push edi
mov ecx, esi
call fcn.0040b520
mov ecx, esi
call fcn.0040b3a0
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
lea ecx, [eax + 1]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [edx + 0x164], ecx
mov ecx, dword [eax]
mov edx, dword [esi + 0x1a0]
mov dword [ecx + 0x160], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x404da1
mov ecx, dword [ebp + 0x10]
push 0xa
mov edx, dword [ecx + 0x1c]
push edx
push 0x475
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x404c1c
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x404c1c
lea ecx, [esi + 0x38]
call fcn.0040b310
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00434eae
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00434eae
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00434eae
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc