Function at 0x1002a1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012262e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e0
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
push 0x208
lea eax, [ebp - 0x21c]
push 0
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 0x1002a256
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x2a0], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002a5a0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100146f0
add esp, 8
test eax, eax
je 0x1002a43f
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29c]
movups xmmword [ebp - 0x29c], xmm0
movups xmmword [ebp - 0x28c], xmm0
call fcn.1003a410
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
call fcn.1003c460
xorps xmm0, xmm0
lea ecx, [ebp - 0x264]
push 0
mov edi, eax
movq qword [ebp - 0x254], xmm0
movups xmmword [ebp - 0x264], xmm0
call fcn.10035e60
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
cmp dword [ebp - 0x220], 0x10
lea esi, [ebp - 0x234]
mov eax, dword [edi]
cmovae esi, dword [ebp - 0x234]
mov edx, esi
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp - 0x2a4], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1002a345
sub edx, ecx
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
mov ecx, edi
push eax
lea eax, [edx + esi]
push eax
push esi
call dword [ebp - 0x2a4]
test al, al
je 0x1002a41e
cmp dword [ebp - 0x23c], 0
jne 0x1002a41e
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], 0
push 0xa
push str.wechatuser
lea ecx, [ebp - 0x2bc]
movq qword [ebp - 0x26c], xmm0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x2a8], 0xf
mov byte [ebp - 0x2bc], 0
call fcn.1000a450
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10014c40
add esp, 0xc
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 7
call fcn.10007680
lea ecx, [ebp - 0x27c]
call fcn.10037db0
mov cl, al
mov edx, 1
mov eax, dword [ebp - 0x2a0]
test cl, cl
movzx eax, al
lea ecx, [ebp - 0x27c]
cmove eax, edx
mov dword [ebp - 0x2a0], eax
call fcn.10036360
lea ecx, [ebp - 0x24c]
call fcn.10007680
lea ecx, [ebp - 0x264]
call fcn.10036360
lea ecx, [ebp - 0x29c]
call fcn.1003a530
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1002a5a0
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a596
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5c2
jmp 0x1002a596
push edx
push ecx
call fcn.100312ab
add esp, 8
mov al, byte [ebp - 0x2a0]
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
call fcn.100d5153
int3