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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101223bb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x1016d120]
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.100d1ad0
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 0x10028826
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 0x10028d2f
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 0x10028bc4
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2cc]
movups xmmword [ebp - 0x2cc], xmm0
movups xmmword [ebp - 0x2bc], xmm0
call fcn.1003a410
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.1003c460
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.10035e60
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 0x10028916
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 0x10028b8e
cmp dword [ebp - 0x254], 0
jne 0x10028b8e
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.10037db0
test al, al
jne 0x10028a15
push 0x60
call fcn.1003127b
mov esi, eax
add esp, 4
mov dword [ebp - 0x2dc], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x10028a0a
push 0x60
push 0
push esi
call fcn.100d1ad0
add esp, 0xc
mov ecx, esi
call fcn.10018f30
mov edi, eax
mov byte [ebp - 4], 7
jmp 0x10028adf
xor edi, edi
mov byte [ebp - 4], 7
jmp 0x10028adf
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.10037db0
test al, al
jne 0x10028ad0
push 0x68
call fcn.1003127b
mov esi, eax
add esp, 4
mov dword [ebp - 0x2dc], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10028ac5
push 0x68
push 0
push esi
call fcn.100d1ad0
add esp, 0xc
mov ecx, esi
call fcn.10018e80
mov edi, eax
jmp 0x10028ac7
xor edi, edi
mov esi, dword [ebp - 0x2e0]
mov byte [esi], 1
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
call fcn.10036360
test edi, edi
je 0x10028b7b
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x294]
call fcn.10039b40
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x10028b32
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.10036360
lea ecx, [ebp - 0x264]
call fcn.10007680
lea ecx, [ebp - 0x294]
call fcn.10036360
lea ecx, [ebp - 0x2cc]
call fcn.1003a530
lea ecx, [ebp - 0x24c]
call fcn.10007680
mov eax, edi
jmp 0x10029080
lea ecx, [ebp - 0x27c]
call fcn.10036360
mov esi, dword [ebp - 0x2d4]
jmp 0x10028b9b
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.10036360
lea ecx, [ebp - 0x2cc]
call fcn.1003a530
mov edx, dword [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10028d2f
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028d25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002909e
jmp 0x10028d25
push edx
push ecx
call fcn.100312ab
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.1002db72
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.100297e0
push eax
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [edi + 0x90]
call fcn.1002bf70
mov edx, dword [ebp - 0x298]
cmp edx, 0x10
jb 0x10028de4
mov ecx, dword [ebp - 0x2ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028dda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100290a3
push edx
push ecx
call fcn.100312ab
add esp, 8
mov esi, dword [ebp - 0x2d0]
cmp esi, dword [edi + 0x94]
je 0x1002902c
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.1003eca0
mov edx, dword [ebp - 0x250]
add esp, 0xc
mov byte [ebp - 0x2d5], al
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x10028e86
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028e76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100290a8
push edx
push ecx
call fcn.100312ab
mov al, byte [ebp - 0x2d5]
add esp, 8
test al, al
je 0x10029014
push 0x68
call fcn.1003127b
mov edi, eax
add esp, 4
mov dword [ebp - 0x2d4], edi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x10028ebe
push 0x68
push 0
push edi
call fcn.100d1ad0
add esp, 0xc
mov ecx, edi
call fcn.10018e80
jmp 0x10028ec0
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.10035c00
mov ecx, dword [ebp - 0x2d0]
call edi
push 0x1012d340
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.1003edc0
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 0x10028f80
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 0x10028fbc
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 0x10028fe6
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.100290b0
lea ecx, [ebp - 0x234]
mov byte [esi], 1
call fcn.10005ca0
jmp 0x1002906c
push 0x60
call fcn.1003127b
mov esi, eax
add esp, 4
mov dword [ebp - 0x2d4], esi
mov byte [ebp - 4], 0x1d
jmp 0x10029042
push 0x60
call fcn.1003127b
mov esi, eax
add esp, 4
mov dword [ebp - 0x2d4], esi
mov byte [ebp - 4], 0x1e
test esi, esi
je 0x10029062
push 0x60
push 0
push esi
call fcn.100d1ad0
add esp, 0xc
mov ecx, esi
call fcn.10018f30
mov dword [ebp - 0x2d0], eax
jmp 0x1002906c
mov dword [ebp - 0x2d0], 0
push dword [ebp - 0x2ec]
call fcn.1002db8e
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.1003161c
mov esp, ebp
pop ebp
ret 4
call fcn.100d5153
call fcn.100d5153
call fcn.100d5153
int3