Function at 0x414300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50e996
mov eax, dword fs:[0]
push eax
sub esp, 0x778
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x774], eax
push ebx
push esi
push edi
mov eax, dword [0x53f5a0]
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.0040a6b0
mov ecx, edi
push ebx
lea edi, [esp + 0x18]
call fcn.00410cb0
lea eax, [esp + 0x4c]
push eax
mov ebx, str.SgPkgMap.zip
call fcn.00401580
cmp byte [esp + 0x15e], 0
lea eax, [esp + 0x50]
jne 0x414391
mov eax, dword [esp + 0x158]
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push eax
call fcn.004cc568
add esp, 8
test eax, eax
jne 0x4146df
test dword [esp + 0x22], 0x4000
jne 0x4146df
call fcn.0043e400
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x4143f3
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x4143f3
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x4143f3
xor esi, esi
push 0
push 0
push 0
push str.SGPkgMap
push str.SogouInputComponentsPicface
push esi
lea ecx, [esp + 0x3cc]
call fcn.00435dc0
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.00435dc0
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.00435dc0
mov byte [esp + 0x790], 4
call fcn.004324f0
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00441450
mov byte [esp + 0x790], 5
cmp byte [esp + 0x280], 0
lea ecx, [esp + 0x170]
jne 0x414492
mov ecx, dword [esp + 0x16c]
cmp byte [esp + 0x15e], 0
lea eax, [esp + 0x50]
jne 0x4144a7
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.004416f0
test al, al
jne 0x4144d1
lea esi, [esp + 0x164]
call fcn.00436e90
jmp 0x414644
xor edx, edx
push 0x40
push edx
lea eax, [esp + 0x746]
push eax
mov word [esp + 0x748], dx
call fcn.004d3360
add esp, 0xc
cmp byte [esp + 0x15e], 0
lea esi, [esp + 0x50]
jne 0x414503
mov esi, dword [esp + 0x158]
lea ecx, [esp + 0x604]
call fcn.00438f20
lea eax, [esi + 4]
lea edx, [esp + 0x604]
call fcn.00439130
lea ecx, [esp + 0x72c]
push ecx
lea edx, [esp + 0x608]
lea ecx, [esp + 0x18]
mov byte [esp + 0x794], 7
call fcn.00442a00
add esp, 4
test al, al
je 0x4145f7
lea ecx, [esp + 0x4dc]
call fcn.00438f20
cmp byte [esp + 0x3a8], 0
lea eax, [esp + 0x298]
jne 0x41456d
mov eax, dword [esp + 0x294]
add eax, 4
lea edx, [esp + 0x4dc]
call fcn.00439130
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x790], 0xe
call fcn.004369b0
lea edx, [esp + 0x73c]
push 0x21
push edx
lea eax, [esp + 0x734]
call fcn.00434830
add esp, 8
lea esi, [esp + 0x72c]
call fcn.00443740
lea eax, [esp + 0x73c]
mov byte [esp + 0x790], 0xf
call fcn.00443930
lea eax, [esp + 0x4dc]
push eax
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.004437e0
mov ecx, esi
call fcn.004437b0
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x790], 7
call fcn.00439080
lea ecx, [esp + 0x3b4]
call fcn.004365b0
test al, al
je 0x414613
lea ecx, [esp + 0x3b4]
call fcn.00436a20
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x3bc]
call fcn.004380e0
lea ecx, [esp + 0x164]
call fcn.00436a20
lea ecx, [esp + 0x604]
call fcn.00439080
lea edi, [esp + 0x4c]
call fcn.00401890
lea edi, [esp + 0x1c]
call fcn.004415e0
cmp byte [esp + 0x3a8], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x28c], esi
jne 0x414687
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x298]
cmp eax, ecx
je 0x414687
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x280], 0
mov dword [esp + 0x164], esi
jne 0x4146b3
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x170]
cmp eax, edx
je 0x4146b3
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x4d0], 0
mov dword [esp + 0x3b4], esi
jne 0x4146df
mov eax, dword [esp + 0x3bc]
lea ecx, [esp + 0x3c0]
cmp eax, ecx
je 0x4146df
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x15e], 0
jne 0x414701
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x50]
cmp eax, edx
je 0x414701
push eax
call fcn.004cc2c0
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004382a0
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.004cc2b1
add esp, 0x784
ret