Function at 0x427630
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455df8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x48f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc4], esi
mov byte [ebp - 0xbc], 0
test edi, edi
jne 0x4276ef
test esi, esi
jne 0x4276ef
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_invalid_parameter._n
call fcn.00406de0
push eax
call fcn.0040b320
add esp, 0x2c
lea edi, [esi + 0x57]
jmp 0x427e26
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
push edi
lea ecx, [ebp - 0x6c]
call fcn.0042aca0
add esp, 8
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x42771c
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_modules_to_uninstall___hs._n
call fcn.00406de0
push eax
call fcn.0040b320
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x42779e
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427794
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427e46
push edx
push ecx
call fcn.0043fc69
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 1
call fcn.00424f10
mov edi, eax
test edi, edi
je 0x427867
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, edi
call fcn.0040bee0
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_get_dlp_install_path___failed___hs_._n
call fcn.00406de0
push eax
call fcn.0040b320
mov edx, dword [ebp - 0x40]
add esp, 0x30
cmp edx, 8
jb 0x427e26
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427858
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427e4b
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x427e26
mov esi, dword [0x492160]
mov eax, dword [0x492164]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd0], eax
cmp esi, eax
je 0x427c00
mov edx, dword [ebp - 0xc4]
nop dword [eax]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [esi + 0xc]
and eax, dword [esi + 8]
and ecx, edx
test eax, eax
jne 0x4278aa
test ecx, ecx
je 0x427beb
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
call fcn.00425e90
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x28], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x427925
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42791b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427e46
push edx
push ecx
call fcn.0043fc69
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp dword [ebp - 0x2c], eax
je 0x427d08
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
jb 0x427956
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x427a1f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42796f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x427a25
shr eax, 4
and al, 1
je 0x427a1f
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
call fcn.0043dd30
mov edi, eax
test edi, edi
je 0x427ba7
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [ebp - 0x28], 8
lea esi, [ebp - 0x3c]
mov ecx, edi
cmovae esi, dword [ebp - 0x3c]
call fcn.0040bee0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_directory_setup::uninstall__s__returns__hs__continue._n
call fcn.00406de0
push eax
call fcn.0040b320
mov eax, dword [ebp - 0xbc]
add esp, 0x34
cmp edi, 0xbc2
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [ebp - 0xbc], eax
jmp 0x427b9f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x28], 8
lea esi, [ebp - 0x3c]
jb 0x427a3d
mov esi, dword [ebp - 0x3c]
test esi, esi
jne 0x427a3d
lea edi, [esi + 0x57]
jmp 0x427b19
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427a84
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x427a7c
shr eax, 4
test al, 1
jne 0x427a84
test cl, 1
je 0x427a71
and ecx, 0xfffffffe
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x427a7c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x427aaa
call edi
mov edi, eax
test edi, edi
je 0x427ab3
mov ecx, esi
call fcn.00415fc0
mov edi, eax
test edi, edi
je 0x427ab3
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x427aae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x427ab3
xor edi, edi
jmp 0x427ab3
mov edi, 0xbc2
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, edi
call fcn.0040bee0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::file_setup::uninstall:_delete_file_must_success__s__returns__hs._n
call fcn.00406de0
push eax
call fcn.0040b320
add esp, 0x34
test edi, edi
je 0x427ba1
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [ebp - 0x28], 8
lea esi, [ebp - 0x3c]
mov ecx, edi
cmovae esi, dword [ebp - 0x3c]
call fcn.0040bee0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_file_setup::uninstall__s__returns__hs__continue._n
call fcn.00406de0
push eax
call fcn.0040b320
mov eax, dword [ebp - 0xbc]
add esp, 0x34
cmp edi, 0xbc2
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov byte [ebp - 0xbc], al
xor edi, edi
mov esi, dword [ebp - 0xc0]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x427be5
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427e50
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0xc4]
add esi, 0x48
mov dword [ebp - 0xc0], esi
cmp esi, dword [ebp - 0xd0]
jne 0x427890
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 1
push dword [ebp - 0xc4]
push dword [ebp - 0xcc]
call fcn.0040a3c0
add esp, 0x10
test al, al
je 0x427cc4
cmp dword [ebp - 0x40], 8
lea ecx, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x54]
call fcn.0043dd30
mov edi, eax
test edi, edi
je 0x427cc4
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call esi
cmp dword [ebp - 0x40], 8
lea esi, [ebp - 0x54]
mov ecx, edi
cmovae esi, dword [ebp - 0x54]
call fcn.0040bee0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_directory_setup::uninstall__s__returns__hs._n
call fcn.00406de0
push eax
call fcn.0040b320
mov eax, dword [ebp - 0xbc]
add esp, 0x34
cmp edi, 0xbc2
movzx eax, al
mov ecx, 1
cmove eax, ecx
xor edi, edi
mov byte [ebp - 0xbc], al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x427db5
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427e4b
jmp 0x427dab
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push str.__04d__02d__02d__02d:_02d:_02d._03d____d._d__js::dlp::setup_uninstall:_invalid_file_or_directory_name__dst_._n
call fcn.00406de0
push eax
call fcn.0040b320
mov byte [ebp - 4], 1
add esp, 0x2c
mov edx, dword [ebp - 0x28]
mov edi, 0xd
cmp edx, 8
jb 0x427c06
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427e50
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x427c06
push edx
push ecx
call fcn.0043fc69
add esp, 8
test edi, edi
jne 0x427e26
cmp byte [ebp - 0xbc], 0
je 0x427e26
lea ecx, [ebp - 0xb8]
call fcn.00421c20
mov dword [ebp - 4], 3
mov ecx, eax
mov edx, dword [eax]
push 3
call dword [edx + 8]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb8], vtable.js::dlp::plcmgr_device_control.0
mov dword [ebp - 0x80], vtable.kn::auto_handle_base_void___struct_kn::system::handle_delete_.0
test eax, eax
je 0x427e03
cmp eax, 0xffffffff
je 0x427e08
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427e08
cmp eax, 0xffffffff
jne 0x427e0f
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x80], vtable.kn::handle_storage_void__.0
call fcn.00406a30
mov edi, 0xbc2
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043fc58
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044316c
call fcn.0044316c
call fcn.0044316c
int3