Function at 0x414150
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5085c6
mov eax, dword fs:[0]
push eax
sub esp, 0x778
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x774], eax
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x788]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x4c]
mov dword [esp + 0x790], ebx
call fcn.004023d0
mov byte [esp + 0x790], 1
call fcn.0040a280
mov ecx, edi
push ebx
lea edi, [esp + 0x18]
call fcn.004108e0
lea eax, [esp + 0x4c]
push eax
mov ebx, str.SgPkgMap.zip
call fcn.00401580
cmp byte [esp + 0x15e], 0
lea eax, [esp + 0x50]
jne 0x4141e1
mov eax, dword [esp + 0x158]
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push eax
call fcn.004c63ab
add esp, 8
test eax, eax
jne 0x41452f
test dword [esp + 0x22], 0x4000
jne 0x41452f
call fcn.0043dfe0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x414243
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x414243
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x414243
xor esi, esi
push 0
push 0
push 0
push str.SGPkgMap
push str.SogouInputComponentsPicface
push esi
lea ecx, [esp + 0x3cc]
call fcn.00435960
push 0
push 0
push 0
push str.SGPkgMap_temp
push str.SogouInputComponentsPicface
push esi
lea ecx, [esp + 0x17c]
mov byte [esp + 0x7a8], 2
call fcn.00435960
push 0
push 0
push 0
push str.SGPkgMap.dat
push str.SogouInputComponentsPicface
push esi
lea ecx, [esp + 0x2a4]
mov byte [esp + 0x7a8], 3
call fcn.00435960
mov byte [esp + 0x790], 4
call fcn.00432210
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00441130
mov byte [esp + 0x790], 5
cmp byte [esp + 0x280], 0
lea ecx, [esp + 0x170]
jne 0x4142e2
mov ecx, dword [esp + 0x16c]
cmp byte [esp + 0x15e], 0
lea eax, [esp + 0x50]
jne 0x4142f7
mov eax, dword [esp + 0x158]
lea edi, [eax + 4]
lea eax, [esp + 0x14]
lea ebx, [ecx + 4]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004413d0
test al, al
jne 0x414321
lea esi, [esp + 0x164]
call fcn.00436a50
jmp 0x414494
xor edx, edx
push 0x40
push edx
lea eax, [esp + 0x746]
push eax
mov word [esp + 0x748], dx
call fcn.004cd250
add esp, 0xc
cmp byte [esp + 0x15e], 0
lea esi, [esp + 0x50]
jne 0x414353
mov esi, dword [esp + 0x158]
lea ecx, [esp + 0x604]
call fcn.00438ae0
lea eax, [esi + 4]
lea edx, [esp + 0x604]
call fcn.00438d30
lea ecx, [esp + 0x72c]
push ecx
lea edx, [esp + 0x608]
lea ecx, [esp + 0x18]
mov byte [esp + 0x794], 7
call fcn.004426e0
add esp, 4
test al, al
je 0x414447
lea ecx, [esp + 0x4dc]
call fcn.00438ae0
cmp byte [esp + 0x3a8], 0
lea eax, [esp + 0x298]
jne 0x4143bd
mov eax, dword [esp + 0x294]
add eax, 4
lea edx, [esp + 0x4dc]
call fcn.00438d30
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x790], 0xe
call fcn.00436570
lea edx, [esp + 0x73c]
push 0x21
push edx
lea eax, [esp + 0x734]
call fcn.00434550
add esp, 8
lea esi, [esp + 0x72c]
call fcn.00443420
lea eax, [esp + 0x73c]
mov byte [esp + 0x790], 0xf
call fcn.00443610
lea eax, [esp + 0x4dc]
push eax
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.004434c0
mov ecx, esi
call fcn.00443490
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x790], 7
call fcn.00438c80
lea ecx, [esp + 0x3b4]
call fcn.00436170
test al, al
je 0x414463
lea ecx, [esp + 0x3b4]
call fcn.004365e0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x3bc]
call fcn.00437ca0
lea ecx, [esp + 0x164]
call fcn.004365e0
lea ecx, [esp + 0x604]
call fcn.00438c80
lea edi, [esp + 0x4c]
call fcn.00401890
lea edi, [esp + 0x1c]
call fcn.004412c0
cmp byte [esp + 0x3a8], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x28c], esi
jne 0x4144d7
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x298]
cmp eax, ecx
je 0x4144d7
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x280], 0
mov dword [esp + 0x164], esi
jne 0x414503
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x170]
cmp eax, edx
je 0x414503
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x4d0], 0
mov dword [esp + 0x3b4], esi
jne 0x41452f
mov eax, dword [esp + 0x3bc]
lea ecx, [esp + 0x3c0]
cmp eax, ecx
je 0x41452f
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x15e], 0
jne 0x414551
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x50]
cmp eax, edx
je 0x414551
push eax
call fcn.004c6103
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00437e60
mov al, 1
mov ecx, dword [esp + 0x788]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x774]
xor ecx, esp
call fcn.004c60f4
add esp, 0x784
ret