Function at 0x42f640
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46ab31
push eax
mov eax, 0x1bb0
mov dword fs:[0], esp
call fcn.0044d240
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x28], ebp
call fcn.004318b0
test eax, eax
je 0x42f70c
xor ebx, ebx
lea eax, [esp + 0x730]
push ebx
push str.KINIFile::UninstallINIFiles_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x630]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x630]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x730]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x630]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
jmp 0x42f70e
xor ebx, ebx
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x834]
mov dword [esp + 0x830], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0xa28]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xd64]
mov dword [esp + 0x1bc8], ebx
cmp eax, ebx
jne 0x42f793
mov eax, dword [esp + 0x830]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x1bc8], 0xffffffff
jbe 0x42f78c
lea esi, [esp + 0xa28]
mov eax, dword [esi]
cmp eax, ebx
je 0x42f77d
push eax
call fcn.00460d98
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x830]
inc edi
add esi, 4
cmp edi, eax
jb 0x42f76c
xor eax, eax
jmp 0x42fc56
lea ecx, [esp + 0x130]
push 1
push ecx
push 0x104
call fcn.00448e20
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0xd6c]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1bc8], 1
je 0x42f800
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.00404e90
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x42f82a
push 1
lea ecx, [esp + 0x18]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, ecx
xor edx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, ebx
jbe 0x42f870
mov eax, dword [esp + 0x14]
mov al, byte [ecx + eax]
cmp al, 0x5c
je 0x42f867
mov esi, dword [esp + 0x18]
inc edx
mov byte [esi + edx - 1], al
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, eax
jb 0x42f853
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
lea esi, [esp + 0x130]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov dword [esp + 0x1c], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, esi
mov esi, edi
mov edx, ecx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x130]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x830]
push ecx
push edx
mov ecx, ebp
call fcn.0042e460
test eax, eax
je 0x42fb43
cmp dword [esp + 0x830], ebx
jne 0x42f906
mov dword [esp + 0x24], ebx
jmp 0x42fb13
lea ecx, [esp + 0x834]
lea eax, [esp + 0x834]
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x42fb13
lea ebx, [ebp + 0x270]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x830]
push edx
call fcn.00404920
cmp eax, 0xffffffff
je 0x42f945
mov edi, dword [esp + eax*4 + 0xa28]
jmp 0x42f947
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.004129c0
lea edx, [esp + 0x10]
lea eax, [esp + 0x52c]
push edx
push eax
mov ecx, ebp
call fcn.0042d9d0
test eax, eax
je 0x42fb05
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
call dword [edx]
test eax, eax
je 0x42fb05
lea edx, [esp + 0x52c]
mov ecx, ebp
push edx
call fcn.004298c0
test eax, eax
je 0x42fb05
xor ebp, ebp
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x11fc]
mov dword [esp + 0x11f8], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x13f0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x11f8]
lea ecx, [esp + 0x52c]
push eax
push 3
push str.HKLM
push ecx
mov ecx, ebx
mov byte [esp + 0x1bd8], 2
call fcn.00417b90
test eax, eax
jbe 0x42faaa
cmp dword [esp + 0x11f8], ebp
je 0x42faaa
lea eax, [esp + 0x11fc]
lea edx, [esp + 0x11fc]
test eax, eax
mov dword [esp + 0x20], edx
je 0x42faaa
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x11fc]
call fcn.00404920
cmp eax, 0xffffffff
je 0x42fa5c
mov eax, dword [esp + eax*4 + 0x13f0]
jmp 0x42fa5e
xor eax, eax
mov eax, dword [eax + 0xc]
push 0x80000002
push eax
lea ecx, [esp + 0x23c]
call fcn.0043a3a0
lea edx, [esp + 0x238]
lea ecx, [esp + 0x234]
push edx
call fcn.0043a5b0
test eax, eax
je 0x42faa4
push 1
push ebp
lea eax, [esp + 0x240]
push 1
push eax
lea ecx, [esp + 0x244]
call fcn.0043a790
cmp dword [esp + 0x20], ebp
jne 0x42fa3d
mov ecx, ebx
call fcn.00412df0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x11f8]
mov byte [esp + 0x1bc8], 1
test eax, eax
jbe 0x42fb01
lea edi, [esp + 0x13f0]
mov esi, dword [edi]
test esi, esi
je 0x42faf2
mov ecx, esi
call fcn.0040a9e0
push esi
call fcn.00460d98
add esp, 4
mov dword [edi], 0
mov eax, dword [esp + 0x11f8]
inc ebp
add edi, 4
cmp ebp, eax
jb 0x42fad6
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42f926
xor ebx, ebx
lea edx, [esp + 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00429a40
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
mov ecx, ebp
call fcn.00429a40
call fcn.004318b0
test eax, eax
je 0x42fbe6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x234]
push edx
push str.KINIFile::UninstallINIFiles_:_dwFlags___d_n
push eax
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x42c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x234]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x42c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x1bc8], 0
je 0x42fc15
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00460d98
mov edx, dword [esp + 0x18]
push edx
call fcn.00460d98
add esp, 8
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x830]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x1bc8], 0xffffffff
jbe 0x42fc54
lea esi, [esp + 0xa28]
mov eax, dword [esi]
cmp eax, ebx
je 0x42fc45
push eax
call fcn.00460d98
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x830]
inc edi
add esi, 4
cmp edi, eax
jb 0x42fc34
mov eax, ebp
mov ecx, dword [esp + 0x1bc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1bbc
ret