Function at 0x42b760
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f35e4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1434
call fcn.005c0d00
mov eax, dword [0x6b7e40]
xor eax, esp
mov dword [esp + 0x1430], eax
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, esp
push eax
lea eax, [esp + 0x1448]
mov dword fs:[0], eax
mov eax, dword [0x6c20a8]
sub eax, dword [0x6c20a4]
or esi, 0xffffffff
test eax, 0xfffffffc
je 0x42b886
push str.INTERNAL_ERROR:_DetectIMInstalls_called_twice_
lea ecx, [esp + 0x20]
call fcn.004021e0
push 0x63bfdc
lea ecx, [esp + 0x18]
mov dword [esp + 0x1454], 0
call fcn.004021e0
xor ecx, ecx
call fcn.004051a0
mov edi, eax
push ecx
mov byte [esp + 0x1454], 1
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
mov esi, esp
push ecx
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
mov dword [esi], eax
lea eax, [esp + 0x28]
push eax
push 0x296
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBgDwldInstallData.cpp
push 1
push 1
mov ecx, edi
call fcn.004055a0
mov byte [esp + 0x1450], 0
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b854
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1450], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b87c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x6c20a4]
mov dword [0x6c20a8], eax
mov eax, dword [0x6c2004]
mov ecx, dword [0x6c2000]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x80], eax
mov eax, 0x7db
cmp ecx, eax
cmovg ecx, eax
lea eax, [esp + 0x58]
push eax
push 0x20019
push 0
push str.SolidWorks_Installation_Manager
push SysReAllocStringLen
mov dword [esp + 0x78], ecx
mov dword [esp + 0x90], ecx
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c267
xor eax, eax
mov dword [esp + 0x24], eax
nop
lea ecx, [esp + 0x84]
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x2a8]
push ecx
push eax
push dword [esp + 0x74]
mov dword [esp + 0x8c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x42c249
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
lea eax, [esp + 0x2a0]
push eax
push dword [esp + 0x68]
call ebx
test eax, eax
jne 0x42c249
push 0x58
call fcn.004996c9
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x1450], 2
test esi, esi
je 0x42b979
push ecx
lea eax, [esp + 0x298]
mov ecx, esp
push eax
call fcn.004021e0
mov ecx, esi
call fcn.0042b560
mov ebx, eax
jmp 0x42b97b
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
xor esi, esi
mov dword [esp + 0x145c], 0xffffffff
push esi
push str.Category
push dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42b9f6
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x28]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42b9d0
sub edx, esi
sar edx, 1
push edx
lea eax, [esp + 0x90]
push eax
call fcn.00402090
mov esi, 1
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.BuildType
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42ba4e
push ecx
mov byte [esp + 0x47], al
lea eax, [esp + 0x90]
mov ecx, esp
push eax
call fcn.004021e0
mov cl, byte [esp + 0x47]
mov edx, 2
call fcn.00445de0
add esp, 4
inc esi
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.Version
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42ba96
push ecx
lea eax, [esp + 0x90]
mov ecx, esp
push eax
call fcn.004021e0
lea ecx, [ebx + 8]
call fcn.00444f10
inc esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.SuiteName
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42baf6
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x30]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bad2
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
inc esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.InstallDir
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bb56
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x34]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bb32
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
inc esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.IMInstallDir
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bbb6
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x38]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bb92
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
inc esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.IMFile
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bc16
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x3c]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bbf2
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
inc esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.ProjectFile
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bc71
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x40]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bc52
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.TemplateFile
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bccf
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x44]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bcb0
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.SourceFile
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bd2f
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x48]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
jmp 0x42bd10
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bd10
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.RelativeRoot
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bd94
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x4c]
lea eax, [edx + 2]
mov dword [esp + 0x14], eax
jmp 0x42bd70
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bd70
sub edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
sar edx, 1
push edx
push eax
call fcn.00402090
inc esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.InstallType
push dword [esp + 0x40]
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x42bded
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x50]
lea esi, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42bdd0
sub edx, esi
sar edx, 1
push edx
lea eax, [esp + 0x90]
push eax
call fcn.00402090
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004a4516
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42c5d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [ebx + 8]
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x1454], 3
mov ecx, eax
mov dword [esp + 0x40], eax
call fcn.004457a0
mov esi, eax
mov byte [esp + 0x1450], 4
mov edx, dword [ebx + 0x2c]
sub esp, 8
lea ecx, [esp + 0x64]
call fcn.00445f20
mov byte [esp + 0x1458], 5
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push dword [esi]
push dword [eax]
lea eax, [esp + 0x3c]
push dword [ebx + 0x30]
push str.Detected_IM_install:__s__BuildType_s__Version_s__InstallDir_s__IMInst_s__IMFile_s__Projfile_s__relroot_s__insttype_s
push eax
call fcn.00404520
mov byte [esp + 0x1484], 4
mov edx, dword [esp + 0x90]
add edx, 0xfffffff0
or esi, 0xffffffff
add esp, 0x34
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42beae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 3
mov edx, dword [esp + 0x74]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42bed3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x63bfdc
lea ecx, [esp + 0x4c]
call fcn.004021e0
xor ecx, ecx
call fcn.004051a0
mov edi, eax
push ecx
mov byte [esp + 0x1454], 6
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
mov esi, esp
push ecx
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
mov dword [esi], eax
lea eax, [esp + 0x20]
push eax
push 0x30b
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBgDwldInstallData.cpp
push 0
push 1
mov ecx, edi
call fcn.004055a0
mov byte [esp + 0x1450], 3
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42bf50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x1c], 7
jge 0x42bfff
push str.INTERNAL_ERROR:_Setup_detected_in_registry_which_was_missing_some_properties
lea ecx, [esp + 0x34]
call fcn.004021e0
push 0x63bfdc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1454], 7
call fcn.004021e0
xor ecx, ecx
call fcn.004051a0
mov edi, eax
push ecx
mov byte [esp + 0x1454], 8
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
mov esi, esp
push ecx
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
mov dword [esi], eax
lea eax, [esp + 0x3c]
push eax
push 0x30f
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBgDwldInstallData.cpp
push 1
push 1
mov ecx, edi
call fcn.004055a0
mov byte [esp + 0x1450], 7
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42bfee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 3
mov edx, dword [esp + 0x30]
jmp 0x42c18c
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], 0
jl 0x42c0d3
push str.adminclient
push eax
call fcn.005bda07
add esp, 8
test eax, eax
je 0x42c0d3
sub eax, dword [ebx + 0x50]
sar eax, 1
js 0x42c0d3
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x63bfdc
call fcn.004021e0
lea eax, [esp + 0x64]
push eax
lea ecx, [ebx + 8]
mov byte [esp + 0x1458], 9
call fcn.00446970
push eax
lea eax, [esp + 0x70]
push str.The_background_downloader_is_ignoring_admin_client_install
push eax
mov byte [esp + 0x1460], 0xa
call fcn.00404060
add esp, 0xc
mov byte [esp + 0x1454], 0xb
push 0
push eax
push 0x315
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBgDwldInstallData.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
mov byte [esp + 0x146c], 0xd
call fcn.004022e0
mov byte [esp + 0x1450], 0xc
mov edx, dword [esp + 0x68]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c0c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 3
mov edx, dword [esp + 0x60]
jmp 0x42c18c
mov eax, dword [esp + 0x64]
cmp dword [ebx + 8], eax
lea edx, [ebx + 8]
jge 0x42c1b7
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x63bfdc
call fcn.004021e0
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x145c], 0xe
call fcn.00444b40
push eax
lea eax, [esp + 0x80]
push str.The_background_downloader_is_ignoring_install__
push eax
mov byte [esp + 0x1460], 0xf
call fcn.00404060
add esp, 0xc
mov byte [esp + 0x1454], 0x10
push 0
push eax
push 0x31b
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBgDwldInstallData.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
mov byte [esp + 0x146c], 0x12
call fcn.004022e0
mov byte [esp + 0x1450], 0x11
mov edx, dword [esp + 0x78]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 3
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c1a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.0042c900
push ebx
call fcn.004996ff
add esp, 4
jmp 0x42c215
mov edi, dword [0x6c20a8]
mov ebx, dword [0x6c20a4]
sub edi, ebx
sar edi, 2
xor esi, esi
test edi, edi
jle 0x42c203
mov edi, edi
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x42c1fe
lea ecx, [eax + 8]
push edx
call fcn.00444d30
test al, al
je 0x42c1fa
mov eax, dword [esp + 0x3c]
add eax, 0x20
push eax
add ecx, 0x20
call fcn.00446060
mov ebx, dword [0x6c20a4]
mov edx, dword [esp + 0x3c]
inc esi
cmp esi, edi
jl 0x42c1d0
lea eax, [esp + 0x34]
push eax
mov ecx, 0x6c20a4
call fcn.00430230
or esi, 0xffffffff
mov dword [esp + 0x1450], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c23d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x24]
inc eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
je 0x42b8e0
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x24]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [esp + 0x60], 0
mov dword [esp + 0x84], 4
mov dword [esp + 0x3c], 0x400
call ebx
test eax, eax
jne 0x42c2c4
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x78]
push eax
push 0
push str.DummyInstalls
push dword [esp + 0x38]
call edi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test dword [esp + 0x4c], 0x100
je 0x42c8db
push str.20080_40200_1100_200
lea ecx, [esp + 0x40]
call fcn.004021e0
push str.SolidWorks_2008_SP02
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1454], 0x17
call fcn.004021e0
mov byte [esp + 0x1450], 0x18
test dword [esp + 0x4c], 0x400
jne 0x42c5c5
push 0x63bfdc
lea ecx, [esp + 0x24]
call fcn.004021e0
push str.DummyInstallVersion
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1454], 0x19
call fcn.004021e0
push str.SoftwareSolidWorksIM
lea ecx, [esp + 0x34]
mov byte [esp + 0x1454], 0x1a
call fcn.004021e0
mov byte [esp + 0x1450], 0x1b
xor eax, eax
mov word [esp + 0x49c], ax
lea eax, [esp + 0x24]
push eax
push 0x20019
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x44], 0
push SysReAllocStringLen
mov dword [esp + 0x3c], 0x7d0
call ebx
test eax, eax
jne 0x42c3e4
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x4a0]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x38]
call edi
push dword [esp + 0x24]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42c3e1
lea ecx, [esp + 0x49c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c3c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x28]
call fcn.00402090
or esi, 0xffffffff
mov byte [esp + 0x1450], 0x1a
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c409
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 0x19
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c42e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
je 0x42c446
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.00404570
push 0x63bfdc
lea ecx, [esp + 0x20]
call fcn.004021e0
push str.DummyInstallName
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1454], 0x1c
call fcn.004021e0
push str.SoftwareSolidWorksIM
lea ecx, [esp + 0x34]
mov byte [esp + 0x1454], 0x1d
call fcn.004021e0
mov byte [esp + 0x1450], 0x1e
xor eax, eax
mov word [esp + 0xc6c], ax
lea eax, [esp + 0x24]
push eax
push 0x20019
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x44], 0
push SysReAllocStringLen
mov dword [esp + 0x3c], 0x7d0
call ebx
test eax, eax
jne 0x42c519
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xc70]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x38]
call edi
push dword [esp + 0x24]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42c516
lea ecx, [esp + 0xc6c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c4f5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc70]
push eax
lea ecx, [esp + 0x24]
call fcn.00402090
or esi, 0xffffffff
mov byte [esp + 0x1450], 0x1d
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c53e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 0x1c
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c563
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x42c57f
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00404570
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0x10]
mov byte [esp + 0x1450], 0x19
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c5a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 0x18
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c5c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004a4516
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42c5e1
push 0x80004005
call fcn.00402040
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1450], 0x1f
push dword [esp + 0x3c]
lea eax, [esp + 0x18]
push str.SolidWorks_Installation_Manager
push str._s__s
push eax
call fcn.00404520
push 0x58
call fcn.004996c9
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x44], ebx
mov byte [esp + 0x1450], 0x20
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x42c64c
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.0042b560
jmp 0x42c64e
xor eax, eax
mov byte [esp + 0x1450], 0x1f
mov edi, dword [eax + 0x30]
lea edx, [eax + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
sub edi, 0x10
lea ebx, [eax - 0x10]
mov dword [esp + 0x34], edx
cmp ebx, edi
je 0x42c6c2
cmp dword [edi + 0xc], 0
jl 0x42c6b7
mov ecx, dword [ebx]
cmp ecx, dword [edi]
jne 0x42c6b7
push ebx
call fcn.004046f0
or ebx, 0xffffffff
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c6ac
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
add eax, 0x10
mov dword [ecx], eax
jmp 0x42c6c5
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.00402090
or ebx, 0xffffffff
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.004046f0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x24]
add esp, 4
lea ecx, [edi + 8]
call fcn.00446860
push 0x20
lea ecx, [edi + 0x34]
push str.C:Program_FilesSolidWorks_Corp
call fcn.00402090
push str.C:WindowsSolidWorksIM_DUMMY_sldIM
lea ecx, [esp + 0x34]
call fcn.004021e0
mov byte [esp + 0x1450], 0x21
mov eax, dword [esp + 0x30]
lea ecx, [edi + 0x38]
lea edx, [eax - 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [ecx]
sub edx, 0x10
mov dword [esp + 0x34], edx
cmp dword [esp + 0x24], edx
je 0x42c786
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x14]
jl 0x42c77d
mov ecx, dword [eax - 0x10]
cmp ecx, dword [edx]
jne 0x42c77a
push dword [esp + 0x24]
call fcn.004046f0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c76e
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x54]
add eax, 0x10
mov dword [edi + 0x38], eax
jmp 0x42c786
lea ecx, [edi + 0x38]
push dword [eax - 0xc]
push eax
call fcn.00402090
push 9
lea ecx, [edi + 0x3c]
push str.sldIM.exe
call fcn.00402090
push 0x13
add edi, 0x40
push str.sldIM_Installed.xml
mov ecx, edi
call fcn.00402090
mov ecx, dword [esp + 0x1c]
add ecx, 0x44
push edi
call fcn.00404570
mov ecx, dword [esp + 0x1c]
push edi
lea ecx, [ecx + 0x48]
call fcn.00404570
mov byte [esp + 0x1450], 0x1f
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c7e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x1c]
push 3
lea ecx, [edi + 0x4c]
push 0x640c94
call fcn.00402090
mov edx, dword [0x6c20a8]
lea eax, [esp + 0x50]
cmp eax, edx
jae 0x42c841
mov ecx, eax
mov eax, dword [0x6c20a4]
cmp eax, ecx
ja 0x42c841
mov edi, ecx
sub edi, eax
sar edi, 2
cmp edx, dword [0x6c20ac]
jne 0x42c836
push ecx
mov ecx, 0x6c20a4
call fcn.00430590
mov edx, dword [0x6c20a8]
mov eax, dword [0x6c20a4]
test edx, edx
je 0x42c866
mov eax, dword [eax + edi*4]
mov dword [edx], eax
jmp 0x42c860
cmp edx, dword [0x6c20ac]
jne 0x42c85a
push ecx
mov ecx, 0x6c20a4
call fcn.00430590
mov edx, dword [0x6c20a8]
test edx, edx
je 0x42c866
mov dword [edx], edi
mov edx, dword [0x6c20a8]
add esi, 0xfffffff0
add edx, 4
mov dword [0x6c20a8], edx
mov byte [esp + 0x1450], 0x18
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c890
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1450], 0x17
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c8b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1450], 0xffffffff
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x42c8db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.005bc16b
mov esp, ebp
pop ebp
ret