Function at 0x100075d0
Capabilities:
Create thread
Get common file path
Query or enumerate registry value
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 0x1007b6cc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x1009c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
cmp eax, 0x9c4f
je 0x10007633
mov ecx, dword [ecx + 0x188]
push dword [ecx]
push eax
push 0x800d
call fcn.1000a790
jmp 0x10007937
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
xor eax, eax
mov dword [ebp - 0x23c], 7
movups xmmword [ebp - 0x250], xmm0
mov word [ebp - 0x250], ax
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x10007687
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x1000767b
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, str.SoftwareRimeWeasel
mov edx, 0x14
jmp 0x10007691
mov eax, str.SoftwareWOW6432NodeRimeWeasel
mov edx, 0x20
push edx
lea ecx, [ebp - 0x250]
push eax
call fcn.100031d0
cmp dword [ebp - 0x23c], 7
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x27c], 0x104
push ecx
push 0
push 2
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push str.WeaselRoot
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x100078fb
xorps xmm0, xmm0
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x254], eax
movups xmmword [ebp - 0x268], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007706
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.10003620
mov byte [ebp - 4], 1
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 7
xorps xmm0, xmm0
mov edi, dword [ebp - 0x268]
mov esi, dword [ebp - 0x258]
cmova eax, edi
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x26c], eax
movups xmmword [ebp - 0x238], xmm0
cmp esi, 0x7ffffffe
ja 0x10007957
cmp esi, 7
ja 0x10007799
movups xmm0, xmmword [eax]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], 7
movups xmmword [ebp - 0x238], xmm0
jmp 0x10007805
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x100077ac
mov eax, SysReAllocString
jmp 0x100077b6
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100035b0
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x224], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x26c]
mov dword [ebp - 0x238], eax
push eax
mov dword [ebp - 0x228], esi
call fcn.10053e20
movups xmm0, xmmword [ebp - 0x238]
add esp, 0x14
movups xmmword [ebp - 0x290], xmm0
push 0x18
mov byte [ebp - 4], 2
call fcn.1004e027
movups xmm0, xmmword [ebp - 0x290]
mov esi, eax
lea ecx, [ebp - 0x26c]
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
mov dword [ebp - 0x26c], eax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
call fcn.10007d10
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x270], esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.10007d10
lea eax, [ebp - 0x274]
push eax
push 0
push esi
push 0x10007d80
push 0
push 0
call fcn.1005df3e
add esp, 0x18
mov dword [ebp - 0x278], eax
test eax, eax
je 0x1000796b
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 5
call fcn.10006cf0
cmp dword [ebp - 0x274], 0
jne 0x1000795c
mov eax, dword [ebp - 0x254]
cmp eax, 7
jbe 0x100078fb
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x100078f1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007961
push ecx
push edi
call fcn.1004dff6
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x10007937
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000792d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007966
push ecx
push edx
call fcn.1004dff6
add esp, 8
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.1004dfe8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100036c0
call fcn.1005dd80
call fcn.1005dd2f
call fcn.1005dd2f
push 6
mov dword [ebp - 0x274], 0
call fcn.10037dee
int3