Function at 0x43c810
Capabilities:
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b77f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x4d3150
lea eax, [esp + 0x14]
push 0x1404c10
push eax
call sub.MFC42u.DLL_operator_4
mov ebx, dword [sym.imp.MSVCRT.dll__waccess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x74], 0
xor esi, esi
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebx
add esp, 8
test eax, eax
je 0x43c874
push 0xc8
call edi
inc esi
cmp esi, 0x4b
jl 0x43c855
jmp 0x43c8b0
push 0x64
call edi
push str.camera2.jpg
lea edx, [esp + 0x20]
push 0x1404c10
push edx
call sub.MFC42u.DLL_operator_4
mov eax, dword [eax]
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.camera2.jpg
lea edx, [esp + 0x18]
push 0x1404c10
push edx
call sub.MFC42u.DLL_operator_4
mov eax, dword [esp + 0x14]
push 0
push eax
mov byte [esp + 0x7c], 1
call ebx
add esp, 8
test eax, eax
je 0x43c90e
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
mov edi, dword [esp + 0x14]
push 0xc
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x74], 2
je 0x43c956
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi], eax
jne 0x43c958
test edi, edi
je 0x43c958
push 0x8007000e
call fcn.004b1230
jmp 0x43c958
xor esi, esi
test esi, esi
mov byte [esp + 0x74], 1
jne 0x43c99f
push 0x8007000e
call fcn.004b1230
xor ebx, ebx
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x43c9a3
lea ecx, [esp + 0x18]
mov dword [edi], 0x4bc4d0
push ecx
push ebx
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov edx, dword [esp + 0x18]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
jmp 0x43c9a5
mov ebx, dword [esi]
jmp 0x43c96d
xor edi, edi
test esi, esi
je 0x43c9c0
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43c9c0
push 1
mov ecx, esi
call fcn.00411270
push 0x4d353c
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
push 0x4d4eb8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 3
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43ca17
lea eax, [esp + 0x24]
push eax
push 0x4d3540
jmp 0x43cb7c
push 0x4d353c
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x7c], 4
call esi
add esp, 8
test eax, eax
je 0x43ca6c
push 0x4d3538
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43ca6e
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 3
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43ca8f
lea edx, [esp + 0x24]
push edx
push str.image_jpeg
jmp 0x43cb7c
push 0x4d4ec0
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43cacd
lea edx, [esp + 0x24]
push edx
push str.image_png
jmp 0x43cb7c
push 0x4d4ebc
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43cb08
lea edx, [esp + 0x24]
push edx
push str.image_gif
jmp 0x43cb7c
push 0x4d4eb4
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43cb43
lea edx, [esp + 0x24]
push edx
push str.image_tiff
jmp 0x43cb7c
push 0x4d4eb0
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x43cb84
lea edx, [esp + 0x24]
push edx
push str.image_ico
call fcn.0043c750
add esp, 8
mov ecx, dword [0x4c0f14]
mov edx, dword [0x4c0f18]
mov eax, 1
mov dword [esp + 0x50], ecx
mov ecx, dword [0x4c0f1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov edx, dword [0x4c0f20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0x41
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], eax
call sub.MFC42u.DLL_COleStreamFile::COleStreamFile
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 5
call sub.MFC42u.DLL_COleStreamFile::CreateMemoryStream
mov edx, dword [esp + 0x34]
push 0
push 0
lea ecx, [esp + 0x3c]
call dword [edx + 0x30]
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_COleStreamFile::GetStream
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
mov eax, dword [edi + 4]
push eax
call sub.gdiplus.dll_GdipSaveImageToStream
test eax, eax
je 0x43cc1f
mov dword [edi + 8], eax
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_COleStreamFile::GetLength
mov ebx, dword [esp + 0x7c]
push eax
mov dword [ebx], eax
call sub.MFC42u.DLL_operatornew
mov edx, dword [esp + 0x38]
add esp, 4
lea ecx, [esp + 0x34]
mov esi, eax
push 0
push 0
call dword [edx + 0x30]
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push eax
push esi
call sub.MFC42u.DLL_COleStreamFile::Read
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_COleStreamFile::Close
test edi, edi
je 0x43cc6a
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 3
call fcn.004b05e6
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4