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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x50c7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x51c55c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429b5e
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 0x4d2ca0
lea eax, [ebp - 0x2c]
push 0x14
push eax
call fcn.00428e33
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x10
cmp byte [0x51ce31], 0
mov ecx, 0x4d379c
mov edi, 0x51c55c
mov eax, 0x4d3798
cmove eax, ecx
push edi
push eax
push str.joinprivate
lea eax, [ebp - 0x2c]
push eax
call esi
cmp byte [0x51ce32], 0
mov ecx, 0x51b2d0
push edi
mov eax, str.se6_bbs
cmove eax, ecx
push eax
push str.pdtname
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51c0e0
push str.proctype
lea eax, [ebp - 0x2c]
push eax
call esi
mov eax, dword [ebp + 0xc]
push edi
sub eax, 1
je 0x429c00
sub eax, 1
lea eax, [ebp - 0x2c]
je 0x429bf9
push 0x4d37b0
jmp 0x429c08
push str.hang
jmp 0x429c08
push str.trycatch
lea eax, [ebp - 0x2c]
push str.crashtype
push eax
call esi
push dword [0x51c144]
push 0x4d2ca0
push 0x520e50
call fcn.0040795a
add esp, 0xc
lea eax, [ebp - 0x2c]
push edi
push 0x520e50
push str.trycatchcnt
push eax
call esi
push 0x2000
mov edi, 0x51ce50
push edi
push 0x51aa84
call fcn.004297db
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x51c55c
push edi
push str.cururl
push eax
call esi
mov edi, 0x51c55c
lea eax, [ebp - 0x2c]
push edi
push 0x51b384
push str.cmdline
push eax
call esi
push edi
push 0x51b320
push str.pdtver
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51c054
push 0x4d36fc
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51cde0
push str.ExcptCode
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51c96c
push str.module
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51cd7c
push str.modulever
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51ce08
push str.offset
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51bd84
push str.osver
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0x51bf8c
push str.iever
lea eax, [ebp - 0x2c]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4d7348
push 0xffffffffffffffff
push 0x520e50
call fcn.00407939
add esp, 0x10
lea eax, [ebp - 0x2c]
push edi
push 0x520e50
push 0x4d7350
push eax
call esi
test ebx, ebx
je 0x429d6d
cmp dword [ebx], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
je 0x429d4f
push 0x51c55c
push 0x50
push dword [ebx]
lea eax, [ebp - 0x2c]
push str.ExceptionRecord
push eax
call edi
cmp dword [ebx + 4], 0
je 0x429d6d
push 0x51c55c
push 0x2cc
push dword [ebx + 4]
lea eax, [ebp - 0x2c]
push str.ContextRecord
push eax
call edi
mov edi, 0x51c354
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x2710
call fcn.004298b4
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x51c14c
push str._s_u__d__s
push 0x104
mov ebx, 0x520e50
push ebx
call fcn.00407939
add esp, 0x1c
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
test eax, eax
je 0x429dca
push 0x51c55c
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.00496ca3
leave
ret