Function at 0x1000aaab
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 0x1008aca0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x100d0040]
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, 0xc
ja case.0x1000a8a0.40009
jmp dword [eax*4 + 0x1000ae40]
lea ecx, [ebp - 0x260]
call fcn.1000ae80
cmp dword [eax + 0x14], 7
jbe 0x1000a8ba
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 ecx, dword [ebp - 0x24c]
mov esi, eax
cmp ecx, 7
jbe 0x1000a913
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a909
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae39
push ecx
push edx
call fcn.1005ca64
add esp, 8
cmp esi, 0x20
jg 0x1000a928
push 0
push dword [ebx + 8]
lea ecx, [edi + 0x184]
call fcn.1001af80
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.1005ca26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x208
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.100627e0
movups xmm0, xmmword [str.SoftwareRimeWeasel]
mov ax, word [0x100bb848]
add esp, 0xc
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x294]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x100bb830]
push eax
lea eax, [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x100bb840]
push reloc.d2d1.dll_Ordinal_1
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000aa31
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x29c], 0x208
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push str.RimeUserDir
push dword [ebp - 0x294]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x294]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000aa31
cmp dword [ebp - 0x298], 1
jne 0x1000aa31
cmp word [ebp - 0x248], si
je 0x1000aa31
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 0x1000aa24
jmp 0x1000aa7b
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]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aa70
sub ecx, edx
lea eax, [ebp - 0x248]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.10003240
cmp dword [ebp - 0x24c], 7
lea eax, [ebp - 0x260]
cmova eax, dword [ebp - 0x260]
jmp 0x1000a8ba
lea ecx, [ebp - 0x30]
call fcn.1000ae80
push 0x15
push str.WeaselDeployer.exe
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.1000c5e0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x1000aad9
mov eax, dword [eax]
push 1
push 0
push 0x100bba20
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24c]
mov esi, eax
cmp ecx, 7
jbe 0x1000ab2f
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ab25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae39
push ecx
push edx
call fcn.1005ca64
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp ecx, 7
jbe 0x1000a913
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
jmp 0x1000a8eb
lea ecx, [ebp - 0x30]
call fcn.1000ae80
push 0x15
push str.WeaselDeployer.exe
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.1000c5e0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x1000ab9c
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, 7
jbe 0x1000abf2
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000abe8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae39
push ecx
push edx
call fcn.1005ca64
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp ecx, 7
jbe 0x1000a913
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
jmp 0x1000a8eb
mov eax, dword [edi + 0x1e8]
xorps xmm0, xmm0
xor eax, 1
mov ecx, 3
mov dword [edi + 0x1e8], eax
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x258], cx
mov ecx, eax
shr ecx, 0x13
movzx eax, al
and ecx, 2
and eax, 1
or ecx, eax
mov eax, dword [edi + 0x160]
or ecx, 0xfc000000
mov dword [ebp - 0x250], ecx
mov dword [edi + 0x210], ecx
lea ecx, [ebp - 0x258]
mov edx, dword [eax]
push ecx
push dword [edi + 0x2c]
push eax
call dword [edx + 0xc]
mov ecx, edi
call fcn.10005650
jmp 0x1000a928
xor dword [edi + 0x1e8], 0x10000
mov ecx, dword [edi + 0x174]
mov eax, dword [ecx + 0x14]
mov dl, byte [eax + 0x1ea]
mov eax, dword [ecx + 0xc]
and dl, 1
mov byte [eax + 0x4e8], dl
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1000a928
mov byte [eax + 0x2b0], dl
jmp 0x1000a928
mov ecx, dword [edi + 0x1e8]
lea edx, [ebp - 0x258]
xor ecx, 0x100000
xorps xmm0, xmm0
mov dword [edi + 0x1e8], ecx
mov eax, 3
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x258], ax
movzx eax, cl
shr ecx, 0x13
and eax, 1
and ecx, 2
or eax, ecx
or eax, 0xfc000000
mov dword [ebp - 0x250], eax
mov dword [edi + 0x210], eax
mov eax, dword [edi + 0x160]
push edx
push dword [edi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, edi
call fcn.10005650
mov eax, dword [edi + 0x1e8]
mov ecx, edi
shr eax, 0x14
test al, 1
je 0x1000ad52
call fcn.10007110
jmp 0x1000a928
call fcn.100072d0
jmp 0x1000a928
lea ecx, [ebp - 0x278]
call fcn.1000ae80
mov dword [ebp - 4], 2
lea esi, [ebp - 0x278]
cmp dword [ebp - 0x264], 7
lea edx, [ebp - 0x278]
push 0x14
cmova esi, dword [ebp - 0x278]
lea ecx, [ebp - 0x290]
push str._start_service.bat
call fcn.1000c5e0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x1000ada5
mov eax, dword [eax]
push 0
push esi
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x27c]
cmp ecx, 7
jbe 0x1000adf4
mov edx, dword [ebp - 0x290]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000adea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae39
push ecx
push edx
call fcn.1005ca64
add esp, 8
mov ecx, dword [ebp - 0x264]
cmp ecx, 7
jbe 0x1000a928
mov edx, dword [ebp - 0x278]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000ae2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ae39
push ecx
push edx
call fcn.1005ca64
add esp, 8
jmp 0x1000a928
call fcn.1006bfdf
nop
cmpsd dword [esi], dword es:[edi]
test al, 0
adc byte [eax - 0x57], cl
add byte [eax], dl
stosd dword es:[edi], eax
stosb byte es:[edi], al
add byte [eax], dl
sbb byte [ecx - 0x5491f000], ch
add byte [eax], dl
xor dword [eax + eax + 0xa91810], ebp
adc byte [eax], bl
test eax, 0xa9181000
add byte [eax], dl
lcall 0xac, 0xd51000ac
adc byte [eax], bl
test eax, 0xad5c1000
add byte [eax], dl
int3