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

Disassembly:
push 0xffffffffffffffff
push 0x50f3fd
mov eax, dword fs:[0]
push eax
sub esp, 0x5f4
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x5f0], eax
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x604]
mov dword fs:[0], eax
mov eax, dword [esp + 0x614]
mov edi, ecx
mov dword [esp + 0x14], eax
mov eax, str.http:__config.pinyin.sogou.com_picface_interface_SogouCellMap.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.MapMd5
push 0x51f1f4
mov edx, edi
call fcn.00439710
add esp, 0x10
lea ecx, [esp + 0x160]
call fcn.00438f20
mov dword [esp + 0x60c], 0
call fcn.0043e400
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x40eeaa
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call ebp
test eax, eax
je 0x40eeaa
push esi
push 1
push 0
push 0x23
push 0
call ebp
test eax, eax
je 0x40eeaa
xor ebp, ebp
jmp 0x40eeac
mov ebp, esi
lea ecx, [esp + 0x288]
call fcn.00438f20
mov eax, ebp
lea edx, [esp + 0x288]
mov byte [esp + 0x60c], 1
call fcn.00439130
push 0
push 0
push 0
push 0
push 0
push str.SogouInputComponentsPicface
lea ecx, [esp + 0x54]
call fcn.00435dc0
cmp byte [esp + 0x158], 0
lea eax, [esp + 0x48]
jne 0x40eef8
mov eax, dword [esp + 0x44]
cmp word [eax + 4], 0x2e
lea ecx, [esp + 0x3c]
jne 0x40ef11
lea esi, [esp + 0x288]
call fcn.00436ef0
jmp 0x40ef1e
push ecx
lea ecx, [esp + 0x28c]
call fcn.00436390
cmp byte [esp + 0x158], 0
mov dword [esp + 0x3c], vtable.t_str.0
jne 0x40ef45
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x48]
cmp eax, edx
je 0x40ef45
push eax
call fcn.004cc2c0
add esp, 4
lea ecx, [esp + 0x288]
mov byte [esp + 0x60c], 2
call fcn.004365b0
test al, al
je 0x40f16d
lea ecx, [esp + 0x4d8]
call fcn.00438f20
mov eax, ebp
lea edx, [esp + 0x4d8]
mov byte [esp + 0x60c], 3
call fcn.00439130
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push str.SogouInputComponentsPicfaceSGPkgMap
lea ecx, [esp + 0x54]
call fcn.00435dc0
cmp byte [esp + 0x158], 0
lea eax, [esp + 0x48]
jne 0x40efaa
mov eax, dword [esp + 0x44]
cmp word [eax + 4], 0x2e
jne 0x40efc5
lea ecx, [esp + 0x3c]
lea esi, [esp + 0x4d8]
call fcn.00436ef0
xor esi, esi
jmp 0x40efd6
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4dc]
call fcn.00436390
cmp byte [esp + 0x158], 0
mov dword [esp + 0x3c], vtable.t_str.0
jne 0x40effd
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40effd
push eax
call fcn.004cc2c0
add esp, 4
push esi
push esi
push esi
push str.SGPkgMap.dat
push str.SogouInputComponentsPicface
push ebp
lea ecx, [esp + 0x3c8]
mov byte [esp + 0x624], 4
call fcn.00435dc0
lea ecx, [esp + 0x4d8]
mov byte [esp + 0x60c], 5
call fcn.004365b0
test al, al
je 0x40f10e
cmp byte [esp + 0x4cc], 0
lea eax, [esp + 0x3bc]
jne 0x40f053
mov eax, dword [esp + 0x3b8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40f10e
shr eax, 4
not al
and al, 1
je 0x40f10e
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], fcn.004cc39d
mov dword [esp + 0x2c], fcn.004ce4c2
mov dword [esp + 0x30], fcn.004cc2c0
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0x1fff8
mov dword [esp + 0x24], vtable.t_heap.0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3b0]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x614], 6
call fcn.00442fc0
test al, al
jne 0x40f0db
lea ecx, [esp + 0x160]
call fcn.004390b0
jmp 0x40f0fd
lea edx, [esp + 0x18]
call fcn.004432f0
cmp eax, esi
je 0x40f0fd
push eax
push 0x51f1f4
lea edx, [esp + 0x168]
call fcn.00439710
add esp, 8
lea esi, [esp + 0x18]
mov byte [esp + 0x60c], 5
call fcn.00442f80
cmp byte [esp + 0x4cc], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x3b0], esi
jne 0x40f13f
mov eax, dword [esp + 0x3b8]
lea ecx, [esp + 0x3bc]
cmp eax, ecx
je 0x40f13f
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x5f4], 0
mov dword [esp + 0x4d8], esi
jne 0x40f180
mov eax, dword [esp + 0x4e0]
lea edx, [esp + 0x4e4]
cmp eax, edx
je 0x40f180
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x40f180
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x290]
call fcn.00436f40
cmp byte [esp + 0x27c], 0
lea eax, [esp + 0x16c]
jne 0x40f198
mov eax, dword [esp + 0x168]
add eax, 4
push eax
push 0x51f1f4
mov edx, edi
call fcn.00439710
add esp, 8
cmp byte [esp + 0x3a4], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x288], esi
jne 0x40f1dc
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x294]
cmp eax, ecx
je 0x40f1dc
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x27c], 0
mov dword [esp + 0x160], esi
jne 0x40f208
mov eax, dword [esp + 0x168]
lea edx, [esp + 0x16c]
cmp eax, edx
je 0x40f208
push eax
call fcn.004cc2c0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x604]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x5f0]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x600
ret 4