Function at 0x42b080
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f64d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x65b500]
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 ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x42b33c
lea ecx, [ebp - 0x458]
call fcn.00432690
lea eax, [ebp - 0x458]
mov dword [ebp - 4], 0
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x42c], esp
mov dword [ebp - 0x438], esi
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00407c20
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.00421f90
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00438450
test eax, eax
je 0x42b325
cmp dword [ebp - 0x43c], 0
je 0x42b2e1
mov eax, dword [ebp - 0x454]
add eax, 0xfffffff0
push eax
call fcn.00407c20
add eax, 0x10
add esp, 4
mov dword [ebp - 0x428], eax
push 0
push 0
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 2
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
call fcn.0042d3c0
mov dword [ebp - 0x434], eax
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x428]
push ecx
push dword [eax]
lea ecx, [ebp - 0x434]
call fcn.0041a680
push fcn.00406220
push 1
push 4
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 5
push eax
call fcn.004da64c
lea eax, [ebp - 0x434]
push eax
call fcn.00421f90
mov ecx, eax
call fcn.004349f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005c5370
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005c5370
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.HaloDesktopData
push eax
call esi
push str.UserUrl
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406060
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x454]
call dword [sym.imp.SHLWAPI.dll_PathCommonPrefixW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00406060
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
call fcn.005cb8ce
mov edx, dword [ebp - 0x438]
add esp, 8
test eax, eax
mov byte [ebp - 4], 6
sete byte [ebp - 0x421]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b29c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x421], 0
je 0x42b2b1
push dword [ebp - 0x454]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x42c]
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42b2d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0
call fcn.0041b9b0
jmp 0x42b309
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x440], 1
call fcn.00433c90
lea eax, [ebp - 0x458]
push eax
call fcn.00421f90
mov ecx, eax
call fcn.004381c0
lea ecx, [ebp - 0x458]
call fcn.00438180
test eax, eax
je 0x42b325
push dword [ebp - 0x444]
mov ecx, ebx
call fcn.0042c580
mov ecx, dword [ebx + 0x460]
push edi
call fcn.0040ac80
lea ecx, [ebp - 0x458]
call fcn.00407b10
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.004da36e
mov esp, ebp
pop ebp
ret 4