Function at 0x4228d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x505aa6
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2d8]
cmp byte [ebp + 0x271], 1
mov eax, dword [esp + 0x2dc]
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
je 0x422d42
call fcn.0043d5c0
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x422969
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call ebx
test eax, eax
je 0x422969
push esi
push 1
push 0
push 0x23
push 0
call ebx
test eax, eax
jne 0x42296d
test esi, esi
jne 0x42298d
mov ecx, edi
call fcn.00433db0
push 0x519998
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
jmp 0x422d91
push str.SogouInputComponentsPicface
push esi
push 0x516224
lea ecx, [ebp + 0x278]
push 0x104
push ecx
call fcn.004c5708
add esp, 0x14
push str.UserManager
mov dword [esp + 0x24], 0
call fcn.00404110
add esp, 4
lea ecx, [esp + 0x19c]
mov ebx, eax
call fcn.004349d0
mov dword [esp + 0x2d0], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x28]
cmp esi, 0xffffffff
jne 0x4229f0
call fcn.00419320
mov esi, dword [eax + 0x14]
test ebx, ebx
je 0x422d46
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1a0]
push edx
push edi
mov ecx, ebx
mov dword [esp + 0x28], esi
call fcn.00485ba0
test al, al
je 0x422d46
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.00487330
test al, al
jne 0x422a55
push 0x5180c0
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0x19c]
call fcn.00434b70
jmp 0x422d91
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp dword [eax + 0x88], ebx
mov dword [esp + 0x174], ebx
setne cl
xor eax, eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov byte [esp + 0x16], cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov eax, 0x516254
test cl, cl
jne 0x422b70
mov dword [esp + 0x174], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x194], eax
call fcn.0040a2e0
mov ecx, dword [esp + 0x24]
push ecx
push esi
push edi
lea esi, [esp + 0x2c]
lea edi, [esp + 0x180]
call fcn.0040d1a0
test al, al
jne 0x422b38
push str._fTek1Y_
mov ecx, dword [esp + 0x1c]
call fcn.00402790
lea ecx, [esp + 0x19c]
call fcn.00434b70
jmp 0x422d91
mov esi, dword [esp + 0x194]
lea ecx, [esp + 0x50]
call fcn.004349d0
mov eax, esi
lea edx, [esp + 0x50]
call fcn.00434c20
lea edx, [esp + 0x50]
lea esi, [ebp + 0x18]
push edx
mov ecx, esi
call fcn.00432110
lea ecx, [esp + 0x50]
call fcn.00434b70
jmp 0x422bf4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.0040a2e0
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
push edi
lea ebx, [esp + 0x34]
call fcn.0040cf30
test al, al
jne 0x422bc2
push str._fTek1Y_
mov ecx, edi
call fcn.00402790
lea ecx, [esp + 0x19c]
call fcn.00434b70
jmp 0x422d91
lea ecx, [esp + 0x50]
call fcn.004349d0
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x50]
call fcn.00434c20
lea ecx, [esp + 0x50]
lea esi, [ebp + 0x18]
push ecx
mov ecx, esi
call fcn.00432110
lea ecx, [esp + 0x50]
call fcn.00434b70
mov ebx, dword [esp + 0x2c]
lea edi, [ebp + 0x13c]
push esi
mov ecx, edi
call fcn.00432110
lea ecx, [esp + 0x50]
call fcn.004349d0
mov eax, str.ComponentsPicfacePicfaceData_
lea edx, [esp + 0x50]
call fcn.00434c20
lea edx, [esp + 0x50]
push edx
mov ecx, edi
call fcn.004320b0
lea ecx, [esp + 0x50]
call fcn.00434b70
push 0x53af9c
push 0xfd4
call fcn.004c7089
add esp, 8
cmp byte [esp + 0x16], 0
mov dword [esp + 0x1c], eax
jne 0x422c77
mov byte [esp + 0x2d0], 4
test eax, eax
je 0x422ca5
mov ecx, dword [esp + 0x188]
push ecx
mov ecx, dword [esp + 0x178]
lea edx, [esp + 0x17c]
push edx
push ecx
push eax
call fcn.00406610
jmp 0x422ca7
mov byte [esp + 0x2d0], 5
test eax, eax
je 0x422ca5
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push ebx
push eax
call fcn.00406730
jmp 0x422ca7
xor eax, eax
mov byte [esp + 0x2d0], 0
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x422cc0
push str.construct_connector_failed.
jmp 0x422b1e
cmp byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
jne 0x422cfe
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x17]
push ecx
push eax
mov eax, esi
call fcn.00406980
test al, al
jne 0x422d1f
push str.connect_to_server_failed.
mov ecx, esi
call fcn.00402790
lea ecx, [esp + 0x19c]
call fcn.00434b70
jmp 0x422d91
lea edx, [esp + 0x17]
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.004068b0
test al, al
jne 0x422d1b
push str.connect_to_server_failed.
jmp 0x422b1e
mov esi, dword [esp + 0x18]
mov edx, esi
mov ecx, ebp
mov byte [ebp + 0x260], 0
call fcn.00423900
lea ecx, [esp + 0x19c]
mov byte [ebp + 0x271], 1
call fcn.00434b70
mov al, 1
jmp 0x422d93
mov ecx, edi
call fcn.00433db0
push 0x5180ac
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x2b8], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x422d91
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x1a8]
cmp eax, ecx
je 0x422d91
push eax
call fcn.004c31b0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.004c31a1
add esp, 0x2c0
ret 8