Function at 0x1000a27b
Capabilities:
Create process on windows

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 0x10087dd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x100cb018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
add eax, 0xffff63ba
cmp eax, 0xb
ja case.0x1000a274.40009
jmp dword [eax*4 + 0x1000a698]
lea ecx, [ebp - 0x30]
call fcn.1000a6d0
push 0x15
push str.WeaselDeployer.exe
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.1000bf00
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x1000a2a9
mov eax, dword [eax]
push 1
push 0
push 0x100b79c0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24c]
mov esi, eax
cmp ecx, 8
jb 0x1000a2ff
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a691
push ecx
push edx
call fcn.10059bae
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x1000a35d
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a353
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a691
push ecx
push edx
call fcn.10059bae
add esp, 8
cmp esi, 0x20
jg 0x1000a372
push 0
push dword [ebx + 8]
lea ecx, [edi + 0x18c]
call fcn.1001a200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10059b70
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
lea ecx, [ebp - 0x30]
call fcn.1000a6d0
push 0x15
push str.WeaselDeployer.exe
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.1000bf00
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x1000a3c0
mov eax, dword [eax]
push 1
push 0
push str._dict
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24c]
mov esi, eax
cmp ecx, 8
jb 0x1000a2ff
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a691
jmp 0x1000a2f5
push 0x208
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.1005f9c0
movups xmm0, xmmword [str.SoftwareRimeWeasel]
mov ax, word [0x100b7b88]
add esp, 0xc
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x264]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x100b7b70]
push eax
lea eax, [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x100b7b80]
push reloc.d2d1.dll_Ordinal_1
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000a502
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x26c], 0x208
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push str.RimeUserDir
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x264]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000a502
cmp dword [ebp - 0x268], 1
jne 0x1000a502
cmp word [ebp - 0x248], si
je 0x1000a502
xorps xmm0, xmm0
mov dword [ebp - 0x250], esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x24c], esi
movups xmmword [ebp - 0x260], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a4f5
jmp 0x1000a54b
push 0x104
lea eax, [ebp - 0x248]
push eax
push str._AppData_Rime
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x260], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a540
sub ecx, edx
lea eax, [ebp - 0x248]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.10003280
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 1
cmovae eax, dword [ebp - 0x260]
push 0
push eax
push str.explorer
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24c]
mov esi, eax
cmp ecx, 8
jb 0x1000a35d
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
jmp 0x1000a335
lea ecx, [ebp - 0x30]
call fcn.1000a6d0
cmp dword [eax + 0x14], 8
jb 0x1000a5c0
mov eax, dword [eax]
push 1
push 0
push eax
push str.explorer
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
jmp 0x1000a323
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x1000a372
xorps xmm0, xmm0
lea edx, [ebp - 0x258]
movups xmmword [ebp - 0x258], xmm0
mov eax, 3
mov word [ebp - 0x258], ax
mov al, byte [edi + 0x1ec]
not al
movzx eax, al
and eax, 1
or eax, 0xfc00
push edx
push dword [edi + 0x30]
mov dword [ebp - 0x250], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
jmp 0x1000a372
and dword [edi + 0x1ec], 0xffffffbf
jmp case.0x1000a274.40009
or dword [edi + 0x1ec], 0x40
jmp case.0x1000a274.40009
xor dword [edi + 0x1ec], 0x20000
mov eax, dword [edi + 0x17c]
mov edx, dword [eax + 8]
test edx, edx
je 0x1000a372
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x1ec]
mov eax, dword [edx + 4]
shr ecx, 0x11
and cl, 1
mov byte [eax + 0x4d8], cl
mov eax, dword [edx + 8]
test eax, eax
je 0x1000a372
mov byte [eax + 0x2ac], cl
jmp 0x1000a372
call fcn.1006907f
nop
mov al, 0xa5
add byte [eax], dl
sbb dword [eax + eax + 0xa27b10], esp
adc byte [edx - 93], ah
add byte [eax], dl
xchg edx, eax
mov dword [-1512173568], eax
add byte [eax], dl
bound esp, qword [ebx - 0x5c9df000]
add byte [eax], dl
bound esp, qword [ebx - 0x59c3f000]
add byte [eax], dl
xor byte [esi - 0x59b7f000], ah
add byte [eax], dl
int3