Function at 0x10019a40
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x10175120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c0], ecx
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.100d9d50
add esp, 0xc
call fcn.1000e350
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, eax
call fcn.10029e00
push str.usercenter.set
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x2b8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10019adb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
xor edi, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019e56
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100147c0
add esp, 8
test eax, eax
je 0x10019d04
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29c]
movups xmmword [ebp - 0x29c], xmm0
movups xmmword [ebp - 0x28c], xmm0
call fcn.1003ab70
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
call fcn.1003cbc0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24c]
push edi
mov esi, eax
movq qword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x24c], xmm0
call fcn.100365c0
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
cmp dword [ebp - 0x220], 0x10
lea edx, [ebp - 0x234]
mov eax, dword [esi]
cmovae edx, dword [ebp - 0x234]
mov ecx, edx
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp - 0x2bc], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x2b8], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019bc0
sub ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [edx + ecx]
mov ecx, esi
push eax
push edx
call dword [ebp - 0x2bc]
test al, al
je 0x10019cce
cmp dword [ebp - 0x254], 0
jne 0x10019cce
mov eax, dword [ebp - 0x2c0]
xorps xmm0, xmm0
add eax, 0x40
movq qword [ebp - 0x26c], xmm0
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x27c]
push eax
movups xmmword [ebp - 0x27c], xmm0
call fcn.10014d10
add esp, 0xc
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call fcn.10038510
test al, al
je 0x10019c80
lea ecx, [ebp - 0x27c]
call fcn.10036ac0
lea ecx, [ebp - 0x264]
call fcn.10007680
lea ecx, [ebp - 0x24c]
call fcn.10036ac0
lea ecx, [ebp - 0x29c]
call fcn.1003ac90
lea ecx, [ebp - 0x234]
call fcn.10007680
xor eax, eax
jmp 0x10019e58
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.1003a2a0
cmp dword [ebp - 0x2a4], 0
mov byte [ebp - 4], 6
je 0x10019cb1
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2b4]
push eax
call fcn.100195a0
lea ecx, [ebp - 0x2b4]
mov edi, 1
call fcn.10007680
lea ecx, [ebp - 0x27c]
call fcn.10036ac0
jmp 0x10019cdb
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x264]
call fcn.10007680
lea ecx, [ebp - 0x24c]
call fcn.10036ac0
lea ecx, [ebp - 0x29c]
call fcn.1003ac90
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x10019e56
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019e4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019e76
jmp 0x10019e4c
push edx
push ecx
call fcn.100319fc
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.10031d6d
mov esp, ebp
pop ebp
ret 4
call fcn.100dd3d3
int3