Function at 0x447040
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
mov eax, dword [0x47c9f0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c8], ecx
mov eax, dword [ebp - 0x1c8]
cmp dword [eax + 8], 0
jne 0x44707d
jmp 0x44743d
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx + 0x14]
cmp dword [edx + 4], 0x100000
jbe 0x44709f
push str.RcvPhotoInfo___m_pMsgHead__dwSize_MAX_PHOTO_LEN__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44743d
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
sub edx, 0x18c
mov dword [ebp - 0x198], edx
push 0x17c
mov ecx, dword [ebp - 0x1c8]
call fcn.00401740
movzx eax, al
test eax, eax
jne 0x4470f0
push str.RcvPhotoInfo__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44743d
lea ecx, [ebp - 0x194]
call fcn.004477e0
push 0x17c
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x194]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x198]
je 0x447129
jmp 0x44743d
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1ac]
push edx
call fcn.00435540
lea ecx, [ebp - 0x1ac]
call fcn.0043eb20
push eax
lea ecx, [ebp - 0x1ac]
call fcn.0043eae0
push eax
lea ecx, [ebp - 0x1ac]
call fcn.0043eaa0
push eax
mov eax, dword [0x47cc88]
push eax
push str._s_04d_02d_02d_
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x18
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1c8]
call fcn.004016d0
lea ecx, [ebp - 0x19c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
push eax
push str._d__d__05d
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
mov ecx, dword [ebp - 0x198]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x1b0], esp
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1c8]
call fcn.00401940
mov byte [ebp - 0x1cd], al
movzx edx, byte [ebp - 0x1cd]
test edx, edx
jne 0x4472be
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1b4]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 2
push str._RecvFile_Error__n
mov ecx, dword [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x44743d
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0x14]
mov dword [ecx], 0x13579be0
mov edx, dword [ebp - 0x1c8]
mov eax, dword [edx + 0x14]
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x1a0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx + 0x14]
mov dword [edx + 4], 0x10
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x1c8]
call fcn.00401220
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [0x47cd40]
call fcn.00433220
test eax, eax
jne 0x44741d
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1bc]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1bc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c0]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 3
push str.__BE_Deleted__n
mov ecx, dword [ebp - 0x1e8]
push ecx
lea edx, [ebp - 0x1c4]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x1c4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x44743d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00458cfb
mov esp, ebp
pop ebp
ret