Function at 0x413bb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x510318
mov eax, dword fs:[0]
push eax
sub esp, 0x778
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x774], eax
push ebx
push esi
push edi
mov eax, dword [0x5405a0]
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.004023c0
mov byte [esp + 0x790], 1
call fcn.00409da0
mov ecx, edi
push ebx
lea edi, [esp + 0x18]
call fcn.00410690
lea eax, [esp + 0x4c]
push eax
mov ebx, str.SgPkgMap.zip
call fcn.004015a0
cmp byte [esp + 0x15e], 0
lea eax, [esp + 0x50]
jne 0x413c41
mov eax, dword [esp + 0x158]
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push eax
call fcn.004cd198
add esp, 8
test eax, eax
jne 0x413f98
test dword [esp + 0x22], 0x4000
jne 0x413f98
call fcn.00442f80
cmp word [eax + 0x4d4], 0
lea esi, [eax + 0x4d4]
jne 0x413ca3
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x413ca3
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x413ca3
xor esi, esi
push 0
push 0
push 0
push str.SGPkgMap
push str.SogouInputComponentsPicface
push esi
lea ecx, [esp + 0x3cc]
call fcn.00436ef0
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.00436ef0
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.00436ef0
mov byte [esp + 0x790], 4
call fcn.00433710
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0043f6e0
mov byte [esp + 0x790], 5
cmp byte [esp + 0x280], 0
lea ecx, [esp + 0x170]
jne 0x413d42
mov ecx, dword [esp + 0x16c]
cmp byte [esp + 0x15e], 0
lea eax, [esp + 0x50]
jne 0x413d57
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.0043f9c0
test al, al
jne 0x413d81
lea esi, [esp + 0x164]
call fcn.00437fe0
jmp 0x413ef4
xor edx, edx
push 0x40
push edx
lea eax, [esp + 0x746]
push eax
mov word [esp + 0x748], dx
call fcn.004d3fc0
add esp, 0xc
cmp byte [esp + 0x15e], 0
lea esi, [esp + 0x50]
jne 0x413db3
mov esi, dword [esp + 0x158]
lea ecx, [esp + 0x604]
call fcn.0043a090
lea eax, [esi + 4]
lea edx, [esp + 0x604]
call fcn.0043a2e0
lea ecx, [esp + 0x72c]
push ecx
lea edx, [esp + 0x608]
lea ecx, [esp + 0x18]
mov byte [esp + 0x794], 7
call fcn.004431e0
add esp, 4
test al, al
je 0x413ea7
lea ecx, [esp + 0x4dc]
call fcn.0043a090
cmp byte [esp + 0x3a8], 0
lea eax, [esp + 0x298]
jne 0x413e1d
mov eax, dword [esp + 0x294]
add eax, 4
lea edx, [esp + 0x4dc]
call fcn.0043a2e0
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x790], 0xe
call fcn.00437b00
lea edx, [esp + 0x73c]
push 0x21
push edx
lea eax, [esp + 0x734]
call fcn.00435a60
add esp, 8
lea esi, [esp + 0x72c]
call fcn.00443f20
lea eax, [esp + 0x73c]
mov byte [esp + 0x790], 0xf
call fcn.00444110
lea eax, [esp + 0x4dc]
push eax
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.00443fc0
mov ecx, esi
call fcn.00443f90
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x790], 7
call fcn.0043a230
lea ecx, [esp + 0x3b4]
call fcn.00437700
test al, al
je 0x413ec3
lea ecx, [esp + 0x3b4]
call fcn.00437b70
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x3bc]
call fcn.00439230
lea ecx, [esp + 0x164]
call fcn.00437b70
lea ecx, [esp + 0x604]
call fcn.0043a230
lea edi, [esp + 0x4c]
call fcn.004018b0
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x794], 4
call fcn.0043f870
cmp byte [esp + 0x3a8], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x28c], esi
jne 0x413f40
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x298]
cmp eax, ecx
je 0x413f40
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x280], 0
mov dword [esp + 0x164], esi
jne 0x413f6c
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x170]
cmp eax, edx
je 0x413f6c
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x4d0], 0
mov dword [esp + 0x3b4], esi
jne 0x413f98
mov eax, dword [esp + 0x3bc]
lea ecx, [esp + 0x3c0]
cmp eax, ecx
je 0x413f98
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x15e], 0
jne 0x413fba
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x50]
cmp eax, edx
je 0x413fba
push eax
call fcn.004ccef0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x790], 0xffffffff
call fcn.004393f0
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.004ccee1
add esp, 0x784
ret