Function at 0x42e360
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x54e3cc
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e38f
push 0x54e3cc
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x507758
lea eax, [ebp - 0x2c]
push 0x14
push eax
call fcn.0042ea00
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x10
cmp byte [0x54eca1], 0
mov ecx, 0x5010a4
mov eax, 0x508e08
cmove eax, ecx
push 0x54e3cc
push eax
push 0x508e0c
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54d140
push str.pdtname
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54df50
push str.proctype
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push str.crash
push str.crashtype
lea eax, [ebp - 0x2c]
push eax
call edi
push dword [0x54dfb4]
push 0x507758
push 0x552cc0
call fcn.0042e9e0
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x54e3cc
push 0x552cc0
push str.trycatchcnt
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x5572d4
push 0
push 0
call ebx
cmp eax, 0x2000
ja 0x42e481
push eax
push 0x54ecc0
push 0xffffffffffffffff
push 0x5572d4
push 0
push 0
call ebx
push 0x54e3cc
push 0x54ecc0
push str.cururl
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54d1f4
push str.cmdline
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54d190
push str.pdtver
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54dec4
push 0x508eb0
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54ec50
push str.ExcptCode
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54e7dc
push str.module
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54ebec
push str.modulever
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54ec78
push str.offset
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54dbf4
push str.osver
lea eax, [ebp - 0x2c]
push eax
call edi
push 0x54e3cc
push 0x54ddfc
push str.iever
lea eax, [ebp - 0x2c]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x505518
push 0xffffffffffffffff
push 0x552cc0
call fcn.00419550
add esp, 0x10
lea eax, [ebp - 0x2c]
push 0x54e3cc
push 0x552cc0
push 0x508f18
push eax
call edi
test esi, esi
je 0x42e5c3
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
test eax, eax
je 0x42e5a6
push 0x54e3cc
push 0x50
push eax
push str.ExceptionRecord
lea eax, [ebp - 0x2c]
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x42e5c3
push 0x54e3cc
push 0x2cc
push eax
push str.ContextRecord
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0x54e1c4
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0
mov esi, eax
call fcn.004c82ab
push eax
call fcn.004cd8a1
add esp, 8
call fcn.004cd880
cdq
mov ecx, 0x2710
idiv ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x54dfbc
push str._s_u__d__s
push 0x104
push 0x552cc0
call fcn.00419550
add esp, 0x1c
push 0
push 0x552cc0
push 0x54e1c4
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x42e63d
push 0x54e3cc
push 0x552cc0
push str.dump
lea eax, [ebp - 0x2c]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret