Function at 0x42dc30
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448c90
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45d274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x45d020]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x45d020
call edx
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x40]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00402c30
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, eax
cmp edi, ebx
jl 0x42dda6
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edi, eax
cmp edi, ebx
jl 0x42dda6
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406280
test eax, eax
je 0x42dda6
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0x28]
push edx
dec eax
push eax
mov ecx, esi
call fcn.0042dac0
mov esi, eax
cmp esi, ebx
jge 0x42dd39
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dd0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dd32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x42de13
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42dd72
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42dd72
lea ecx, [ebp - 0x24]
call fcn.00403740
lea ecx, [ebp - 0x28]
call fcn.00403740
xor eax, eax
jmp 0x42de13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42dd5b
cmp eax, 3
je 0x42dd5b
cmp eax, ebx
jle 0x42dd90
and eax, 0xffff
or eax, 0x80070000
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403740
lea ecx, [ebp - 0x28]
call fcn.00403740
mov eax, esi
jmp 0x42de13
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x42ddb4
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, edi
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x42ddc9
mov edi, 0x80040104
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ddeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42de11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecf
mov esp, ebp
pop ebp
ret