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

Disassembly:
push 0xffffffffffffffff
push 0x50f291
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x3bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3cc]
mov edi, ecx
mov dword [esp + 0x18], eax
mov eax, str.http:__config.pinyin.sogou.com_picface_interface_CandBlackList.php
mov edx, edi
call fcn.00439130
push edi
call fcn.0042b690
add esp, 4
push str.ver
push 0x51f1f4
mov edx, edi
call fcn.00439710
call fcn.00402ff0
push str.IniVer
push 0x51f1f4
mov edx, edi
call fcn.00439710
add esp, 0x10
lea ecx, [esp + 0x164]
call fcn.00438f20
xor ebx, ebx
mov dword [esp + 0x3c4], ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], fcn.004cc39d
mov dword [esp + 0x30], fcn.004ce4c2
mov dword [esp + 0x34], fcn.004cc2c0
call fcn.00438f20
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c4], 1
call fcn.0043e400
cmp word [eax + 0x4d4], bx
lea esi, [eax + 0x4d4]
jne 0x412c9e
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push ebx
push ebx
push 0x23
push ebx
call ebp
test eax, eax
je 0x412c9e
push esi
push 1
push ebx
push 0x23
push ebx
call ebp
test eax, eax
je 0x412c9e
xor esi, esi
push ebx
push ebx
push ebx
push str.CandBlackList.ini
push str.SogouInputComponentsPicfaceCandBlackList
push esi
lea ecx, [esp + 0x2a4]
call fcn.00435dc0
mov byte [esp + 0x3c4], 2
cmp dword [esp + 0x290], ebx
je 0x412d5d
lea eax, [esp + 0x298]
cmp byte [esp + 0x3a8], bl
jne 0x412ce4
mov eax, dword [esp + 0x294]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412d5d
shr eax, 4
not al
and al, 1
je 0x412d5d
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x290]
lea ebx, [esp + 0x20]
call fcn.0042e2f0
test al, al
jne 0x412d2f
push 0
push 0x51ff34
lea edx, [esp + 0x16c]
call fcn.00439710
add esp, 8
xor ebx, ebx
jmp 0x412d72
cmp byte [esp + 0x158], 0
lea eax, [esp + 0x48]
jne 0x412d41
mov eax, dword [esp + 0x44]
add eax, 4
push eax
push 0x51f1f4
lea edx, [esp + 0x16c]
call fcn.00439710
add esp, 8
xor ebx, ebx
jmp 0x412d72
push ebx
push 0x51ff34
lea edx, [esp + 0x16c]
call fcn.00439710
add esp, 8
lea eax, [esp + 0x170]
cmp byte [esp + 0x280], bl
jne 0x412d89
mov eax, dword [esp + 0x16c]
add eax, 4
push eax
push 0x51f1f4
mov edx, edi
call fcn.00439710
add esp, 8
mov esi, vtable.t_str.0
mov dword [esp + 0x28c], esi
cmp byte [esp + 0x3a8], bl
jne 0x412dcc
mov eax, dword [esp + 0x294]
lea edx, [esp + 0x298]
cmp eax, edx
je 0x412dcc
push eax
call fcn.004cc2c0
add esp, 4
mov byte [esp + 0x3c4], bl
mov dword [esp + 0x3c], esi
cmp byte [esp + 0x158], bl
jne 0x412df5
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x412df5
push eax
call fcn.004cc2c0
add esp, 4
lea edi, [esp + 0x1c]
call fcn.0042e610
mov dword [esp + 0x164], esi
cmp byte [esp + 0x280], bl
jne 0x412e29
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x170]
cmp eax, edx
je 0x412e29
push eax
call fcn.004cc2c0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x3bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x3b4
ret 4