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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123a1e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x10170120]
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.100d4b80
add esp, 0xc
call fcn.1000e2a0
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, eax
call fcn.10029bc0
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 0x100198ab
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 0x10019c26
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.100146f0
add esp, 8
test eax, eax
je 0x10019ad4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29c]
movups xmmword [ebp - 0x29c], xmm0
movups xmmword [ebp - 0x28c], xmm0
call fcn.1003a4d0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
call fcn.1003c520
xorps xmm0, xmm0
lea ecx, [ebp - 0x24c]
push edi
mov esi, eax
movq qword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x24c], xmm0
call fcn.10035f20
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 0x10019990
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 0x10019a9e
cmp dword [ebp - 0x254], 0
jne 0x10019a9e
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.10014c40
add esp, 0xc
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call fcn.10037e70
test al, al
je 0x10019a50
lea ecx, [ebp - 0x27c]
call fcn.10036420
lea ecx, [ebp - 0x264]
call fcn.10007680
lea ecx, [ebp - 0x24c]
call fcn.10036420
lea ecx, [ebp - 0x29c]
call fcn.1003a5f0
lea ecx, [ebp - 0x234]
call fcn.10007680
xor eax, eax
jmp 0x10019c28
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10039c00
cmp dword [ebp - 0x2a4], 0
mov byte [ebp - 4], 6
je 0x10019a81
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2b4]
push eax
call fcn.10019370
lea ecx, [ebp - 0x2b4]
mov edi, 1
call fcn.10007680
lea ecx, [ebp - 0x27c]
call fcn.10036420
jmp 0x10019aab
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.10036420
lea ecx, [ebp - 0x29c]
call fcn.1003a5f0
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x10019c26
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019c1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019c46
jmp 0x10019c1c
push edx
push ecx
call fcn.10031369
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.100316da
mov esp, ebp
pop ebp
ret 4
call fcn.100d8203
int3