Function at 0x4024f0
Capabilities:
Delete directory
Delete registry key
Delete registry value
Persist via path registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
lea ebx, [ebp - 0x24]
call fcn.00402a70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4028c0
mov ecx, ebx
push ecx
call fcn.00402900
add esp, 4
test al, al
jne 0x4028c0
push str.WinNT_
mov edx, ebx
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00401760
push 0x41c41c
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 1
call fcn.00401760
push str.Include
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 2
call fcn.00401760
push 0x41c410
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00401760
push str.Lib_bc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 4
call fcn.00401760
push str.Libmsc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 5
call fcn.00401760
add esp, 0x48
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edx
call esi
mov eax, dword [ebp - 0x2c]
push eax
call esi
mov ecx, dword [ebp - 0x28]
push ecx
call esi
mov edx, dword [ebp - 0x34]
push edx
call esi
mov eax, dword [ebp - 0x30]
push eax
call esi
lea ecx, [ebp - 0x10]
push ecx
call fcn.00402b70
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
lea edx, [ebp - 0x18]
push edx
push 0xf003f
push 0
push str.SOFTWAREVXIPNP_AllianceVXIPNPCurrentVersion
push 0x80000002
call esi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jne 0x40264a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40264a
push str.VXIPNPPATH
push eax
call edi
mov eax, dword [ebp - 0x18]
push str.FRAMEWORK_PATH
push eax
call edi
mov ecx, dword [ebp - 0x18]
push str.FrameworkPath
push ecx
call edi
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.SOFTWAREVXIPNP_AllianceVXIPNPCurrentVersion
push 0x80000002
call ebx
push str.SOFTWAREVXIPNP_AllianceVXIPNP
push 0x80000002
call ebx
push str.SOFTWAREVXIPNP_Alliance
push 0x80000002
call ebx
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push str.SystemCurrentControlSetControlSession_ManagerEnvironment
push 0x80000002
call esi
test eax, eax
jne 0x4027ee
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4027ee
push str.VXIPNPPATH
push eax
call edi
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
push str.Path
push edx
mov dword [ebp - 0x1c], 0
call edi
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040470e
mov esi, eax
add esp, 4
test esi, esi
je 0x4027e4
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push esi
push 0
push 0
push str.Path
push edx
call edi
test eax, eax
jne 0x4027db
lea eax, [ebp - 0x20]
push eax
call fcn.00403130
push 0
push ecx
mov bl, 7
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x41c650
call fcn.004015c0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x10]
mov edx, 0x41c31c
mov byte [ebp - 4], 8
call fcn.00403320
mov edx, esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x44], esp
push 0x41c41c
push eax
push edx
call fcn.00401760
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.00402c70
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00401670
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x41c650
call fcn.004015c0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x40], esp
push 0x41c41c
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.00401760
lea eax, [ebp - 0x20]
add esp, 0xc
push eax
mov byte [ebp - 4], bl
call fcn.00402c70
mov edi, dword [ebp - 0x20]
mov ecx, esi
add esp, 0x10
mov eax, edi
sub ecx, edi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x4027a8
mov edi, dword [edi - 0xc]
mov ecx, dword [ebp - 0x14]
push edi
push esi
push 1
push 0
push str.Path
push ecx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x20]
call fcn.00401670
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push esi
call fcn.004045f6
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallIviVisaComStandardComponents
push 0x80000002
call ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40281b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40283c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40285d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40287e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40289f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret