Function at 0x461d80
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8aab
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
push 0x63bfdc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0x10000
mov byte [edi + 0x30], 0
call fcn.004021e0
lea ecx, [edi + 0x38]
call fcn.004466a0
push ecx
mov ecx, esp
push 0x63bfdc
mov byte [ebp - 4], 1
call fcn.004021e0
lea ecx, [edi + 0x60]
call fcn.004466a0
push ecx
mov ecx, esp
push 0x63bfdc
mov byte [ebp - 4], 2
call fcn.004021e0
lea ecx, [edi + 0x88]
call fcn.004466a0
mov byte [ebp - 4], 3
call fcn.004a4516
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x461e78
push 0x80004005
call fcn.00402040
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xb0], eax
mov byte [ebp - 4], 4
push 0x63bfdc
lea ecx, [edi + 0xb8]
mov word [edi + 0xb4], 0
call fcn.004021e0
mov byte [ebp - 4], 5
mov word [edi + 0xbc], 0
push 0x63bfdc
lea ecx, [edi + 0xc8]
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
call fcn.004021e0
push 0x30
mov byte [ebp - 4], 6
call fcn.004996c9
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x461efb
sub esp, 0x18
mov ecx, eax
call fcn.00412820
jmp 0x461efd
xor eax, eax
mov byte [ebp - 4], 6
push 0x30
mov dword [edi + 0x1c], eax
call fcn.004996c9
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x461f25
sub esp, 0x18
mov ecx, eax
call fcn.00412820
jmp 0x461f27
xor eax, eax
mov byte [ebp - 4], 6
push 0x30
mov dword [edi + 0x20], eax
call fcn.004996c9
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x461f4f
sub esp, 0x18
mov ecx, eax
call fcn.00412820
jmp 0x461f51
xor eax, eax
mov byte [ebp - 4], 6
push 0x60
mov dword [edi + 0x24], eax
call fcn.004996c9
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x461f91
lea ecx, [esi + 8]
mov dword [esi], 0
mov byte [esi + 4], 0
call fcn.004761a0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
jmp 0x461f93
xor esi, esi
mov byte [ebp - 4], 6
push 0x100
mov dword [edi], esi
call fcn.004996c9
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x461fba
mov ecx, eax
call fcn.00422780
jmp 0x461fbc
xor eax, eax
mov byte [ebp - 4], 6
push 0xc
mov dword [edi + 8], eax
call fcn.004996c9
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x461ff4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00444010
mov dword [esi], eax
mov byte [esi + 8], 0
jmp 0x461ff6
xor esi, esi
push 0
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 8]
push 0xffffff
mov dword [edi + 0xc], esi
call fcn.00422d10
jmp 0x462017
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], 0x400
call ebx
test eax, eax
jne 0x462086
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.BackgroundDownloaderTest
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6c1f1c]
test esi, esi
cmove eax, dword [ebp - 0x14]
mov dword [0x6c1f1c], eax
jmp 0x46208b
mov eax, dword [0x6c1f1c]
test al, 1
je 0x462107
mov dword [0x6ba250], 0x2bf20
mov dword [0x6ba24c], 0x2bf20
mov dword [0x6c2258], 0x41eb0
mov dword [0x6c225c], 0
mov dword [0x6ba248], 0x64
mov dword [0x6ba244], 0x3e8
mov dword [0x6ba240], 0x2710
mov dword [0x6ba23c], 0x2710
mov dword [0x6ba238], 0x3e8
mov dword [0x6ba234], 0x3e8
mov dword [0x6ba230], 0x2710
mov dword [0x6ba22c], 0x2710
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x20], 0x400
call ebx
test eax, eax
jne 0x462169
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.BDCheckInterval
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x462169
mov eax, dword [ebp - 0x14]
mov esi, 0x2bf20
cmp eax, esi
cmovb eax, esi
mov dword [ebp - 0x14], eax
mov dword [0x6ba24c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x20], 0x400
call ebx
test eax, eax
jne 0x4621ce
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.BDCheckMin
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4621ce
mov eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
mov ecx, 0x2bf20
cmovb eax, ecx
mov dword [ebp - 0x14], eax
mov dword [0x6ba250], eax
push 0
call fcn.005be4ee
push eax
call fcn.005c0a27
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret