Function at 0x10005630
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1012e35c
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x3a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3d4]
lea ebp, [eax + 0x11e0]
mov edi, ebp
call fcn.10007c30
call fcn.100680e0
lea esi, [eax + 0x4d4]
xor ebx, ebx
cmp word [esi], bx
jne 0x100056b2
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push ebx
push ebx
push 0x23
push ebx
call edi
test eax, eax
je 0x100056b2
push esi
push 1
push ebx
push 0x23
push ebx
call edi
test eax, eax
je 0x100056b2
xor esi, esi
push ebx
push ebx
push ebx
push str.CandBlackList.ini
push str.SogouInputComponentsPicfaceCandBlackList
push esi
lea ecx, [esp + 0x3c]
call fcn.1005f3c0
mov dword [esp + 0x3cc], ebx
cmp dword [esp + 0x28], ebx
je 0x100058e6
lea eax, [esp + 0x30]
cmp byte [esp + 0x140], bl
jne 0x100056eb
mov eax, dword [esp + 0x2c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100058e6
shr eax, 4
not al
and al, 1
je 0x100058e6
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x16c]
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], fcn.100cf978
mov dword [esp + 0x160], fcn.100cfa42
mov dword [esp + 0x164], fcn.100cf89b
call fcn.10062500
mov dword [esp + 0x168], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
lea ebx, [esp + 0x150]
mov byte [esp + 0x3d0], 2
call fcn.1005a190
test al, al
jne 0x100057c1
mov eax, ebx
mov byte [esp + 0x3cc], 1
call fcn.1005a160
lea ecx, [esp + 0x1c]
call fcn.10061940
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], vtable.t_str.0
jne 0x1000590c
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
jmp 0x10005901
xor esi, esi
cmp dword [esp + 0x168], esi
jle 0x10005871
xor ebx, ebx
lea edi, [esp + 0x294]
call fcn.10062500
mov byte [esp + 0x3cc], 3
test esi, esi
jl 0x1000582d
cmp esi, dword [esp + 0x168]
jge 0x1000582d
mov edx, dword [esp + 0x14c]
cmp byte [ebx + edx + 0x11c], 0
lea eax, [ebx + edx + 8]
je 0x1000580d
add eax, 4
jmp 0x1000580f
mov eax, dword [eax]
add eax, 4
lea edx, [esp + 0x294]
call fcn.10062710
lea eax, [esp + 0x294]
push eax
mov eax, ebp
call fcn.10007bc0
cmp byte [esp + 0x3b0], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x1000585d
mov eax, dword [esp + 0x29c]
lea ecx, [esp + 0x2a0]
cmp eax, ecx
je 0x1000585d
push eax
call fcn.100cf89b
add esp, 4
inc esi
add ebx, 0x124
cmp esi, dword [esp + 0x168]
jl 0x100057d2
mov byte [esp + 0x3cc], 1
cmp byte [esp + 0x288], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x16c], esi
jne 0x100058aa
mov eax, dword [esp + 0x174]
lea edx, [esp + 0x178]
cmp eax, edx
je 0x100058aa
push eax
call fcn.100cf89b
add esp, 4
lea edi, [esp + 0x14c]
call fcn.1005a510
lea ecx, [esp + 0x1c]
call fcn.10061940
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], esi
jne 0x100058e2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x100058e2
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
jmp 0x1000590e
mov dword [esp + 0x24], vtable.t_str.0
cmp byte [esp + 0x140], bl
jne 0x1000590c
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x1000590c
push eax
call fcn.100cf89b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x3c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.100cf604
add esp, 0x3bc
ret 4