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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012547b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
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 - 0x2e0], ecx
mov eax, dword [ebp + 8]
xor edi, edi
push 0x208
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.100d4b80
call fcn.1000e2a0
mov eax, dword [eax + 0x58]
sub eax, 0x10
push eax
call fcn.1000e050
add esp, 0x10
lea esi, [eax + 0x10]
push str.usercenter.set
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100288e6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10028def
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100146f0
add esp, 8
test eax, eax
je 0x10028c84
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2cc]
movups xmmword [ebp - 0x2cc], xmm0
movups xmmword [ebp - 0x2bc], xmm0
call fcn.1003a4d0
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.1003c520
xorps xmm0, xmm0
lea ecx, [ebp - 0x294]
mov esi, eax
movq qword [ebp - 0x284], xmm0
push 0
mov dword [ebp - 0x2d4], esi
movups xmmword [ebp - 0x294], xmm0
call fcn.10035f20
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
cmp dword [ebp - 0x238], 0x10
lea edx, [ebp - 0x24c]
mov eax, dword [esi]
cmovae edx, dword [ebp - 0x24c]
mov ecx, edx
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp - 0x2d0], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x2dc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100289d6
sub ecx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [edx + ecx]
mov ecx, esi
push eax
push edx
call dword [ebp - 0x2d0]
test al, al
je 0x10028c4e
cmp dword [ebp - 0x254], 0
jne 0x10028c4e
xorps xmm0, xmm0
mov dword [ebp - 0x2f4], 0
push 0xa
push str.wechatuser
lea ecx, [ebp - 0x304]
movq qword [ebp - 0x26c], xmm0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x2f0], 0xf
mov byte [ebp - 0x304], 0
call fcn.1000a450
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10014c40
add esp, 0xc
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 7
call fcn.10007680
lea ecx, [ebp - 0x27c]
call fcn.10037e70
test al, al
jne 0x10028ad5
push 0x60
call fcn.10031339
mov esi, eax
add esp, 4
mov dword [ebp - 0x2dc], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x10028aca
push 0x60
push 0
push esi
call fcn.100d4b80
add esp, 0xc
mov ecx, esi
call fcn.10018f30
mov edi, eax
mov byte [ebp - 4], 7
jmp 0x10028b9f
xor edi, edi
mov byte [ebp - 4], 7
jmp 0x10028b9f
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
push 7
push str.tryuser
lea ecx, [ebp - 0x234]
movq qword [ebp - 0x29c], xmm0
movups xmmword [ebp - 0x2ac], xmm0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.1000a450
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.10014c40
add esp, 0xc
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xb
call fcn.10007680
lea ecx, [ebp - 0x2ac]
call fcn.10037e70
test al, al
jne 0x10028b90
push 0x68
call fcn.10031339
mov esi, eax
add esp, 4
mov dword [ebp - 0x2dc], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10028b85
push 0x68
push 0
push esi
call fcn.100d4b80
add esp, 0xc
mov ecx, esi
call fcn.10018e80
mov edi, eax
jmp 0x10028b87
xor edi, edi
mov esi, dword [ebp - 0x2e0]
mov byte [esi], 1
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
call fcn.10036420
test edi, edi
je 0x10028c3b
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x294]
call fcn.10039c00
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x10028bf2
mov eax, dword [edi]
cmp dword [ebp - 0x220], 0x10
push ecx
mov ecx, edi
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call edx
mov eax, dword [ebp - 0x2e4]
mov dword [eax], 1
lea ecx, [ebp - 0x234]
call fcn.10007680
lea ecx, [ebp - 0x27c]
call fcn.10036420
lea ecx, [ebp - 0x264]
call fcn.10007680
lea ecx, [ebp - 0x294]
call fcn.10036420
lea ecx, [ebp - 0x2cc]
call fcn.1003a5f0
lea ecx, [ebp - 0x24c]
call fcn.10007680
mov eax, edi
jmp 0x10029140
lea ecx, [ebp - 0x27c]
call fcn.10036420
mov esi, dword [ebp - 0x2d4]
jmp 0x10028c5b
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 - 0x294]
call fcn.10036420
lea ecx, [ebp - 0x2cc]
call fcn.1003a5f0
mov edx, dword [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10028def
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028de5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002915e
jmp 0x10028de5
push edx
push ecx
call fcn.10031369
add esp, 8
mov edi, dword [ebp - 0x2e0]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2ec], xmm0
mov byte [ebp - 0x2e8], 1
lea eax, [edi + 0x6c]
push eax
mov dword [ebp - 0x2ec], eax
call fcn.1002dc33
sub esp, 0x14
mov dword [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x2d0], 0
push 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.midVip
mov byte [ecx], 0
call fcn.1000a450
lea eax, [ebp - 0x2ac]
mov ecx, edi
push eax
call fcn.100298a0
push eax
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [edi + 0x90]
call fcn.1002c030
mov edx, dword [ebp - 0x298]
cmp edx, 0x10
jb 0x10028ea4
mov ecx, dword [ebp - 0x2ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028e9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029163
push edx
push ecx
call fcn.10031369
add esp, 8
mov esi, dword [ebp - 0x2d0]
cmp esi, dword [edi + 0x94]
je 0x100290ec
push 8
push str.is_guest
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
call fcn.1000a450
push 0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x14
lea eax, [esi + 0x20]
push ecx
push eax
call fcn.1003ed60
mov edx, dword [ebp - 0x250]
add esp, 0xc
mov byte [ebp - 0x2d5], al
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x10028f46
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028f36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029168
push edx
push ecx
call fcn.10031369
mov al, byte [ebp - 0x2d5]
add esp, 8
test al, al
je 0x100290d4
push 0x68
call fcn.10031339
mov edi, eax
add esp, 4
mov dword [ebp - 0x2d4], edi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x10028f7e
push 0x68
push 0
push edi
call fcn.100d4b80
add esp, 0xc
mov ecx, edi
call fcn.10018e80
jmp 0x10028f80
xor eax, eax
mov dword [ebp - 0x2d0], eax
sub esp, 0x18
mov eax, dword [eax]
mov ecx, esp
mov byte [ebp - 4], 0x13
mov edi, dword [eax + 0x18]
lea eax, [esi + 0x20]
push eax
call fcn.10035cc0
mov ecx, dword [ebp - 0x2d0]
call edi
push 0x10130350
lea ecx, [ebp - 0x2dc]
call fcn.10006a90
push 6
push str.avatar
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
call fcn.1000a450
push 0xfde9
lea eax, [ebp - 0x2dc]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x27c]
add esi, 0x20
push eax
lea eax, [ebp - 0x2d4]
push esi
push eax
call fcn.1003ee80
add esp, 0x14
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029040
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.10005f30
mov edx, dword [ebp - 0x2d4]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002907c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x27c]
call fcn.10007680
mov edx, dword [ebp - 0x2dc]
mov byte [ebp - 4], 0x1c
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100290a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x234]
mov ecx, esp
push eax
call fcn.1001c140
mov esi, dword [ebp - 0x2e0]
mov ecx, esi
call fcn.10029170
lea ecx, [ebp - 0x234]
mov byte [esi], 1
call fcn.10005ca0
jmp 0x1002912c
push 0x60
call fcn.10031339
mov esi, eax
add esp, 4
mov dword [ebp - 0x2d4], esi
mov byte [ebp - 4], 0x1d
jmp 0x10029102
push 0x60
call fcn.10031339
mov esi, eax
add esp, 4
mov dword [ebp - 0x2d4], esi
mov byte [ebp - 4], 0x1e
test esi, esi
je 0x10029122
push 0x60
push 0
push esi
call fcn.100d4b80
add esp, 0xc
mov ecx, esi
call fcn.10018f30
mov dword [ebp - 0x2d0], eax
jmp 0x1002912c
mov dword [ebp - 0x2d0], 0
push dword [ebp - 0x2ec]
call fcn.1002dc4f
mov eax, dword [ebp - 0x2d0]
add esp, 4
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
call fcn.100d8203
call fcn.100d8203
int3