Function at 0x43f820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480ee1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43fd3b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.Capabiliti
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push str.SOFTWAREXDCadViewer_ses
push eax
call fcn.00407700
add esp, 0xc
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43fd45
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.eredApplic
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push str.SOFTWARERegist_sations
push eax
call fcn.00407700
sub esp, 8
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push dword [ebp - 0x28]
push SysReAllocString
call fcn.0040c190
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x43f928
test edi, edi
je 0x43f928
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f900
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.XDCadViewer
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x43f933
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x14
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push edi
push SysReAllocString
call fcn.0040c190
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x43f977
push 0x18
push str.XDCadViewer
push 1
push 0
push str.ApplicationName
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x43f982
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x43f99b
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43f9b1
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43fd3b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0xc]
mov edx, 0x494458
push dword [eax - 0xc]
push eax
push 1
call fcn.0040ebb0
add esp, 0xc
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x43f9f5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43fa0b
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43fd3b
mov eax, dword [ecx]
call dword [eax + 0xc]
push 4
push str.___0
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x30], 6
mov edx, esi
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
call fcn.0040ebb0
mov dword [ebp - 4], 3
lea edx, [esi - 0x10]
or ebx, 0xffffffff
mov dword [ebp - 0x30], 1
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fa60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x14
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push edi
push SysReAllocString
call fcn.0040c190
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x43facc
test esi, esi
je 0x43facc
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x34], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43faa0
sub ecx, dword [ebp - 0x34]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.ApplicationIcon
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x43fad7
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43faf9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x14
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push edi
push SysReAllocString
call fcn.0040c190
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x43fb3d
push 0x10
push 0x493790
push 1
push 0
push str.ApplicationDescription
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x43fb48
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43fd4f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.Associati
push edi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push str._sFile_sons
push eax
call fcn.00407700
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
push SysReAllocString
call fcn.0040c190
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x20]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
cmp ebx, eax
je 0x43fcb7
nop dword [eax]
mov edx, ebx
lea ecx, [ebp - 0x3c]
call fcn.0043f640
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x43fbf4
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43fc0a
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43fd3b
mov eax, dword [ecx]
call dword [eax + 0xc]
or dword [ebp - 0x30], 8
lea ecx, [ebp - 0x34]
add eax, 0x10
mov edx, 0x494234
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
push 1
call fcn.0040ebb0
mov edx, dword [esi]
add esp, 0xc
mov esi, dword [ebp - 0x34]
test edx, edx
je 0x43fc69
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x38], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fc42
sub ecx, dword [ebp - 0x38]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [ebp - 0x30], 0xfffffff7
add esi, 0xfffffff0
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43fc89
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fca8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x40]
jne 0x43fbd0
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fcd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x43fce3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fd01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43fd1d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
int3