Function at 0x42ec10
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5babdb
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x6441a4]
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
lea edx, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x458]
call fcn.00431950
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x42ec6c
push eax
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x42ec7f
push eax
call fcn.004d2e43
add esp, 4
cmp dword [ebp - 0x42c], 3
jg 0x42ec8f
xor al, al
jmp 0x42f112
lea ecx, [ebp - 0x46c]
call fcn.0042e7f0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x430], 0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004d0100
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push 0
push eax
call fcn.004d0100
add esp, 0xc
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
push eax
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x428]
mov edi, dword [ebp - 0x46c]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42ee49
lea ecx, [ebp - 0x218]
push ecx
push eax
call ebx
test eax, eax
je 0x42ee49
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x440]
call fcn.00406d80
mov esi, dword [ebp - 0x440]
push 0x62c504
push esi
call fcn.004cfb85
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x42ee02
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x42ee02
mov edx, dword [ebp - 0x43c]
xor eax, eax
test edx, edx
jg 0x42ed77
lea eax, [edx - 1]
xor ebx, ebx
test eax, eax
cmovns ebx, eax
lea eax, [ebx + ecx]
cmp eax, edx
jle 0x42ed89
mov ecx, edx
sub ecx, ebx
push ecx
lea eax, [esi + ebx*2]
mov dword [ebp - 0x448], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x458]
push eax
movups xmmword [ebp - 0x458], xmm0
call fcn.00406c40
mov esi, dword [ebp - 0x458]
test esi, esi
je 0x42edbf
cmp word [esi], 0
mov eax, esi
jne 0x42edc4
mov eax, 0x628fa4
push dword [ebp - 0x454]
lea ecx, [ebp - 0x440]
push eax
call fcn.00406c40
test esi, esi
je 0x42ede3
push esi
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x42edf6
push eax
call fcn.004d2e43
add esp, 4
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, dword [ebp - 0x440]
cmp dword [ebp - 0x43c], 0
jle 0x42ee49
test esi, esi
je 0x42ee17
cmp word [esi], 0
mov ecx, esi
jne 0x42ee1c
mov ecx, 0x628fa4
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ee20
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x468], ecx
jl 0x42ee49
push esi
push edi
call fcn.004cfb85
add esp, 8
test eax, eax
jne 0x42f020
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d0100
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x440]
call fcn.00406d80
cmp dword [ebp - 0x43c], 0
mov esi, dword [ebp - 0x440]
jle 0x42eecf
test esi, esi
je 0x42ee9e
cmp word [esi], 0
mov ecx, esi
jne 0x42eea3
mov ecx, 0x628fa4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eea6
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x468], ecx
jl 0x42eecf
push esi
push edi
call fcn.004cfb85
add esp, 8
test eax, eax
jne 0x42f020
push 0x104
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d0100
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push 0
push eax
call fcn.004d0100
add esp, 0xc
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
push eax
push 0x2a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x42ef8c
lea ecx, [ebp - 0x218]
push ecx
push eax
call ebx
test eax, eax
je 0x42ef8c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x440]
call fcn.00406d80
cmp dword [ebp - 0x43c], 0
mov esi, dword [ebp - 0x440]
jle 0x42ef8c
test esi, esi
je 0x42ef5b
cmp word [esi], 0
mov ecx, esi
jne 0x42ef60
mov ecx, 0x628fa4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ef63
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x468], ecx
jl 0x42ef8c
push esi
push edi
call fcn.004cfb85
add esp, 8
test eax, eax
jne 0x42f020
push str.update_test.txt
lea ecx, [ebp - 0x46c]
call fcn.00406cf0
mov edi, dword [ebp - 0x46c]
test edi, edi
je 0x42efae
cmp word [edi], 0
mov eax, edi
jne 0x42efb3
mov eax, 0x628fa4
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
cmp ebx, 0xffffffff
je 0x42f020
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x42f020
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x444], 0x333231
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42eff7
sub ecx, edx
lea edx, [ebp - 0x444]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0042fdc0
add esp, 4
push ebx
test eax, eax
jg 0x42f027
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x42f0d0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x458]
call fcn.00406930
push 0x62c54c
lea ecx, [ebp - 0x458]
call fcn.00406cf0
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x46c]
call fcn.0042ff40
mov ebx, dword [ebp - 0x458]
test al, al
jne 0x42f08b
test edi, edi
je 0x42f076
cmp word [edi], 0
mov eax, edi
jne 0x42f07b
mov eax, 0x628fa4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x421], 1
jmp 0x42f0aa
test ebx, ebx
je 0x42f097
cmp word [ebx], 0
mov eax, ebx
jne 0x42f09c
mov eax, 0x628fa4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x421], 0
test ebx, ebx
je 0x42f0b7
push ebx
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x42f0ca
push eax
call fcn.004d2e43
add esp, 4
mov bl, byte [ebp - 0x421]
test esi, esi
je 0x42f0dd
push esi
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x42f0f0
push eax
call fcn.004d2e43
add esp, 4
test edi, edi
je 0x42f0fd
push edi
call fcn.004d2e43
add esp, 4
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x42f110
push eax
call fcn.004d2e43
add esp, 4
mov al, bl
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.004cdf5d
mov esp, ebp
pop ebp
ret