Function at 0x41fe20
Capabilities:
Create process on windows
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557608
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5d7b20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fe62
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fe92
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41febf
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push str.DoDiasUninstall_______________________IN._n
push 4
mov byte [ebp - 4], 2
call fcn.00403ab0
add esp, 8
call fcn.0044bf0f
mov ebx, dword [eax + 0xc]
call fcn.0044bf0f
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x44]
call fcn.0044bf0f
push 0x1b58
mov dword [eax + 0xc], edi
call fcn.0044bffa
test eax, eax
je 0x41ff18
push 0x1b58
push eax
lea ecx, [ebp - 0x14]
call fcn.00404cb0
push 0x1b59
call fcn.0044bffa
test eax, eax
je 0x41ff34
push 0x1b59
push eax
lea ecx, [ebp - 0x18]
call fcn.00404cb0
call fcn.0044bf0f
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov eax, 1
sub eax, dword [ecx - 4]
mov ecx, dword [ecx - 8]
or ecx, eax
jge 0x41ff58
push 0
lea ecx, [ebp - 0x14]
call fcn.004045b0
mov ecx, dword [ebp - 0x14]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00414480
add esp, 8
test eax, eax
jne 0x42021c
push str.DoDiasUninstall_______________________________start._n
push 4
call fcn.00403ab0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
add esp, 8
or eax, ecx
jge 0x41ffa4
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004045b0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x42021c
push 0x208
push 0
push esi
call fcn.0053e550
add esp, 0xc
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0053ee8b
add esp, 8
test eax, eax
js 0x4202a2
cmp eax, dword [esi - 8]
jg 0x4202a2
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test edi, edi
je 0x42021c
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00418590
push 0x56825c
push eax
call fcn.004155b0
mov bl, al
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x420047
push 0x56825c
lea ecx, [ebp - 0x10]
call fcn.004062b0
mov edi, dword [ebp - 0x18]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00405330
push 0x572428
lea ecx, [ebp - 0x10]
call fcn.004062b0
push 0x44
lea ecx, [ebp - 0x70]
push 0
push ecx
call fcn.0053e550
mov esi, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 1
mov word [ebp - 0x40], dx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
add esp, 0xc
or eax, ecx
jge 0x4200bd
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004045b0
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4200ec
mov byte [ebp - 4], 1
lea eax, [esi - 0x10]
mov ecx, 0xfffffffc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200e4
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xfffffffffffffff0
call edx
lea eax, [edi - 0x10]
jmp 0x420251
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x420108
push 0
lea ecx, [ebp - 0x10]
call fcn.004045b0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420162
push str.DoDiasUninstall______________________________CreateProcess_Error._n
push 4
call fcn.00403ab0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.00417700
lea ecx, [ebp - 0x18]
call fcn.00417700
lea ecx, [ebp - 0x14]
call fcn.00417700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.DoDiasUninstall______________________________SUCCESS._n
push 4
call fcn.00403ab0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0053ee8b
add esp, 0x10
test eax, eax
js 0x4202a2
cmp eax, dword [esi - 8]
jg 0x4202a2
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
push edx
call edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
push 0x568928
push 0x572428
lea ecx, [ebp - 0x10]
call fcn.00404f20
mov esi, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x20
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x4201ec
push str.Cant_delete_DiasUninstall_the_execute_fiile._n
push 4
call fcn.00403ab0
add esp, 8
push str..INI
push str..EXE
lea ecx, [ebp - 0x10]
call fcn.00404f20
mov esi, dword [ebp - 0x10]
push 0x20
push esi
call edi
push esi
call ebx
test eax, eax
jne 0x42021c
push str.Cant_delete_DiasUninstall_the_INI_fiile._n
push 4
call fcn.00403ab0
add esp, 8
push 0x572208
push 4
call fcn.00403ab0
lea eax, [esi - 0x10]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42024b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42026e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403e70
int3