Function at 0x1000b450
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

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 0x10088035
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x270
mov eax, dword [0x100c9018]
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.0x1000b4a4.40009
jmp dword [eax*4 + 0x1000b960]
lea ecx, [ebp - 0x30]
call fcn.1000b9a0
push 0x15
push str.WeaselDeployer.exe
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.1000d0f0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x1000b4d9
mov eax, dword [eax]
push 1
push 0
push 0x100b508c
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 0x1000b52f
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b525
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b95b
push ecx
push edx
call fcn.1005b47d
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 0x1000b58d
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b583
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b95b
push ecx
push edx
call fcn.1005b47d
add esp, 8
cmp esi, 0x20
jg 0x1000b5a2
push 0
push dword [ebx + 8]
lea ecx, [edi + 0x184]
call fcn.1001bbe0
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.1005b43f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
lea ecx, [ebp - 0x30]
call fcn.1000b9a0
push 0x15
push str.WeaselDeployer.exe
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.1000d0f0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x1000b5f0
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 0x1000b52f
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b525
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b95b
jmp 0x1000b525
push 0x208
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.10061310
movups xmm0, xmmword [str.SoftwareRimeWeasel]
mov ax, word [0x100b4edc]
add esp, 0xc
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x264]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x100b4ec4]
push eax
lea eax, [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x100b4ed4]
push reloc.d2d1.dll_Ordinal_1
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000b732
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 0x1000b732
cmp dword [ebp - 0x268], 1
jne 0x1000b732
cmp word [ebp - 0x248], si
je 0x1000b732
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 0x1000b725
jmp 0x1000b77b
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 0x1000b770
sub ecx, edx
lea eax, [ebp - 0x248]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.10003770
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 0x1000b58d
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
jmp 0x1000b565
lea ecx, [ebp - 0x30]
call fcn.1000b9a0
cmp dword [eax + 0x14], 8
jb 0x1000b7f0
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 0x1000b553
mov eax, dword [edi + 0x1e4]
xorps xmm0, xmm0
xor eax, 1
mov ecx, 3
mov dword [edi + 0x1e4], eax
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x258], cx
mov ecx, eax
shr ecx, 0x17
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 + 0x208], 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.10005a20
jmp 0x1000b5a2
and dword [edi + 0x1e4], 0xfffffffb
jmp case.0x1000b4a4.40009
or dword [edi + 0x1e4], 4
jmp case.0x1000b4a4.40009
xor dword [edi + 0x1e4], 0x20000
mov eax, dword [edi + 0x174]
mov edx, dword [eax + 8]
test edx, edx
je 0x1000b5a2
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x1e4]
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 0x1000b5a2
mov byte [eax + 0x2ac], cl
jmp 0x1000b5a2
mov ecx, dword [edi + 0x1e4]
lea edx, [ebp - 0x280]
xor ecx, 0x1000000
xorps xmm0, xmm0
mov dword [edi + 0x1e4], ecx
mov eax, 3
movups xmmword [ebp - 0x280], xmm0
mov word [ebp - 0x280], ax
movzx eax, cl
shr ecx, 0x17
and eax, 1
and ecx, 2
or eax, ecx
or eax, 0xfc000000
mov dword [ebp - 0x278], eax
mov dword [edi + 0x208], 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.10005a20
test byte [edi + 0x1e7], 1
mov ecx, edi
je 0x1000b951
call fcn.10007a60
jmp 0x1000b5a2
call fcn.10007c20
jmp 0x1000b5a2
call fcn.1006a9ff
loopne 0x1000b919
add byte [eax], dl
dec ecx
mov dh, 0
adc byte [ebx - 0x6defff4c], ch
mov ch, 0
adc dl, al
mov ch, 0
adc byte [esi], cl
mov eax, 0xb5921000
add byte [eax], dl
xchg edx, eax
mov ch, 0
adc byte [edx - 0x7cefff4b], dl
mov eax, 0xb8771000
add byte [eax], dl
invalid