Function at 0x40d350
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b4b0f
mov eax, dword fs:[0]
push eax
mov eax, 0x170c
call fcn.004774d0
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x1708], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0x1720]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0xa
mov esi, str.SogouComponentAgent
lea edi, [esp + 0x2e4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], ebx
call fcn.0041ead0
push ebx
xor esi, esi
push ecx
mov dword [esp + 0x1730], esi
call fcn.00401760
add esp, 4
push eax
lea ecx, [esp + 0x5c]
call fcn.0045a540
push 0x206
lea ecx, [esp + 0x51a]
xor eax, eax
push esi
push ecx
mov word [esp + 0x520], ax
call fcn.00476c30
add esp, 0xc
lea edx, [esp + 0x514]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x206
lea ecx, [esp + 0x312]
xor eax, eax
push esi
push ecx
mov word [esp + 0x318], ax
call fcn.00476c30
add esp, 0xc
lea edx, [esp + 0x514]
push edx
push str._s_version.ini
lea eax, [esp + 0x314]
push 0x104
push eax
call fcn.0046fdbd
push 0xffe
lea edx, [esp + 0x732]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x738], cx
call fcn.00476c30
add esp, 0x1c
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x40d472
mov eax, dword [esp + 0x5c]
push 0x7ff
add eax, 4
push eax
lea eax, [esp + 0x724]
push 0x800
push eax
call fcn.004710fb
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x2b]
push edx
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x738]
push ecx
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x304]
call fcn.0040da20
add esp, 0x20
test al, al
jne 0x40d502
mov ecx, ebx
call fcn.0041a480
mov esi, eax
push 0x4cc5f0
push 0x4d4204
mov edx, esi
call fcn.0041f080
mov edx, dword [esp + 0x20]
push edx
push 0x4d4d4c
mov edx, esi
call fcn.0041f080
push 0x4cc610
push 0x4d4204
mov edx, esi
call fcn.0041f080
add esp, 0x18
jmp 0x40d9cb
call fcn.00401760
mov ecx, dword [eax + 0xaf4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 5
push 0x4cc614
call eax
mov dword [esp + 0x20], fcn.00470104
mov dword [esp + 0x24], fcn.00470421
mov dword [esp + 0x28], fcn.00470027
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x8000
mov dword [esp + 0x1c], 0x4c36dc
mov dword [esp + 0x34], esi
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x30c]
push ecx
mov edx, ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x172c], 1
call fcn.00421cf0
test al, al
jne 0x40d5ac
mov byte [esp + 0x1728], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0x4c345c
cmp eax, esi
je 0x40d9c7
lea ebx, [ebx]
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x30], edx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, esi
jne 0x40d590
jmp 0x40d9c7
push 0x4cc124
mov ecx, 0x4cc124
lea eax, [esp + 0x20]
call fcn.00421ad0
cmp eax, esi
je 0x40d976
push 0x4cc134
push eax
call fcn.0046ff94
add esp, 8
test eax, eax
jne 0x40d976
push 0x4cc068
mov ecx, str.MODULE
lea eax, [esp + 0x20]
call fcn.00421ad0
cmp eax, esi
je 0x40d92b
cmp word [eax], si
je 0x40d92b
push eax
mov byte [esp + 0x1b], 1
call fcn.00471773
add esp, 4
cmp eax, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
jle 0x40d8e4
jmp 0x40d623
xor esi, esi
push 0x3e
lea eax, [esp + 0x2aa]
xor edx, edx
push esi
push eax
mov word [esp + 0x2b0], dx
call fcn.00476c30
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push str.bundle_d
lea edx, [esp + 0x2ac]
push 0x20
push edx
call fcn.0046fdbd
add esp, 0x10
push 0x4cc138
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x20]
call fcn.00421ad0
mov edi, eax
push 0x4cc164
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x20]
call fcn.00421ad0
mov ebp, eax
push 0x4cc174
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x20]
call fcn.00421ad0
mov ebx, eax
push 0x4cc180
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x20]
call fcn.00421ad0
mov esi, eax
push str.downloadtype
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x20]
mov dword [esp + 0x48], esi
call fcn.00421ad0
mov dword [esp + 0x40], eax
push str.sharetime
lea ecx, [esp + 0x2a8]
lea eax, [esp + 0x20]
call fcn.00421ad0
mov dword [esp + 0x4c], eax
test edi, edi
je 0x40d83a
cmp word [edi], 0
je 0x40d83a
test ebx, ebx
je 0x40d83a
cmp word [ebx], 0
je 0x40d83a
test esi, esi
je 0x40d83a
cmp word [esi], 0
je 0x40d83a
test ebp, ebp
je 0x40d83a
cmp word [ebp], 0
je 0x40d83a
lea ecx, [esp + 0x17c]
call fcn.0041ead0
lea eax, [esp + 0x17c]
push eax
push edi
mov byte [esp + 0x1730], 2
call fcn.00401760
call fcn.00459830
test al, al
je 0x40d77f
lea ecx, [esp + 0x17c]
call fcn.0041c370
mov edx, eax
mov ecx, ebp
call fcn.0041f770
test eax, eax
jle 0x40d824
push 0x70
call fcn.004706a8
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x1728], 3
test eax, eax
je 0x40d7a4
mov esi, eax
call fcn.00406a00
mov esi, eax
jmp 0x40d7a6
xor esi, esi
push edi
mov byte [esp + 0x172c], 2
call fcn.0047205c
add esp, 4
push ebp
mov dword [esi], eax
call fcn.0047205c
add esp, 4
push ebx
mov dword [esi + 0x10], eax
call fcn.0047205c
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
mov dword [esi + 0x14], eax
call fcn.0047205c
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
add esp, 4
mov ecx, 1
mov dword [esi + 0x48], ecx
test eax, eax
je 0x40d7ff
push eax
call fcn.00471773
add esp, 4
mov dword [esi + 0x30], eax
jmp 0x40d802
mov dword [esi + 0x30], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40d818
push eax
call fcn.00471773
add esp, 4
mov dword [esi + 0x34], eax
jmp 0x40d81f
mov dword [esi + 0x34], 0
call fcn.004087a0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1728], 1
call fcn.0041ec80
jmp 0x40d883
mov ecx, dword [esp + 0x48]
call fcn.0041a480
mov esi, eax
push str.Vesion__Section:
push 0x4d4204
mov edx, esi
call fcn.0041f080
lea edx, [esp + 0x2ac]
push edx
push 0x4d4204
mov edx, esi
call fcn.0041f080
push 0x4cc6b4
push 0x4d4204
mov edx, esi
call fcn.0041f080
add esp, 0x18
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
jl 0x40d621
cmp byte [esp + 0x17], 0
jne 0x40d8e2
mov byte [esp + 0x1728], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0x4c345c
test eax, eax
je 0x40d8cc
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x30], ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x40d8b5
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], 0
call fcn.0041ec80
jmp 0x40d9f2
xor esi, esi
mov byte [esp + 0x1728], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0x4c345c
cmp eax, esi
je 0x40d917
lea esp, [esp]
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x30], edx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, esi
jne 0x40d900
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], esi
call fcn.0041ec80
mov al, 1
jmp 0x40d9f4
push 0x4cc678
mov ecx, ebx
call fcn.00403120
mov byte [esp + 0x1728], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0x4c345c
cmp eax, esi
je 0x40d967
nop
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x30], ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, esi
jne 0x40d950
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], esi
call fcn.0041ec80
jmp 0x40d9f2
mov ecx, ebx
call fcn.0041a480
push 0x4cc64c
push 0x4d4204
mov edx, eax
call fcn.0041f080
mov byte [esp + 0x1730], 0
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x1c], 0x4c345c
cmp eax, esi
je 0x40d9c7
lea esp, [esp]
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x30], edx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, esi
jne 0x40d9b0
mov dword [esp + 0x2c], esi
cmp byte [esp + 0x170], 0
mov dword [esp + 0x54], 0x4d4d70
jne 0x40d9f2
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x40d9f2
push eax
call fcn.00470027
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1720]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1708]
xor ecx, esp
call fcn.0046fdae
add esp, 0x1718
ret