Function at 0x415fe0
Capabilities:
Create process on windows
Delete file
Get common file path
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584dc6
mov eax, dword fs:[0]
push eax
sub esp, 0xa84
mov eax, dword [0x5eb770]
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
xor ebx, ebx
push ebx
push str.Tool_DIASUninstallExec
push ebx
lea ecx, [ebp - 0xa24]
call fcn.0044ca70
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0055ca80
add esp, 0xc
push 0x800
lea ecx, [ebp - 0xa18]
push ebx
push ecx
call fcn.0055ca80
add esp, 0xc
push 0x44
lea edx, [ebp - 0xa90]
push ebx
push edx
call fcn.0055ca80
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xa44], eax
mov dword [ebp - 0xa40], eax
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 0xa38], eax
mov dword [ebp - 0xa2c], ebx
call fcn.00416ac0
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x218], bx
jne 0x4160bf
push 0x5b69a4
lea ecx, [ebp - 0xa24]
push 2
push ecx
call fcn.0044cd10
add esp, 0xc
jmp 0x416369
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x4160eb
push 0x5b7ddc
lea eax, [ebp - 0x218]
push eax
call esi
push str.DiasUninst.EXE
lea ecx, [ebp - 0x218]
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
lea edx, [ebp - 0x218]
push edx
call edi
cmp eax, 0xffffffff
jne 0x416218
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 0xa28], ebx
call fcn.0055ca80
add esp, 0xc
lea ecx, [ebp - 0xa28]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa34], 1
mov dword [ebp - 0xa30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4161fd
lea edx, [ebp - 0xa30]
push edx
mov edx, dword [ebp - 0xa28]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa34]
push ecx
push ebx
push str.SystemRoot
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0xa28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.System32_
lea ecx, [ebp - 0x218]
push ecx
call esi
push str.DiasUninst.EXE
lea edx, [ebp - 0x218]
push edx
call esi
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
lea eax, [ebp - 0x218]
push eax
call edi
cmp eax, 0xffffffff
jne 0x416218
push str.Cant_Found_DIASUninst.EXE
lea ecx, [ebp - 0xa24]
push 2
push ecx
call fcn.0044cd10
add esp, 0xc
jmp 0x416369
push str.Case_Win9X_Me
lea edx, [ebp - 0xa24]
push 2
push edx
call fcn.0044cd10
add esp, 0xc
jmp 0x416369
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x5b9718
lea edx, [ebp - 0xa18]
push edx
call esi
lea ecx, [ebp - 0xa44]
push ecx
lea edx, [ebp - 0xa90]
push edx
push ebx
push ebx
push ebx
push ebx
xor eax, eax
push ebx
mov word [ebp - 0xa60], ax
push ebx
lea eax, [ebp - 0xa18]
push eax
push ebx
mov dword [ebp - 0xa90], 0x44
mov dword [ebp - 0xa64], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4162a1
push str.Cant_Execute_DIAS_Uninstaller
lea ecx, [ebp - 0xa24]
push 2
push ecx
call fcn.0044cd10
add esp, 0xc
jmp 0x416369
mov edx, dword [ebp - 0xa40]
mov esi, dword [ebp - 0xa44]
push edx
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4162cc
lea eax, [ebp - 0xa2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call edi
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xa1c]
call fcn.00403340
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xa1c]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x20
push edx
call esi
mov eax, dword [ebp - 0xa1c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
push str..INI
push str..EXE
lea ecx, [ebp - 0xa1c]
call fcn.0040f7d0
mov ecx, dword [ebp - 0xa1c]
push 0x20
push ecx
call esi
mov edx, dword [ebp - 0xa1c]
push edx
call edi
push 0x5b69a4
lea eax, [ebp - 0xa24]
push 2
push eax
call fcn.0044cd10
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xa1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xa24]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
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.0055649d
mov esp, ebp
pop ebp
ret