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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432080
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.0041ba20
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, str..dat
mov dword [ebp - 4], 0
call fcn.0040cc90
add esp, 8
mov byte [ebp - 4], 1
cmp dword [0x44153c], 0
jne 0x41b6e6
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x1c], 1
je 0x41b6e6
mov ecx, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call ebx
mov esi, dword [esi + 0x18]
mov ecx, dword [ebp - 0x10]
mov edi, ecx
test esi, esi
je 0x41b6b9
cmp word [esi], 0
je 0x41b6b9
test ecx, ecx
je 0x41b6b9
cmp word [ecx], 0
je 0x41b6b9
push esi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x41b574
mov dword [ebp - 0x18], vtable.CBindStatusCallback.0
push edi
mov byte [ebp - 4], 2
call ebx
lea edx, [ebp - 0x18]
push edx
push 0
push edi
push esi
push 0
call dword [0x43f2c0]
test eax, eax
jne 0x41b6b6
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b6b6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041d860
add esp, 4
push eax
mov eax, dword [ebp + 8]
add eax, 0x1c
call fcn.0041e4f0
mov bl, al
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b5b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41b6cf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push edx
call ebx
test eax, eax
jne 0x41b63b
lea esi, [ebp - 0x18]
call fcn.00401520
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 3
push eax
push esi
push str._s._d
lea edi, [ebp - 0x18]
call fcn.00405780
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add esp, 0xc
push 1
push esi
push eax
call ebx
test eax, eax
je 0x41b612
push 4
push 0
push esi
call ebx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 1
push ecx
push edx
call ebx
test eax, eax
jne 0x41b62f
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00404f80
mov edi, dword [ebp + 8]
add edi, 0x30
lea eax, [ebp - 0x14]
call fcn.004048a0
push 0x3ef
call fcn.0040b120
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b679
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b69f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41b6fd
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3f0
call fcn.0040b120
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b72f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4