Function at 0x422d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2d16
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x7e2c
call fcn.005c0d00
mov eax, dword [0x6b7e40]
xor eax, esp
mov dword [esp + 0x7e28], eax
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, esp
push eax
lea eax, [esp + 0x7e40]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
or ebx, 0xffffffff
test byte [ebp + 8], 1
je 0x422ef2
call fcn.004a4516
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x422d84
push 0x80004005
call fcn.00402040
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
push str.Status
lea ecx, [esp + 0x24]
mov dword [esp + 0x7e4c], 0
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x18]
mov byte [esp + 0x7e4c], 1
call fcn.004021e0
mov byte [esp + 0x7e48], 2
xor eax, eax
mov word [esp + 0x2074], ax
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push dword [esp + 0x20]
mov dword [esp + 0x34], 0
push SysReAllocStringLen
mov dword [esp + 0x3c], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422e65
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2078]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x422e65
lea ecx, [esp + 0x2074]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422e40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x2078]
push eax
lea ecx, [esp + 0x34]
call fcn.00402090
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x7e48], 1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422e8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422eaf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.004046f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00425c10
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x7e48], 0xffffffff
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422ef2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xc], 0
je 0x423174
cmp dword [edi], 1
jne 0x423174
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004a4516
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x422f2c
push 0x80004005
call fcn.00402040
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push str.Status
lea ecx, [esp + 0x18]
mov dword [esp + 0x7e4c], 3
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x30]
mov byte [esp + 0x7e4c], 4
call fcn.004021e0
mov byte [esp + 0x7e48], 5
xor eax, eax
mov word [esp + 0x10d4], ax
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
push dword [esp + 0x38]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42300b
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x10d8]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x24]
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x20]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42300b
lea ecx, [esp + 0x10d4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422fe6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x10d8]
push eax
lea ecx, [esp + 0x20]
call fcn.00402090
mov esi, dword [esp + 0x18]
mov byte [esp + 0x7e48], 4
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423030
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423055
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.004046f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00425c10
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [edi], eax
cmp eax, 1
jne 0x423153
push str.Detected_Hang_in_background_download_request___clearing_
lea ecx, [esp + 0x20]
call fcn.004021e0
push ecx
mov ecx, esp
push 0x63bfdc
mov byte [esp + 0x7e50], 6
call fcn.004021e0
push 0
lea eax, [esp + 0x24]
push eax
push 0x85
push str.C:_amintegration_tools_setupishield_sldimdataBgDwldData.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov byte [esp + 0x7e48], 3
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4230eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x34]
call fcn.00422780
mov byte [esp + 0x7e48], 7
push 0xfff
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
call fcn.004246a0
push 0
push dword [ebp + 8]
mov ecx, edi
call fcn.00422d10
lea ecx, [esp + 0x34]
mov byte [esp + 0x33], al
call fcn.004013d0
mov dword [esp + 0x7e48], 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x42314a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [esp + 0x33]
jmp 0x424675
mov dword [esp + 0x7e48], 0xffffffff
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423174
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, 2
je 0x4232e3
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.RequestFile
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 8
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 9
call fcn.004021e0
mov byte [esp + 0x7e48], 0xa
xor eax, eax
mov word [esp + 0x5ef4], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423261
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5ef8]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423261
lea ecx, [esp + 0x5ef4]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423240
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x5ef8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 9
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 8
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4232ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 4]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4232e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, 4
je 0x423448
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.Folder
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0xb
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0xc
call fcn.004021e0
mov byte [esp + 0x7e48], 0xd
xor eax, eax
mov word [esp + 0x134], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4233c6
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4233c6
lea ecx, [esp + 0x134]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4233a5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0xc
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4233eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0xb
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423410
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 8]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423445
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, 8
je 0x4235b3
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push 0x641d94
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0xe
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0xf
call fcn.004021e0
mov byte [esp + 0x7e48], 0x10
xor eax, eax
mov word [esp + 0x4f54], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423531
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4f58]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423531
lea ecx, [esp + 0x4f54]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423510
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x4f58]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0xf
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423556
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0xe
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42357b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0xc]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4235b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, 0x10
je 0x423718
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.User
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x11
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x12
call fcn.004021e0
mov byte [esp + 0x7e48], 0x13
xor eax, eax
mov word [esp + 0x3014], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423696
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3018]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423696
lea ecx, [esp + 0x3014]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423675
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x3018]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x12
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4236bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x11
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4236e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0x10]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423715
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, 0x20
je 0x423883
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.Remind
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x14
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x15
call fcn.004021e0
mov byte [esp + 0x7e48], 0x16
xor eax, eax
mov word [esp + 0x6e94], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423801
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x6e98]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423801
lea ecx, [esp + 0x6e94]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4237e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x6e98]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x15
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423826
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x14
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42384b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0x14]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423880
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, 0x40
je 0x4239fb
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.FromRelease
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x17
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x18
call fcn.004021e0
mov byte [esp + 0x7e48], 0x19
xor eax, eax
mov word [esp + 0x3fb4], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423966
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3fb8]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423966
lea ecx, [esp + 0x3fb4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423945
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x3fb8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x18
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42398b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x17
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4239b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [edi + 0x18]
mov dword [esi], eax
call fcn.00446860
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4239f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test al, al
jns 0x423b76
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.ToRelease
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x1a
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x1b
call fcn.004021e0
mov byte [esp + 0x7e48], 0x1c
xor eax, eax
mov word [esp + 0x904], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423ae1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x908]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423ae1
lea ecx, [esp + 0x904]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423ac0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x908]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x1b
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423b06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x1a
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423b2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [edi + 0x40]
mov dword [esi], eax
call fcn.00446860
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423b73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x100
je 0x423cf6
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.NewerRelease
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x1d
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x1e
call fcn.004021e0
mov byte [esp + 0x7e48], 0x1f
xor eax, eax
mov word [esp + 0x18a4], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423c61
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18a8]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423c61
lea ecx, [esp + 0x18a4]
lea edx, [ecx + 2]
jmp 0x423c40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423c40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x18a8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x1e
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x1d
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423cab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [edi + 0x68]
mov dword [esi], eax
call fcn.00446860
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423cf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x200
je 0x423e79
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.IMDownloadRelease
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x20
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x21
call fcn.004021e0
mov byte [esp + 0x7e48], 0x22
xor eax, eax
mov word [esp + 0x2844], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423de1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2848]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423de1
lea ecx, [esp + 0x2844]
lea edx, [ecx + 2]
jmp 0x423dc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423dc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x2848]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x21
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423e06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x20
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423e2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [edi + 0x90]
mov dword [esi], eax
call fcn.00446860
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423e76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x400
je 0x423ff9
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.IMInstallRelease
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x23
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x24
call fcn.004021e0
mov byte [esp + 0x7e48], 0x25
xor eax, eax
mov word [esp + 0x37e4], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423f61
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x37e8]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x423f61
lea ecx, [esp + 0x37e4]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423f40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x37e8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x24
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423f86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x23
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423fab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [edi + 0xb8]
mov dword [esi], eax
call fcn.00446860
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423ff6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x1000
je 0x424166
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.SpaceRequired
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x26
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x27
call fcn.004021e0
mov byte [esp + 0x7e48], 0x28
xor eax, eax
mov word [esp + 0x4784], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4240e1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4788]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4240e1
lea ecx, [esp + 0x4784]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4240c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x4788]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x27
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x26
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42412b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0xe0]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424163
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x2000
je 0x4242d6
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.SpaceAvailable
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x29
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x2a
call fcn.004021e0
mov byte [esp + 0x7e48], 0x2b
xor eax, eax
mov word [esp + 0x5724], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424251
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5728]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x424251
lea ecx, [esp + 0x5724]
lea edx, [ecx + 2]
jmp 0x424230
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424230
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x5728]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x2a
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424276
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x29
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42429b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0xe4]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4242d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x10000
je 0x424446
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.AppRequest
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x2c
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x2d
call fcn.004021e0
mov byte [esp + 0x7e48], 0x2e
xor eax, eax
mov word [esp + 0x66c4], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4243c1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x66c8]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4243c1
lea ecx, [esp + 0x66c4]
lea edx, [ecx + 2]
jmp 0x4243a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4243a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x66c8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x2d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4243e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x2c
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42440b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0xe8]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424443
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, 0x20000
je 0x424492
mov eax, dword [edi + 0xec]
push ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push str.CheckInterval
mov edx, str.SoftwareSolidWorksIMBackgroundDownloadRequest
mov ecx, SysReAllocStringLen
mov dword [esp + 0x34], 4
call fcn.00417820
add esp, 0x10
test al, al
je 0x42448f
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xec], eax
mov eax, dword [ebp + 8]
test eax, 0x40000
je 0x4245f8
push 0x63bfdc
lea ecx, [esp + 0x18]
call fcn.004021e0
push str.CheckTime
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7e4c], 0x2f
call fcn.004021e0
push str.SoftwareSolidWorksIMBackgroundDownloadRequest
lea ecx, [esp + 0x24]
mov byte [esp + 0x7e4c], 0x30
call fcn.004021e0
mov byte [esp + 0x7e48], 0x31
xor eax, eax
mov word [esp + 0x7664], ax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], 0
push SysReAllocStringLen
mov dword [esp + 0x38], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424578
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7668]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x424578
lea ecx, [esp + 0x7664]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424557
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x7668]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402090
mov byte [esp + 0x7e48], 0x30
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42459d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x7e48], 0x2f
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4245c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x14]
lea ecx, [edi + 0xf0]
push eax
call fcn.00404570
mov dword [esp + 0x7e48], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4245f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 8]
test ebx, 0x100000
je 0x42466d
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
push str.StateRequest
mov edx, str.SoftwareSolidWorksIMBackgroundDownloadRequest
mov ecx, SysReAllocStringLen
mov dword [esp + 0x28], 8
mov dword [esp + 0x3c], 4
call fcn.00417820
add esp, 0x10
test al, al
jne 0x424663
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
push str.StateRequest
mov edx, str.SoftwareSolidWorksIMBackgroundDownloadRequest
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], 4
call fcn.00417820
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [edi + 0xf4], eax
or dword [edi + 0xf8], ebx
mov al, 1
mov ecx, dword [esp + 0x7e40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7e28]
xor ecx, esp
call fcn.005bc16b
mov esp, ebp
pop ebp
ret 8