Function at 0x4edb87
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x498], edi
call fcn.004e1f6b
test eax, eax
je 0x4edbba
push 0x800
call dword [sym.imp.KERNEL32.dll_SetDefaultDllDirectories]
call fcn.004dfc2c
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
call fcn.004d9018
mov ecx, eax
call fcn.004d909f
push 4
call fcn.004ebe8c
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp], 0x8003
call esi
or eax, 0x8003
push eax
call esi
lea ecx, [ebp - 0x494]
call fcn.0040e9c0
lea eax, [ebp - 0x494]
push eax
call fcn.0041a0a0
push ecx
mov ecx, esp
push 0x550808
call fcn.00405460
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x494]
call fcn.0040fc60
cmp dword [eax + 0x14], 8
jb 0x4edc3b
mov eax, dword [eax]
push eax
mov ecx, 0x57dca8
call fcn.004e6dc6
lea ecx, [ebp - 0x464]
call fcn.0040ea90
call fcn.004ef969
cmp byte [eax + 0x24], bl
jne 0x4edf27
lea eax, [ebp - 0x49c]
push ebx
push eax
call fcn.004df211
pop ecx
pop ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x4a0]
call fcn.004c65c1
lea eax, [ebp - 0x4a0]
push 1
push eax
call fcn.004dee06
pop ecx
pop ecx
push dword [ebp - 0x4a0]
push dword [ebp - 0x49c]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4edf0b
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0x49c]
call fcn.00405460
lea ecx, [ebp - 0x464]
call fcn.0040ea10
lea ecx, [ebp - 0x47c]
call fcn.0040e9c0
lea eax, [ebp - 0x47c]
push eax
call fcn.0041a0a0
cmp dword [ebp - 0x468], 8
lea eax, [ebp - 0x47c]
pop ecx
cmovae eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x434]
push eax
call fcn.004051c0
lea eax, [ebp - 0x434]
push eax
call fcn.004e2128
pop ecx
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x464]
call fcn.0040f270
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x4edd24
mov esi, dword [esi]
cmp word [esi], bx
jne 0x4edd2d
mov eax, ebx
jmp 0x4edd34
push esi
call fcn.004f353f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x434]
call fcn.0040d7d0
lea ecx, [ebp - 0x44c]
call fcn.0040ea90
xor eax, eax
mov esi, 0x20a
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
call fcn.004f3a90
push dword [ebp - 0x49c]
lea eax, [ebp - 0x41c]
push eax
call fcn.004fd82c
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004f3a90
cmp dword [ebp - 0x420], 8
lea eax, [ebp - 0x434]
cmovae eax, dword [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004fd82c
add esp, 0x28
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x4c4], ebx
lea edi, [ebp - 0x4c0]
rep stosd dword es:[edi], eax
push 0x1e
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x4c4]
push eax
call fcn.004f3a90
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x4c0], 2
mov dword [ebp - 0x4bc], eax
add esp, 0xc
lea eax, [ebp - 0x210]
mov dword [ebp - 0x4b8], eax
mov eax, 0x100
mov word [ebp - 0x4b4], ax
lea eax, [ebp - 0x4c4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4edee1
mov word [ebp - 0x44c], ax
lea eax, [ebp - 0x44c]
push eax
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], ebx
call fcn.004df7fe
cmp dword [ebp - 0x438], 8
lea ecx, [ebp - 0x44c]
push ebx
cmovae ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x434]
cmp dword [ebp - 0x420], 8
push 1
cmovae eax, dword [ebp - 0x434]
push ebx
push ecx
push eax
call fcn.004e2c68
add esp, 0x18
lea ecx, [ebp - 0x44c]
push ebx
push 1
test eax, eax
je 0x4ededc
call fcn.00406930
push ebx
push 1
lea ecx, [ebp - 0x434]
call fcn.00406930
lea ecx, [ebp - 0x47c]
call fcn.0040ea90
lea ecx, [ebp - 0x464]
call fcn.0040ea90
mov ecx, dword [ebp - 0x4a0]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 0x49c]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
jmp 0x4ee144
call fcn.00406930
push ebx
push 1
lea ecx, [ebp - 0x434]
call fcn.00406930
lea ecx, [ebp - 0x47c]
call fcn.0040ea90
lea ecx, [ebp - 0x464]
call fcn.0040ea90
mov edi, dword [ebp - 0x498]
mov ecx, dword [ebp - 0x4a0]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 0x49c]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
push ebx
lea ecx, [ebp - 0x524]
call fcn.004e9b0f
push edi
lea ecx, [ebp - 0x524]
call fcn.004e9cf5
mov esi, str.debug_script
lea ecx, [ebp - 0x524]
push esi
call fcn.004ea64f
test eax, eax
je 0x4edf99
lea eax, [ebp - 0x498]
push eax
push esi
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x524]
call fcn.004e9bed
mov ecx, eax
call fcn.004eac3d
push eax
mov ecx, 0x57dd18
call fcn.004c66f6
mov ecx, dword [ebp - 0x498]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
lea ecx, [ebp - 0x4a4]
call fcn.004e9b94
push ebx
push dword [ebp + 8]
mov esi, 0x57dde0
push ebx
mov ecx, esi
call fcn.004b3cf0
push ebx
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 1
push eax
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x428], ebx
push eax
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.004b9d00
mov edi, eax
push ebx
mov ecx, edi
call fcn.004b9de0
lea eax, [ebp - 0x4dc]
mov dword [ebp - method.WTL::CMessageLoop.virtual_0], vtable.WTL::CMessageLoop.0
xorps xmm0, xmm0
mov dword [ebp - 0x4c8], ebx
push eax
mov ecx, esi
mov dword [ebp - 0x4c4], ebx
movdqu xmmword [ebp - 0x4d8], xmm0
call fcn.004b3910
push 0x50
call fcn.004f3c8b
pop ecx
test eax, eax
je 0x4ee02f
mov ecx, eax
call fcn.004b50d0
mov esi, eax
jmp 0x4ee031
mov esi, ebx
push dword [0x57ddb8]
mov ecx, esi
push dword [0x57dddc]
call fcn.004b52d0
push ebx
mov ecx, esi
call fcn.004b5550
push str.pc_uninstall_clipping_pro
lea ecx, [ebp - 0x464]
call fcn.00404b10
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.004d9018
mov ecx, eax
call fcn.004d7b30
mov ecx, esi
push dword [eax]
call fcn.004b58e0
mov ecx, dword [ebp - 0x498]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.004062e0
push 0x68
call fcn.004f3c8b
pop ecx
test eax, eax
je 0x4ee0b1
push esi
mov ecx, eax
call fcn.004f045e
mov ebx, eax
push 1
push ebx
mov ecx, esi
call fcn.004b5890
push 1
mov ecx, esi
call fcn.004b57c0
mov ecx, esi
call fcn.004b54a0
push eax
call fcn.004ef969
mov ecx, eax
call fcn.004efaba
lea ecx, [ebp - 0x4dc]
call fcn.004b3430
mov esi, 0x57dde0
mov ecx, esi
call fcn.004b3180
mov ecx, edi
call fcn.004b9e00
push dword [ebp - 0x4a0]
call sub.gdiplus.dll_GdiplusShutdown
lea ecx, [ebp - 0x4cc]
call fcn.004b26e0
lea ecx, [ebp - 0x4d8]
call fcn.004b2680
mov ecx, esi
call fcn.004ed59f
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004ef969
mov ecx, eax
call fcn.004ef9ad
test al, al
je 0x4ee139
call fcn.004ec02c
lea ecx, [ebp - 0x524]
call fcn.004e9b9f
lea ecx, [ebp - 0x494]
call fcn.0040ea90
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret 0x10