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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x5decf4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429403
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x55d98c
lea eax, [ebp - 0x2c]
push 0x14
push eax
call fcn.00428657
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x10
cmp byte [0x5df5c9], 0
mov ecx, 0x557bb4
mov edi, 0x5decf4
mov eax, 0x557bcc
cmove eax, ecx
push edi
push eax
push str.joinprivate
lea eax, [ebp - 0x2c]
push eax
call esi
cmp byte [0x5df5ca], 0
mov ecx, 0x5dda68
push edi
mov eax, str.se6_bbs
cmove eax, ecx
push eax
push 0x55e1d4
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5de878
push str.proctype
lea eax, [ebp - 0x2c]
push eax
call esi
mov eax, dword [ebp + 0xc]
push edi
sub eax, 1
je 0x4294a5
sub eax, 1
lea eax, [ebp - 0x2c]
je 0x42949e
push 0x55e314
jmp 0x4294ad
push str.hang
jmp 0x4294ad
push str.trycatch
lea eax, [ebp - 0x2c]
push str.crashtype
push eax
call esi
push dword [0x5de8dc]
push 0x55d98c
push 0x5e35e8
call fcn.0041a601
add esp, 0xc
lea eax, [ebp - 0x2c]
push edi
push 0x5e35e8
push str.trycatchcnt
push eax
call esi
push 0x2000
mov edi, 0x5df5e8
push edi
push 0x5dd21c
call fcn.00429025
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x5decf4
push edi
push str.cururl
push eax
call esi
mov edi, 0x5decf4
lea eax, [ebp - 0x2c]
push edi
push 0x5ddb1c
push 0x55e224
push eax
call esi
push edi
push 0x5ddab8
push str.pdtver
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5de7ec
push 0x55e244
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5df578
push str.ExcptCode
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5df104
push str.module
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5df514
push str.modulever
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5df5a0
push str.offset
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5de51c
push str.osver
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x5de724
push str.iever
lea eax, [ebp - 0x2c]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x566c88
push 0xffffffffffffffff
push 0x5e35e8
call fcn.00401ab5
add esp, 0x10
lea eax, [ebp - 0x2c]
push edi
push 0x5e35e8
push 0x566c90
push eax
call esi
test ebx, ebx
je 0x429612
cmp dword [ebx], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
je 0x4295f4
push 0x5decf4
push 0x50
push dword [ebx]
lea eax, [ebp - 0x2c]
push str.ExceptionRecord
push eax
call edi
cmp dword [ebx + 4], 0
je 0x429612
push 0x5decf4
push 0x2cc
push dword [ebx + 4]
lea eax, [ebp - 0x2c]
push str.ContextRecord
push eax
call edi
mov edi, 0x5deaec
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x2710
call fcn.004290fe
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x5de8e4
push str._s_u__d__s
push 0x104
mov ebx, 0x5e35e8
push ebx
call fcn.00401ab5
add esp, 0x1c
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
test eax, eax
je 0x42966f
push 0x5decf4
push ebx
push str.dump
lea eax, [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d360
leave
ret