Function at 0x410ba0
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 0x55ba96
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0xa24]
push str.Tool_DIASUninstallExec
push eax
call fcn.0040ac70
add esp, 0xc
mov dword [ebp - 4], 0
call fcn.00411620
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.005373f0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x218], 0
jne 0x410c3c
push 0x58a8c8
lea eax, [ebp - 0xa24]
push 2
push eax
call fcn.0040aed0
add esp, 0xc
jmp 0x410f2e
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x410c68
push 0x58abe4
lea edx, [ebp - 0x218]
push edx
call esi
push str.DiasUninst.EXE
lea eax, [ebp - 0x218]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x218]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x410d98
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.005373f0
add esp, 0xc
lea eax, [ebp - 0xa28]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa2c], 1
mov dword [ebp - 0xa30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410d7d
lea ecx, [ebp - 0xa30]
push ecx
mov ecx, dword [ebp - 0xa28]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0xa2c]
push eax
push 0
push str.SystemRoot
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0xa28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.System32_
lea eax, [ebp - 0x218]
push eax
call esi
push str.DiasUninst.EXE
lea ecx, [ebp - 0x218]
push ecx
call esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea edx, [ebp - 0x218]
push edx
call edi
cmp eax, 0xffffffff
jne 0x410d98
push str.Cant_Found_DIASUninst.EXE
lea eax, [ebp - 0xa24]
push 2
push eax
call fcn.0040aed0
add esp, 0xc
jmp 0x410f2e
push str.Case_Win9X_Me
lea ecx, [ebp - 0xa24]
push 2
push ecx
call fcn.0040aed0
add esp, 0xc
jmp 0x410f2e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0x800
lea edx, [ebp - 0xa18]
push 0
push edx
call fcn.005373f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x58cbb0
lea edx, [ebp - 0xa18]
push edx
call esi
push 0x44
lea eax, [ebp - 0xa90]
push 0
push eax
call fcn.005373f0
add esp, 0xc
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0xa40]
push edx
mov dword [ebp - 0xa40], eax
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 0xa38], eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0xa90]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov word [ebp - 0xa60], cx
lea ecx, [ebp - 0xa18]
push ecx
push 0
mov dword [ebp - 0xa90], 0x44
mov dword [ebp - 0xa64], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410e65
push str.Cant_Execute_DIAS_Uninstaller
lea edx, [ebp - 0xa24]
push 2
push edx
call fcn.0040aed0
add esp, 0xc
jmp 0x410f2e
mov eax, dword [ebp - 0xa3c]
mov esi, dword [ebp - 0xa40]
push eax
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x410e90
lea ecx, [ebp - 0xa44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call edi
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0xa1c]
call fcn.00401210
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa1c]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x20
push eax
call esi
mov ecx, dword [ebp - 0xa1c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call edi
push str..INI
push str..EXE
lea ecx, [ebp - 0xa1c]
call fcn.00409080
mov edx, dword [ebp - 0xa1c]
push 0x20
push edx
call esi
mov eax, dword [ebp - 0xa1c]
push eax
call edi
push 0x58a8c8
lea ecx, [ebp - 0xa24]
push 2
push ecx
call fcn.0040aed0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa1c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410f2e
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.0040ae50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005337cb
mov esp, ebp
pop ebp
ret