Function at 0x406eb0
Capabilities:
Delete file
Delete registry key
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e1461
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb8]
lea eax, [esp + 0x88]
call fcn.00430499
lea edi, [ebx + 0x2b4]
lea eax, [esp + 0x88]
push edi
xor esi, esi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], esi
mov dword [esp + 0x38], edi
call fcn.0043e96d
add esp, 8
push 0xffffffffffffffff
push esi
push eax
lea eax, [esp + 0x94]
mov byte [esp + 0xbc], 1
call fcn.00401690
mov ebp, 8
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x2c], ebp
jb 0x406f5e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b6eae
add esp, 4
lea edx, [esp + 0x88]
push edx
call fcn.0043ed7e
push edi
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x74]
call fcn.004084e0
add esp, 8
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x84], ebp
mov eax, dword [esp + 0x70]
jae 0x406f96
lea eax, [esp + 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0xd
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
mov edi, 7
push 0x4ec9d4
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], edi
call fcn.00407ef0
mov eax, esi
push eax
add ebx, 0x2ec
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 3
call fcn.0043e96d
add esp, 8
mov byte [esp + 0xb0], 5
cmp dword [esp + 0x2c], ebp
jb 0x406ffd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b6eae
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], ebp
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], edi
jae 0x40701a
lea eax, [esp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov ecx, dword [esp + 0x54]
and eax, 0xfffffffe
cmp dword [esp + 0x68], ebp
jae 0x407034
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x68], ebp
mov eax, dword [esp + 0x54]
jae 0x40704a
lea eax, [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
lea eax, [esp + 0x34]
call fcn.0043046f
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x38]
mov bl, 6
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], bl
call fcn.0043e96d
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0xbc], 7
call fcn.00401690
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x2c], ebp
jb 0x4070ab
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b6eae
add esp, 4
push 4
push 0x4ec9bc
lea ecx, [esp + 0x3c]
call fcn.00407df0
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
jae 0x4070c9
lea eax, [esp + 0x38]
push eax
call edi
mov ecx, dword [esp + 0x38]
and eax, 0xfffffffe
cmp dword [esp + 0x4c], ebp
jae 0x4070dd
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
jae 0x4070f3
lea eax, [esp + 0x38]
push eax
call esi
cmp dword [esp + 0x4c], ebp
jb 0x407109
mov edx, dword [esp + 0x38]
push edx
call fcn.004b6eae
add esp, 4
xor esi, esi
cmp dword [esp + 0x68], ebp
mov edi, 7
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x407130
mov eax, dword [esp + 0x54]
push eax
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x407153
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0xa0], ebp
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov word [esp + 0x70], si
jb 0x40717f
mov edx, dword [esp + 0x8c]
push edx
call fcn.004b6eae
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004b6e9f
add esp, 0xa0
ret 4