Function at 0x4433f5
Capabilities:
Delete file
Move file

Disassembly:
push 0x258
mov eax, 0x4a6f7f
call fcn.004a5495
mov ebx, ecx
mov dword [ebp - 0x254], ebx
xor esi, esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x244], esi
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
mov eax, dword [ebx + 0xbc]
push ecx
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x240], eax
lea eax, [ebx + 0xec]
mov dword [ebp - 0x250], esi
push ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x260], eax
call fcn.0044310f
mov edi, eax
test edi, edi
je 0x44347f
lea ecx, [ebp - 0x244]
call fcn.00444adb
lea ecx, [ebp - 0x248]
call fcn.00444adb
mov eax, edi
jmp 0x4438d8
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x23c], esi
cmp dword [eax + 8], esi
je 0x44359d
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], cx
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.00445f14
mov edi, eax
test edi, edi
je 0x4434e0
push esi
push 1
lea ecx, [ebp - 0x238]
call fcn.0043e8d8
lea ecx, [ebp - 0x244]
call fcn.00444adb
jmp 0x44346d
mov ecx, dword [ebp - 0x23c]
lea eax, [ebx + 0x124]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00444f8b
mov eax, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x240]
cmp edi, dword [eax + 4]
je 0x443524
lea eax, [edi + 0xc]
push eax
lea eax, [ebx + 0x124]
push eax
call fcn.00445ebd
test al, al
mov eax, dword [ebp - 0x23c]
je 0x443527
mov edi, dword [eax + 4]
cmp edi, dword [eax + 4]
je 0x44358b
push 0xffffffffffffffff
lea eax, [edi + 0x28]
push esi
push eax
lea ecx, [ebp - 0x238]
call fcn.0043e997
mov ecx, dword [ebp - 0x23c]
lea eax, [ebx + 0x124]
push eax
call fcn.00444b34
push ecx
push esi
lea eax, [ebp - 0x244]
mov ecx, ebx
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0044310f
mov edi, eax
test edi, edi
je 0x44358b
push esi
push 1
lea ecx, [ebp - 0x238]
call fcn.0043e8d8
lea ecx, [ebp - 0x244]
call fcn.00444adb
jmp 0x44346d
push esi
push 1
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.0043e8d8
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x258], esi
call fcn.0044bdc9
test eax, eax
jne 0x443886
test byte [0x4b7fc0], 4
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], esi
je 0x4435de
mov edx, 0x4151a8
call fcn.00445f12
mov byte [ebp - 4], 7
lea edx, [ebp - 0x23c]
mov ecx, dword [ebp - 0x248]
call fcn.0048af38
mov esi, eax
test esi, esi
je 0x443616
lea ecx, [ebp - 0x244]
call fcn.00444adb
lea ecx, [ebp - 0x248]
call fcn.00444adb
mov eax, esi
jmp 0x4438d8
mov eax, dword [ebx + 0xb8]
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x24c]
mov esi, 0x414cbc
push ecx
sub esp, 0x10
lea ecx, [ebp - 0x25c]
mov edi, esp
push ecx
push dword [eax + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x23c]
mov ecx, edi
call fcn.0048aad4
mov ebx, eax
mov dword [ebp - 0x264], ebx
test ebx, ebx
jns 0x4437d5
mov ebx, dword [ebp - 0x250]
mov ecx, ebx
push 0x2f
mov eax, dword [ebx]
mov esi, dword [eax - 8]
call dword [sym.imp.MFC42u.dll_CString::ReverseFind]
sub esi, eax
mov ecx, ebx
dec esi
lea eax, [ebp - 0x240]
push esi
push eax
call dword [sym.imp.MFC42u.dll_CString::Right]
mov esi, 0x104
mov byte [ebp - 4], 9
push edi
mov edx, esi
lea ecx, [ebp - 0x21c]
call fcn.0043c80d
push dword [ebp - 0x240]
mov edx, esi
lea ecx, [ebp - 0x21c]
call fcn.0043c842
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x254]
xor esi, esi
push esi
mov dword [ebp - 0x258], eax
mov ecx, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0x68]
mov ebx, dword [ecx + 0x40]
mov edx, dword [ebx]
mov edi, dword [edx + 0x148]
mov ecx, edi
call dword [0x4ba1e0]
mov ecx, ebx
call edi
mov edi, eax
mov dword [edi + 0x80], 1
cmp dword [ebp - 0x258], esi
je 0x443746
push esi
push esi
push 1
push 0x414cbc
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call dword [sym.imp.MFC42u.dll_COleClientItem::CreateFromFile]
test eax, eax
je 0x443746
mov eax, dword [ebp - 0x254]
push esi
push edi
mov ecx, dword [eax + 0xb8]
mov ecx, dword [ecx + 0x68]
call fcn.0043a05c
mov ecx, edi
mov ebx, eax
call dword [sym.imp.MFC42u.dll_COleClientItem::UpdateItemType]
mov dword [edi + 0x80], esi
jmp 0x44374c
mov ebx, dword [ebp - 0x264]
test ebx, ebx
je 0x44377f
jns 0x443781
mov ecx, dword [ebp - 0x260]
cmp dword [ecx + 0x18], 8
lea eax, [ecx + 4]
jb 0x443763
mov eax, dword [eax]
push eax
push 0x8f7
mov edx, 0x4158a8
mov ecx, 0x4158f8
call fcn.00481f49
xor ecx, ecx
call fcn.004829bd
mov ebx, esi
push 1
mov ecx, edi
call dword [sym.imp.MFC42u.dll_COleClientItem::Delete]
mov esi, dword [ebp - 0x250]
mov ecx, esi
call dword [sym.imp.MFC42u.dll_CString::CString]
push esi
call dword [sym.imp.MFC42u.dll_operatordelete]
cmp dword [ebp - 0x258], 0
pop ecx
je 0x4437b7
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x240]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov esi, dword [ebp - 0x24c]
mov dword [ebp - 4], 2
jmp 0x44385d
cmp dword [ebp - 0x240], 0
jne 0x4437c3
cmp dword [ebp - 0x244], 0
je 0x4437c3
mov edx, dword [ebp - 0x254]
mov esi, dword [ebp - 0x24c]
mov eax, dword [edx + 0xb8]
mov ecx, dword [eax + 0x68]
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x244]
push dword [edx + 0x140]
mov ecx, dword [ecx + 0x20]
mov edx, esi
call fcn.0048b4cd
mov ebx, eax
jmp 0x4437c9
mov edi, dword [ebp - 0x23c]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call sub.msvcrt.dll_free
test byte [0x4b7fc0], 4
pop ecx
je 0x4438a8
mov edx, 0x4152b0
call fcn.00445f12
jmp 0x4438a8
push 0x4153dc
push 0x927
mov edx, 0x4158a8
mov ecx, 0x4159f0
mov ebx, esi
call fcn.00481f49
xor ecx, ecx
call fcn.004829bd
lea ecx, [ebp - 0x244]
call fcn.00444adb
mov byte [ebp - 4], 0xb
test esi, esi
je 0x4438cb
mov ecx, dword [esi]
push esi
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4ba1e0]
call esi
lea ecx, [ebp - 0x248]
call fcn.00444adb
mov eax, ebx
call fcn.004a53e7
ret