Function at 0x42c5e0
Capabilities:
Check if file exists
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x627a40]
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
mov esi, dword [0x62d76c]
test esi, esi
jne 0x42c64e
push 0x120
call fcn.00570eba
mov esi, eax
add esp, 4
mov dword [ebp - 0x634], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00408f90
mov dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.CConfigure.0
mov dword [0x62d76c], esi
sub esp, 0xc
mov ecx, esi
call fcn.0040b990
cmp eax, 1
jne 0x42c705
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x634]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_accept
call esi
test eax, eax
jne 0x42c6fe
lea eax, [ebp - 0x638]
push eax
push 0xf003f
push 0
push 0x61c2ac
push dword [ebp - 0x634]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42c6f6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00576f50
push 0x61c5f8
push 0x61c600
lea eax, [ebp - 0x218]
push str._s_s
push eax
call fcn.00408f60
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x638]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x638]
call esi
push dword [ebp - 0x634]
call esi
xor eax, eax
jmp 0x42c8e6
push 0x61c634
push 0
call fcn.004223f0
add esp, 8
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x62d768]
test eax, eax
jne 0x42c747
push 0x104
call fcn.00570eba
add esp, 4
mov dword [ebp - 0x634], eax
mov ecx, eax
call fcn.0041d7d0
mov dword [0x62d768], eax
sub esp, 0xc
mov ecx, eax
call fcn.0041e4d0
push 0x400
lea eax, [ebp - 0x618]
push 0
push eax
call fcn.00576f50
add esp, 0xc
lea eax, [ebp - 0x618]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x618]
push 0x5c
push eax
call fcn.00575fd0
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
xor eax, eax
mov dword [ebp - 0x61c], 7
mov dword [ebp - 0x620], ecx
mov word [ebp - 0x630], ax
cmp word [ebp - 0x618], ax
je 0x42c7cf
lea ecx, [ebp - 0x618]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c7c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x630]
call fcn.00403d10
push 0xd
push str.WnUtility.exe
lea ecx, [ebp - 0x630]
mov dword [ebp - 4], 1
call fcn.0040be00
call fcn.00435f30
add byte [eax], al
test al, al
je 0x42c815
sub eax, 0x919dd41b
pop ebx
pop ss
push cs
out dx, al
mov al, byte [0xd1626e09]
cmp dl, dl
jne 0x42c7fe
call fcn.00436550
popfd
add byte [eax], al
test al, al
je 0x42c83d
cmc
cmpsd dword fs:[esi], dword es:[edi]
sti
pop ebx
pop eax
in al, 0x27
clc
out 0x7e, eax
fld xword [eax]
jecxz 0x42c7d7
mov al, byte [0xdef0e0bf]
adc eax, 0x514d01b4
add ecx, dword [eax - 0x17a271e9]
outsb dx, byte [esi]
lcall 0x1674, 0xc0840000
call fcn.004362b0
test al, al
je 0x42c85c
insb byte es:[edi], dx
fadd dword [eax]
shl bh, 0x87
sub ah, byte [edi + 1]
std
cld
inc eax
test byte [edx], bh
cmp byte [esi + 0x580daae5], 0x8c
pop ecx
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c89a
cmp dword [ebp - 0x61c], 8
lea ecx, [ebp - 0x630]
cmovae ecx, dword [ebp - 0x630]
sub esp, 0xc
call fcn.00426080
add esp, 0xc
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
push 0x61c648
cmovae eax, dword [ebp - 0x630]
push eax
push 0x61c66c
push 0
call fcn.004223f0
mov eax, dword [ebp - 0x61c]
add esp, 0x10
cmp eax, 8
jb 0x42c8e1
inc eax
lea ecx, [ebp - 0x630]
push eax
push dword [ebp - 0x630]
call fcn.00404090
mov eax, 1
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.00570ea9
mov esp, ebp
pop ebp
ret