Function at 0x436150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4c29
mov eax, dword fs:[0]
push eax
sub esp, 0x7f4
mov eax, dword [0x6b7e40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x7fc], edi
mov dword [ebp - 0x800], 0
push str.ParentDownloadFolder
lea ecx, [ebp - 0x7e8]
mov dword [ebp - 4], 0
call fcn.004021e0
push 0x63bfdc
lea ecx, [ebp - 0x7e4]
mov byte [ebp - 4], 1
call fcn.004021e0
push str.SoftwareSolidWorksIM
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 3
call fcn.004021e0
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x7e0], ax
lea eax, [ebp - 0x7ec]
push eax
push 0x20019
push 0
push dword [ebp - 0x7f0]
mov dword [ebp - 0x7f8], 0
push SysReAllocStringLen
mov dword [ebp - 0x7f4], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43627d
lea eax, [ebp - 0x7f4]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x7f8]
push eax
push 0
push dword [ebp - 0x7e8]
push dword [ebp - 0x7ec]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7ec]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43627d
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436257
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x7e4]
call fcn.00402090
mov bl, 1
jmp 0x43627f
xor bl, bl
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x7f0]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4362a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x436333
mov eax, dword [ebp - 0x7e4]
add eax, 0xfffffff0
push eax
call fcn.004046f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7e4]
add eax, 0x10
add edx, 0xfffffff0
mov dword [edi], eax
add esp, 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4362e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x7e8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43630a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x28]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x43632b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x7fc]
jmp 0x4363a8
push 0x63bfdc
mov ecx, edi
call fcn.004021e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7e4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436362
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x7e8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436385
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4363a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bc16b
mov esp, ebp
pop ebp
ret