Function at 0x434ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4ed2
mov eax, dword fs:[0]
push eax
sub esp, 0x804
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 esi, ecx
mov dword [ebp - 0x7ec], esi
mov dword [ebp - 0x804], 0
call fcn.004369b0
push 0x6c1ea4
mov dword [ebp - method.CCriticalSectionAccess.virtual_0], vtable.CCriticalSectionAccess.0
mov dword [ebp - 0x80c], 0x6c1ea4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 1
mov dword [ebp - 0x808], edi
mov dword [ebp - 4], 0
mov eax, dword [0x6c20bc]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x43523d
push ecx
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
lea ecx, [ebp - 0x7f4]
call fcn.00437850
add esp, 4
push 0x63bfdc
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 1
call fcn.004021e0
push str.SoftwareSolidWorksIM
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 2
call fcn.004021e0
mov byte [ebp - 4], 3
xor eax, eax
mov word [ebp - 0x7e0], ax
lea eax, [ebp - 0x7fc]
push eax
push 0x20019
push 0
push dword [ebp - 0x7f8]
mov dword [ebp - 0x7e8], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x800], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43516e
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x7e8]
push eax
push 0
push dword [ebp - 0x7f4]
push dword [ebp - 0x7fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7fc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43516e
lea ecx, [ebp - 0x7e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435143
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x7f0]
call fcn.00402090
mov byte [ebp - 0x7e1], 1
jmp 0x435175
mov byte [ebp - 0x7e1], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x7f8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x435198
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x7e1], 0
je 0x4351b4
lea eax, [ebp - 0x7f0]
push eax
mov ecx, 0x6c20bc
call fcn.00404570
jmp 0x4351f1
lea ecx, [ebp - 0x7e8]
call fcn.00437000
push eax
mov ecx, 0x6c20bc
mov byte [ebp - 4], 4
call fcn.00404570
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x7e8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4351f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7f0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x435214
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x7f4]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x435237
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x7ec]
mov eax, dword [0x6c20bc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4352b3
lea edx, [ecx - 1]
test edx, edx
js 0x435301
cmp edx, ecx
jg 0x435301
movzx eax, word [eax + edx*2]
cmp eax, 0x2f
je 0x4352b3
cmp eax, 0x5c
je 0x4352b3
push 0x63e100
lea eax, [ebp - 0x7e8]
push 0x6c20bc
push eax
call fcn.004067b0
add esp, 0xc
push eax
mov ecx, 0x6c20bc
mov byte [ebp - 4], 5
call fcn.00404570
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x7e8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4352b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x6c20bc]
add eax, 0xfffffff0
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jle 0x4352df
push 0x6c1ea4
call esi
dec edi
test edi, edi
jg 0x4352d3
mov eax, dword [ebp - 0x7ec]
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
push 0x80070057
call fcn.00402040
int3