Function at 0x100095e4
Capabilities:
Create thread
Get common file path
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084d6e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x264
mov eax, dword [0x100a9100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov esi, dword [ebx + 8]
mov dword [ebp - 4], eax
lea eax, [esi - 0x9c44]
cmp eax, 0xc
ja case.0x100095dd.40005
movzx eax, byte [eax + 0x10009a34]
jmp dword [eax*4 + 0x10009a1c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x1000960b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x10009604
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, str.SoftwareRimeWeasel
jmp 0x10009610
mov edx, str.SoftwareWOW6432NodeRimeWeasel
lea eax, [ebp - 0x250]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.WeaselRoot
call fcn.100087e0
add esp, 8
test eax, eax
jne 0x100099a0
cmp esi, 0x9c4f
jne 0x100097d5
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x238]
call fcn.10004470
push 0x18
mov byte [ebp - 4], 1
call fcn.1005739c
movups xmm0, xmmword [ebp - 0x238]
xor ecx, ecx
mov dword [ebp - 0x274], eax
add esp, 4
mov word [ebp - 0x238], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x1000ada0
push 0
push 0
call fcn.100670ce
add esp, 0x18
mov dword [ebp - 0x270], eax
test eax, eax
je 0x10009a00
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.100073d0
cmp dword [ebp - 0x26c], 0
jne 0x100099fb
jmp 0x100099a0
lea eax, [ebp - 0x250]
mov edx, str.SoftwareRimeWeasel
push eax
push str.RimeUserDir
mov ecx, reloc.d2d1.dll_Ordinal_1
call fcn.100087e0
add esp, 8
test eax, eax
jne 0x100099a0
cmp dword [ebp - 0x240], eax
jne 0x100097d5
push 0x104
lea eax, [ebp - 0x220]
push eax
push str._AppData_Rime
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009755
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.10003770
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x100097b7
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100097ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009a11
push ecx
push edx
call fcn.1005736b
add esp, 8
movups xmm0, xmmword [ebp - 0x238]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [ebp - 0x240], xmm0
lea ecx, [ebp - 0x250]
call fcn.100088e0
jmp 0x100099a0
push 0x208
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.1005d560
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push str._TEMP__rime.weasel
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov byte [ebp - 0x274], 0
lea edx, [ebp - 0x220]
push dword [ebp - 0x274]
lea ecx, [ebp - 0x238]
call fcn.1000ab80
add esp, 4
mov dword [ebp - 0x26c], 1
lea ecx, [ebp - 0x238]
call fcn.100084a0
test al, al
jne 0x1000985b
lea ecx, [ebp - 0x238]
call fcn.10008790
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.10004470
mov dword [ebp - 0x26c], 9
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 6
call fcn.100088e0
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x100098c6
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100098bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009a16
push ecx
push edx
call fcn.1005736b
add esp, 8
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x100099a0
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009900
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009a16
push ecx
push edx
call fcn.1005736b
add esp, 8
jmp 0x100099a0
push 0x15
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push str.https:__rime.im_docs_
lea ecx, [ebp - 0x238]
call fcn.10003770
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 1
cmova eax, dword [ebp - 0x238]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100098c6
push 0x18
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push str.https:__rime.im_discuss_
jmp 0x10009931
mov ecx, dword [ecx + 0x18c]
push dword [ecx]
push esi
push 0x800d
call fcn.1000fe10
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x100099dc
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100099d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009a16
push ecx
push edx
call fcn.1005736b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005735d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10066f10
push 6
mov dword [ebp - 0x26c], 0
call fcn.1003f9fb
call fcn.10066ebf
call fcn.10066ebf
nop
imul ebx, dword [ecx - 0x6a1bf000], 0x96e51000
add byte [eax], dl
setns byte [eax]
adc ch, ah
xchg edi, eax
add byte [eax], dl
lea ebx, [ecx + 0x5001000]
add dword [edx], eax
add eax, 84215043
add eax, -872152827
int3