Function at 0x1000d340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acb04
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x238]
push str.Path
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.10008230
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
push 0x13
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
push str.Software2345Pinyin
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.10008230
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x280]
call fcn.1000f360
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x23c], 8
jb 0x1000d436
push dword [ebp - 0x250]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x224], 8
jb 0x1000d46e
push dword [ebp - 0x238]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp dword [ebp - 0x270], eax
jne 0x1000d49a
xor bl, bl
jmp 0x1000d7fc
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], eax
xor eax, eax
push 7
push str.Version
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.10008230
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
push 0x13
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push str.Software2345Pinyin
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.10008230
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x268]
call fcn.1000f360
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x224], 8
jb 0x1000d552
push dword [ebp - 0x238]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x23c], 8
jb 0x1000d58a
push dword [ebp - 0x250]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
cmp dword [ebp - 0x258], eax
jne 0x1000d5b6
xor bl, bl
jmp 0x1000d7c4
lea eax, [ebp - 0x268]
push eax
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x2b0]
call fcn.10017970
add esp, 4
push str.2345Pinyin.ime
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xa
call fcn.10007750
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x298]
call fcn.10017970
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x1000d61f
push dword [ebp - 0x238]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.10017d80
test al, al
je 0x1000d752
mov ax, word [0x100cb75c]
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1000d752
call fcn.10020270
test al, al
mov edx, str.2345Pinyin.ime
mov ecx, str.2345PinyinTSF.dll
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.10007750
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x238]
call fcn.10007750
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x2e0]
call fcn.10017970
add esp, 4
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x11
call fcn.10006f00
lea ecx, [ebp - 0x2e0]
call fcn.10017d80
test al, al
jne 0x1000d703
xor bl, bl
jmp 0x1000d732
test esi, esi
je 0x1000d730
lea eax, [ebp - 0x268]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x248]
movdqu xmmword [ebp - 0x248], xmm0
call fcn.1001e610
cmp dword [ebp - 0x248], 4
setl al
mov byte [esi], al
mov bl, 1
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0xe
call fcn.10006f00
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0xd
call fcn.10006f00
jmp 0x1000d754
xor bl, bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x284], 8
jb 0x1000d76f
push dword [ebp - 0x298]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], 0
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x29c], 8
jb 0x1000d7a7
push dword [ebp - 0x2b0]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x2b0], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x254], 8
jb 0x1000d7df
push dword [ebp - 0x268]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x26c], 8
jb 0x1000d81a
push dword [ebp - 0x280]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov al, bl
mov dword [ebp - 0x270], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033901
mov esp, ebp
pop ebp
ret