Function at 0x446bb0
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [0x47c9f0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 8], 0
jne 0x446bed
jmp 0x446fd2
push 4
push str.5113
mov ecx, 0x47cbe0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x446c12
jmp 0x446fd2
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x14]
cmp dword [edx + 4], 0x100000
jbe 0x446c34
push str.RecvOtherPhotoInfo___m_pMsgHead__dwSize_MAX_PHOTO_LEN__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x446fd2
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
sub edx, 0x9c
mov dword [ebp - 0xa8], edx
push 0x8c
mov ecx, dword [ebp - 0xd8]
call fcn.00401740
movzx eax, al
test eax, eax
jne 0x446c85
push str.RecvOtherPhotoInfo__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x446fd2
lea ecx, [ebp - 0xa4]
call fcn.004477b0
push 0x8c
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0xa4]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xa8]
je 0x446cbe
jmp 0x446fd2
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
lea edx, [ebp - 0xbc]
push edx
call fcn.00435540
lea ecx, [ebp - 0xbc]
call fcn.0043eb20
push eax
lea ecx, [ebp - 0xbc]
call fcn.0043eae0
push eax
lea ecx, [ebp - 0xbc]
call fcn.0043eaa0
push eax
mov eax, dword [0x47cc88]
push eax
push 0x46d9f4
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 - 0xd8]
call fcn.004016d0
lea ecx, [ebp - 0xac]
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 0x46da04
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
mov ecx, dword [ebp - 0xa8]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0xc0], esp
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x10]
push ecx
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xd8]
call fcn.00401940
mov byte [ebp - 0xdd], al
movzx edx, byte [ebp - 0xdd]
test edx, edx
jne 0x446e53
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 2
push str._RecvOtherPhotoInfo_RecvFile_Error__n
mov ecx, dword [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
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 0x446fd2
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
mov dword [ecx], 0x13579be0
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x14]
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xb0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x14]
mov dword [edx + 4], 0x10
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0xd8]
call fcn.00401220
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [0x47cd40]
call fcn.0040f0a0
test eax, eax
jne 0x446fb2
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xcc]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 3
push 0x46da38
mov ecx, dword [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xd4]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
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 0x446fd2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
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