Function at 0x100464c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078011
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100a800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 0x130b
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea ecx, [ebp - 0x1c]
sete bl
mov byte [ebp - 0x20], bl
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 4], 0
cmp byte [edi + 0x3a0], 0
mov dword [ebp - 0x14], 0
je 0x100465e8
lea eax, [edi + 0x3a4]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x3a8]
call fcn.10008d50
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x3a8]
je 0x100465ad
lea ecx, [ebp - 0x1c]
test bl, bl
je 0x1004664c
add eax, 0x14
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 3
cmp byte [edi + 0x3a0], 0
je 0x1004669f
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x10046674
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
test bl, bl
je 0x10046654
push 0x1008460c
jmp 0x10046659
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
test bl, bl
je 0x100465c8
push 0x1008460c
jmp 0x100465cd
push 0x10084664
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_AfxMessageBox]
lea ecx, [ebp - 0x18]
jmp 0x10046858
lea eax, [edi + 0x39c]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x3b0]
call fcn.10008d50
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x3b0]
jne 0x1004654f
cmp dword [edi + 0x398], 0
setne al
movzx eax, al
push eax
push dword [edi + 0x39c]
push dword [ebp - 0x20]
call dword [sym.imp.Z_SupportCore.dll_public:_static_class_Z_supSupportDbIO____cdecl_Z_supSupportDbIO::instance_void_]
mov ecx, eax
call dword [sym.imp.Z_SupportCore.dll_public:_int___thiscall_Z_supSupportDbIO::IsImageExist_bool__int__bool_]
test eax, eax
jne 0x10046564
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 2
jmp 0x100465ba
add eax, 0x18
jmp 0x1004655d
push 0x10084664
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_AfxMessageBox]
lea ecx, [ebp - 0x14]
jmp 0x1004684f
lea eax, [ebp - 0x24]
push dword [edi + 0x3a4]
test bl, bl
je 0x10046688
push str.image_thumb__d.jpg
jmp 0x1004668d
push str.image_d.jpg
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
lea eax, [edi + 0x39c]
mov dword [ebp - 0x14], eax
jmp 0x1004671b
lea eax, [edi + 0x39c]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x14], eax
lea ecx, [edi + 0x3b0]
lea eax, [ebp - 0x20]
push eax
call fcn.10008d50
mov eax, dword [edi + 0x3b0]
cmp dword [ebp - 0x20], eax
je 0x100466e5
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x100466e5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
jmp 0x10046598
lea eax, [ebp - 0x24]
test bl, bl
je 0x10046700
push dword [edi + 0x39c]
push str.image_thumb__d.jpg
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
jmp 0x1004671b
push dword [edi + 0x39c]
lea esi, [edi + 0x39c]
push str.image_d.jpg
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov dword [ebp - 0x14], esi
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call sym.Z_SupportUi.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_Z_PartImageDlg::GetDownLoadFilePathFromUser_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x1004684c
cmp byte [edi + 0x3a0], 0
je 0x1004675a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
mov byte [ebp - 4], 7
jmp 0x10046793
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea ecx, [edi + 0x3b0]
call fcn.10008d50
mov eax, dword [edi + 0x3b0]
cmp dword [ebp - 0x20], eax
je 0x1004680b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0
push str..jpg
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
cmp eax, 0xffffffff
jne 0x100467c9
push str..jpg
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_1]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
test eax, eax
je 0x100467f5
push 0x100846ac
call dword [sym.imp.mfc140u.dll_AfxMessageBox]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x1004684c
push 0x100846a0
call dword [sym.imp.mfc140u.dll_AfxMessageBox]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x1004684c
cmp dword [edi + 0x398], 0
setne al
movzx eax, al
push eax
movzx eax, bl
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.Z_SupportCore.dll_public:_static_class_Z_supSupportDbIO____cdecl_Z_supSupportDbIO::instance_void_]
mov ecx, eax
call dword [sym.imp.Z_SupportCore.dll_public:_bool___thiscall_Z_supSupportDbIO::downloadExtParamsImage_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___int_const___int__bool_const]
push 0
push 0
test al, al
je 0x10046841
push 0x100846ac
jmp 0x10046846
push 0x100846a0
call dword [sym.imp.mfc140u.dll_AfxMessageBox]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100702c8
mov esp, ebp
pop ebp
ret