Function at 0x446290
Capabilities:
Check for time delay via gettickcount
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
mov eax, dword [0x47c9f0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x178], ecx
mov eax, dword [ebp - 0x178]
cmp dword [eax + 8], 0
jne 0x4462cd
jmp 0x446b8f
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x14]
cmp dword [edx + 4], 0x100000
jbe 0x4462ef
push str.RcvRsOneFile___m_pMsgHead__dwSize_MAX_PHOTO_LEN__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x446b8f
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
sub edx, 0x108
mov dword [ebp - 0x120], edx
push 0xf8
mov ecx, dword [ebp - 0x178]
call fcn.00401740
movzx eax, al
test eax, eax
jne 0x446340
push str.RcvRsOneFile__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x446b8f
lea ecx, [ebp - 0x114]
call fcn.00447790
push 0xf8
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x114]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x120]
je 0x446382
jmp 0x446b8f
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x134]
push edx
call fcn.00435540
lea ecx, [ebp - 0x134]
call fcn.0043eb20
push eax
lea ecx, [ebp - 0x134]
call fcn.0043eae0
push eax
lea ecx, [ebp - 0x134]
call fcn.0043eaa0
push eax
mov eax, dword [0x47cc88]
push eax
push 0x46d8dc
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 - 0x178]
call fcn.004016d0
lea ecx, [ebp - 0x128]
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 0x46d8ec
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 2
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.bmp
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 3
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_2
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 4
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_2.bmp
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
cmp dword [ebp - 0x30], 0
je 0x446602
mov ecx, dword [ebp - 0x30]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x138], esp
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x10]
push ecx
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x178]
call fcn.00401940
mov byte [ebp - 0x17d], al
movzx edx, byte [ebp - 0x17d]
test edx, edx
jne 0x446602
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 5
push 0x46d92c
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x140]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
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 0x446b8f
cmp dword [ebp - 0x2c], 0
je 0x446725
mov eax, dword [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x178]
call fcn.00401940
mov byte [ebp - 0x191], al
movzx ecx, byte [ebp - 0x191]
test ecx, ecx
jne 0x446725
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov byte [ebp - 4], 6
push 0x46d940
mov eax, dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x148]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
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 0x446b8f
cmp dword [ebp - 0x28], 0
je 0x446842
mov edx, dword [ebp - 0x28]
push edx
push ecx
mov eax, esp
mov dword [ebp - 0x150], esp
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x178]
call fcn.00401940
mov byte [ebp - 0x1a5], al
movzx eax, byte [ebp - 0x1a5]
test eax, eax
jne 0x446842
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 7
push 0x46d954
mov edx, dword [ebp - 0x1b0]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x158]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
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 0x446b8f
cmp dword [ebp - 0x24], 0
je 0x446965
mov ecx, dword [ebp - 0x24]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x15c], esp
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x178]
call fcn.00401940
mov byte [ebp - 0x1b9], al
movzx edx, byte [ebp - 0x1b9]
test edx, edx
jne 0x446965
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], 8
push 0x46d968
mov ecx, dword [ebp - 0x1c4]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.00435e50
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x160]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
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 0x446b8f
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x14]
mov dword [ecx], 0x13579be0
mov edx, dword [ebp - 0x178]
mov eax, dword [edx + 0x14]
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x124]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x178]
mov edx, dword [ecx + 0x14]
mov dword [edx + 4], 0x10
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x178]
call fcn.00401220
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [0x47cd40]
call fcn.0040eee0
test eax, eax
jne 0x446b42
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x168]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x16c]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x170]
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], 9
push 0x46d97c
mov ecx, dword [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x174]
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 - 0x174]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x170]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
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 0x446b8f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
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 - 0x18]
call fcn.00458cfb
mov esp, ebp
pop ebp
ret