Function at 0x140005a10
Capabilities:
Enumerate files on windows
Get file attributes
Move file
Set file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x780
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x770], rax
mov r15, rcx
mov rax, qword [rcx]
mov rdi, qword [rax + 0x178]
xor ebp, ebp
test rdi, rdi
je 0x140005b00
mov rax, qword [rdi]
cmp dword [rax + 0x174], 3
jl 0x140005b00
call fcn.14009d5e8
mov r11, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140005a94
mov ecx, 0x80004005
call fcn.1400034f0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rax, [0x1400fb278]
mov qword [rsp + 0x20], rax
lea r9, str.Uninstall
lea r8, [0x1400fb2f8]
lea rdx, str.__public___s::_s__s_
lea rcx, [rsp + 0x60]
call fcn.14000a800
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14002f200
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140005b00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400a0754
test rax, rax
je 0x140005b18
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x140005b1b
mov rax, rbp
xor r9d, r9d
mov edx, 0x2b10
mov r8d, 0x25f
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400a0754
test rax, rax
je 0x140005b4e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
mov rcx, rax
jmp 0x140005b51
mov rcx, rbp
movzx r8d, byte [r15 + 0x28]
shl r8d, 0x10
or r8d, 0xf
mov edx, 0x2b12
mov r9d, 0x50001
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fb448]
lea r8, str.Uninstall
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140080a70
mov rax, qword [r15 + 0x68]
mov r12d, 1
cmp dword [rax - 0x10], 0
je 0x140005dc8
call fcn.14009d5e8
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140005bcc
mov ecx, 0x80004005
call fcn.1400034f0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], ebp
mov r9w, 0x2c
lea r8, [rsp + 0x58]
mov rdx, qword [r15 + 0x68]
mov rcx, qword [r15 + 0x10]
call fcn.140010850
mov dx, 0x2c
mov rcx, qword [r15 + 0x68]
call fcn.1400ce0c0
lea rbx, [rax + 2]
call fcn.14009d5e8
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140005c29
mov ecx, 0x80004005
call fcn.1400034f0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x140005c7f
test rbx, 0xffffffffffff0000
jne 0x140005c6a
movzx edi, bx
mov ecx, edi
call fcn.1400a1868
test rax, rax
je 0x140005c92
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000a990
jmp 0x140005c92
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x140005c81
mov ecx, ebp
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140003940
nop
mov dword [rsp + 0x20], ebp
lea r9, [0x1400fb484]
lea r8, [0x1400fb488]
lea rdx, [rsp + 0x50]
mov rcx, qword [r15 + 0x10]
call fcn.140010dd0
lea rdx, [rsp + 0x50]
mov rcx, qword [r15 + 0x18]
call fcn.14007c3d0
mov rbx, qword [rsp + 0x50]
mov rsi, rbx
cmp dword [rbx - 0x10], 0
cmove rsi, rbp
mov qword [rsp + 0x28], rsi
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x20], rdi
lea r9, [0x1400fb490]
lea r8, str.Uninstall
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140080a70
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov rcx, qword [r15 + 0x10]
call fcn.140014b80
mov rdi, rax
test rax, rax
je 0x140005d8a
call fcn.1400a0754
test rax, rax
je 0x140005d33
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x140005d36
mov rax, rbp
xor r9d, r9d
mov r8, r12
mov edx, 0x2b3f
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
nop
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140005d80
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2b3d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005d50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140005da7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140005dc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [r15 + 0x78], 0
je 0x140006b00
call fcn.1400a0754
test rax, rax
je 0x140005deb
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x140005dee
mov rax, rbp
xor r9d, r9d
mov edx, 0x2b10
mov r8d, 0x25d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400a02a0
mov rbp, qword [rax + 8]
mov qword [rsp + 0x68], rbp
mov r13, qword [rbp + 0x140]
mov qword [rsp + 0x70], r13
mov rax, qword [rbp + 0x148]
mov qword [rsp + 0x78], rax
xor ebp, ebp
mov dword [rsp + 0x50], ebp
mov rax, qword [r15 + 0x78]
mov rbx, rbp
mov qword [rsp + 0x58], rbx
cmp qword [rax + 0x10], rbx
jle 0x140006af8
nop
nop
mov rcx, qword [r15 + 0x78]
test rbx, rbx
js 0x140005e7e
mov rax, qword [rcx + 0x10]
cmp rbx, rax
jge 0x140005e7e
test rbx, rbx
js 0x140006abc
cmp rbx, rax
jge 0x140006abc
mov rax, qword [rcx + 8]
mov r14, qword [rax + rbx*8]
jmp 0x140005e81
mov r14, rbp
mov r12d, ebp
xor edi, edi
mov rsi, rdi
nop
nop
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x140005ea3
mov rcx, qword [rcx + 0x10]
jmp 0x140005ea6
mov rcx, rdi
movsxd rax, ebp
cmp rax, rcx
jge 0x140005fb0
test r12d, r12d
jne 0x140005fb0
call fcn.1400a0754
test rax, rax
je 0x140005ed3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x140005ed6
mov rax, rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2b3d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, word [r15 + 0x28]
cmp ebp, edx
je 0x140005fa4
mov rax, qword [r15 + 8]
mov rax, qword [rax + 0x68]
test rax, rax
je 0x140005f24
test rsi, rsi
js 0x140006ac2
cmp rsi, qword [rax + 0x10]
jge 0x140006ac2
mov rax, qword [rax + 8]
mov rcx, qword [rax + rsi*8]
xor edx, edx
jmp 0x140005f29
xor edx, edx
mov rcx, rdx
bt word [rcx + 0x24], 0xb
jb 0x140005fa2
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x140005f9b
mov r12d, edx
mov rdi, rdx
mov rax, qword [rbx + 0x10]
test rax, rax
jle 0x140005f9e
nop
nop
test r12d, r12d
jne 0x140005f9e
test rdi, rdi
js 0x140005f72
cmp rdi, rax
jge 0x140005f72
test rdi, rdi
js 0x140006ac8
mov rax, qword [rbx + 8]
mov rcx, qword [rax + rdi*8]
jmp 0x140005f75
mov rcx, rdx
mov rdx, r14
call fcn.1400cdd20
test eax, eax
mov eax, 1
cmove r12d, eax
add rdi, rax
mov rax, qword [rbx + 0x10]
cmp rdi, rax
mov edx, 0
jl 0x140005f50
jmp 0x140005f9e
mov r12d, edx
xor edi, edi
jmp 0x140005fa4
xor edi, edi
add ebp, 1
add rsi, 1
jmp 0x140005e90
xor ebp, ebp
mov esi, ebp
mov rbx, rbp
test r12d, r12d
jne 0x140006a91
mov rdx, qword [r15 + 8]
mov rcx, qword [rdx + 0x70]
test rcx, rcx
je 0x140005fd3
mov rcx, qword [rcx + 0x10]
jmp 0x140005fd6
mov rcx, rbp
movsxd rax, esi
cmp rax, rcx
jge 0x1400060b0
mov rax, qword [rdx + 0x70]
test rax, rax
je 0x140006008
test rbx, rbx
js 0x140006ace
cmp rbx, qword [rax + 0x10]
jge 0x140006ace
mov rax, qword [rax + 8]
mov rcx, qword [rax + rbx*8]
jmp 0x14000600b
mov rcx, rbp
test rcx, rcx
je 0x14000609b
test byte [rcx + 0x28], 0x20
je 0x14000609b
mov rdi, qword [rcx + 0x80]
test r14, r14
je 0x140006098
test rdi, rdi
je 0x140006098
nop
mov rdx, r14
mov rcx, rdi
call fcn.1400cdd20
mov r12d, ebp
test eax, eax
sete r12b
mov ecx, 0x7fffffff
mov rax, rdi
mov edx, ebp
nop
cmp word [rax], dx
je 0x140006061
add rax, 2
sub rcx, 1
jne 0x140006050
jmp 0x140006066
test rcx, rcx
jne 0x140006070
mov edx, 0x80070057
mov rax, rbp
jmp 0x140006078
mov eax, 0x7fffffff
sub rax, rcx
test edx, edx
jns 0x140006085
mov rax, rbp
test edx, edx
cmovs rax, rbp
cdqe
lea rdi, [rdi + rax*2 + 2]
test r12d, r12d
jne 0x14000609b
cmp word [rdi], bp
jne 0x140006030
jmp 0x14000609b
mov r12d, ebp
add esi, 1
add rbx, 1
test r12d, r12d
je 0x140005fc0
jmp 0x140006a91
test r12d, r12d
jne 0x140006a91
mov edi, ebp
lea rdx, [rsp + 0x100]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140006a91
mov r12d, 1
nop
test byte [rsp + 0x100], 0x10
cmove edi, r12d
lea rdx, [rsp + 0x100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140006105
test edi, edi
je 0x1400060e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x140006a91
mov qword [rsp + 0x20], r14
lea r9, str.lpszPath_s
lea r8, str.IsColorProfileExt
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140081070
mov edi, ebp
mov qword [rsp + 0x40], 0x104
lea rax, [rsp + 0x350]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1400cddd0
test eax, eax
jne 0x1400061e6
lea rdx, str..icm
lea rcx, [rsp + 0x350]
call fcn.1400cdd20
test eax, eax
je 0x1400061a3
lea rdx, str..icc
lea rcx, [rsp + 0x350]
call fcn.1400cdd20
test eax, eax
jne 0x1400061e6
mov r9d, 0x104
mov r8, r14
lea rdx, [rsp + 0x560]
mov rcx, qword [r15 + 0x10]
call fcn.140013370
test eax, eax
je 0x1400061e6
mov rax, qword [r15 + 8]
mov rdx, qword [rax + 0x130]
cmp dword [rdx - 0x10], edi
cmove rdx, rbp
lea rcx, [rsp + 0x560]
call fcn.1400cdd20
test eax, eax
sete dil
mov dword [rsp + 0x20], edi
lea r9, [0x1400fb428]
lea r8, str.IsColorProfileExt
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140081270
test edi, edi
je 0x14000685f
mov rax, qword [r15 + 8]
bt qword [rax], 0x1a
jae 0x140006a91
lea rcx, [rsp + 0x80]
call fcn.1400aa430
nop
lea rdx, method.CPtrArray.virtual_0
mov qword [rsp + 0x80], rdx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.140050220
test eax, eax
je 0x1400064d4
mov r12d, ebp
cmp qword [rsp + 0x90], r12
jle 0x1400064d4
nop
nop
call fcn.1400a0754
test rax, rax
je 0x140006298
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x14000629a
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2b3d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test rbp, rbp
js 0x1400062d5
cmp rbp, qword [rsp + 0x90]
jge 0x1400062d5
test rbp, rbp
js 0x140006ad4
mov rax, qword [rsp + 0x88]
mov rsi, qword [rax + rbp*8]
jmp 0x1400062d7
xor esi, esi
lea rcx, [rsp + 0xb0]
call fcn.1400aa430
nop
lea rax, method.CPtrArray.virtual_0
mov qword [rsp + 0xb0], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsp + 0xd8], rax
lea r8, [rsp + 0xb0]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140056b10
mov r13, qword [rsp + 0x68]
test eax, eax
je 0x140006422
xor eax, eax
mov ebx, eax
mov rdi, rax
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
jle 0x14000642c
test ebx, ebx
jne 0x14000639a
test rdi, rdi
js 0x140006368
cmp rdi, rcx
jge 0x140006368
test rdi, rdi
js 0x140006ada
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + rdi*8]
jmp 0x14000636b
mov rcx, rax
mov rdx, r14
call fcn.1400cdd20
test eax, eax
mov eax, 1
cmove ebx, eax
add rdi, rax
mov rcx, qword [rsp + 0xc0]
cmp rdi, rcx
mov eax, 0
jl 0x140006343
test ebx, ebx
je 0x14000642c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
lea r9, str.lpszQueName_s__lpszColorProfile_s
lea r8, str.DisassociateColorProfile
lea rdx, str.CPrinterFunc
mov rcx, r13
call fcn.140080c70
mov r8, rsi
mov rdx, r14
xor ecx, ecx
call sub.mscms.dll_DisassociateColorProfileFromDeviceW
mov dword [rsp + 0x20], eax
lea r9, [0x1400fb428]
lea r8, str.DisassociateColorProfile
lea rdx, str.CPrinterFunc
mov rcx, r13
call fcn.140080e70
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
lea r9, [0x1400fb4e0]
lea r8, str.Uninstall
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140080a70
mov rcx, qword [rsp + 0xc0]
xor eax, eax
jmp 0x14000642c
mov rcx, qword [rsp + 0xc0]
xor eax, eax
lea rdx, method.CPtrArray.virtual_0
mov qword [rsp + 0xb0], rdx
test rcx, rcx
jle 0x14000649a
mov rdi, rax
test rdi, rdi
js 0x140006ae0
cmp rdi, rcx
jge 0x140006ae0
mov rax, qword [rsp + 0xb8]
mov r8, qword [rax + rdi*8]
test r8, r8
je 0x14000647e
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0xc0]
add rdi, 1
cmp rdi, rcx
jl 0x140006443
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400aa464
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
lea rcx, [rsp + 0xb0]
call fcn.1400aa450
add r12d, 1
add rbp, 1
movsxd rax, r12d
cmp rax, qword [rsp + 0x90]
jl 0x140006280
mov r13, qword [rsp + 0x70]
mov qword [rsp + 0x20], r14
lea r9, str.lpszColorProfile_s
lea r8, str.UninstallColorProfileEx
lea rdx, str.CPrinterFunc
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.140080c70
mov ebx, 1
mov r8d, ebx
mov rdx, r14
xor ecx, ecx
call sub.mscms.dll_UninstallColorProfileW
mov edi, eax
test eax, eax
jne 0x14000662c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140006631
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test bl, al
je 0x140006541
and eax, 0xfffffffe
mov edx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r12d, r12d
mov edi, r12d
nop
nop
nop
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, ebx
mov edx, 0x10000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rbx, 0xffffffffffffffff
jne 0x1400065ea
cmp eax, 5
jne 0x1400065a3
lea ecx, [rax + 0x5f]
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 0xa
lea ebx, [rsi - 4]
jl 0x140006550
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
lea r9, [0x1400fc430]
lea r8, str.FileRemoveEx
lea rdx, str.CCmnFunc
mov rcx, qword [r13 + 8]
call fcn.140080a70
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, 0x80000000
test eax, eax
mov eax, 1
cmove ecx, eax
jmp 0x14000661d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
lea r9, [0x1400fc3e0]
lea r8, str.FileRemoveEx
lea rdx, str.CCmnFunc
mov rcx, qword [r13 + 8]
call fcn.140081070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, r12d
mov edi, r12d
cmp ecx, 0x80000000
setne dil
jmp 0x140006634
xor r12d, r12d
jmp 0x140006634
xor r12d, r12d
mov dword [rsp + 0x20], edi
lea r9, [0x1400fb428]
lea r8, str.UninstallColorProfileEx
lea rdx, str.CPrinterFunc
mov rcx, rbp
call fcn.140080e70
test edi, edi
je 0x1400067c2
mov rbx, qword [r15 + 8]
cmp qword [rbx + 0x60], 0
jne 0x1400066ac
mov ecx, 0x30
call fcn.140091360
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400066a5
mov rcx, rax
call fcn.1400aa430
nop
lea rax, method.CPtrArray.virtual_0
mov qword [rdi], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rdi + 0x28], rax
jmp 0x1400066a8
mov rdi, r12
mov qword [rbx + 0x60], rdi
mov rsi, qword [rbx + 0x60]
test r14, r14
je 0x14000679f
mov ebx, r12d
mov rdi, r12
mov rax, qword [rsi + 0x10]
test rax, rax
jle 0x14000671f
test ebx, ebx
jne 0x14000679f
test rdi, rdi
js 0x1400066f6
cmp rdi, rax
jge 0x1400066f6
test rdi, rdi
js 0x140006ae6
cmp rdi, rax
jge 0x140006ae6
mov rax, qword [rsi + 8]
mov rcx, qword [rax + rdi*8]
jmp 0x1400066f9
mov rcx, r12
mov rdx, r14
call fcn.1400cdd20
test eax, eax
mov eax, 1
cmove ebx, eax
add rdi, rax
mov rax, qword [rsi + 0x10]
cmp rdi, rax
jl 0x1400066c8
test ebx, ebx
jne 0x14000679f
mov ecx, 0x3fffffff
mov rax, r14
cmp word [rax], 0
je 0x140006739
add rax, 2
sub rcx, 1
jne 0x140006727
jmp 0x14000679f
test rcx, rcx
je 0x14000679f
mov eax, 0x3fffffff
sub rax, rcx
lea rdi, [rax + rax + 2]
test rdi, rdi
jle 0x14000679f
mov r8, rdi
mov edx, 8
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000679f
mov r9, rdi
mov r8, r14
mov rdx, rdi
mov rcx, rax
call fcn.1400cd500
test eax, eax
jne 0x140006790
mov r8, rbx
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400aa678
jmp 0x14000679f
mov r8, rbx
xor edx, edx
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x20], r14
lea r9, [0x1400fb518]
lea r8, str.Uninstall
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140080a70
nop
lea rax, method.CPtrArray.virtual_0
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
jle 0x14000683c
xor ebp, ebp
mov rdi, rbp
test rdi, rdi
js 0x140006aec
cmp rdi, rcx
jge 0x140006aec
mov rax, qword [rsp + 0x88]
mov r8, qword [rax + rdi*8]
test r8, r8
je 0x14000681e
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x90]
add rdi, 1
cmp rdi, rcx
jl 0x1400067e3
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.1400aa464
jmp 0x14000683e
xor ebp, ebp
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
lea rcx, [rsp + 0x80]
call fcn.1400aa450
jmp 0x140006a91
mov rbp, qword [r15 + 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test r12b, al
je 0x14000687f
and eax, 0xfffffffe
mov edx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r12d, r12d
mov edi, r12d
nop
nop
nop
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x10000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rbx, 0xffffffffffffffff
jne 0x140006921
cmp eax, 5
jne 0x1400068e1
lea ecx, [rax + 0x5f]
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 0xa
jl 0x140006890
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
lea r9, [0x1400fc430]
lea r8, str.FileRemoveEx
lea rdx, str.CCmnFunc
mov rcx, qword [rbp + 8]
call fcn.140080a70
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140006a8b
jmp 0x140006951
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
lea r9, [0x1400fc3e0]
lea r8, str.FileRemoveEx
lea rdx, str.CCmnFunc
mov rcx, qword [rbp + 8]
call fcn.140081070
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [r15 + 8]
cmp qword [rbx + 0x60], r12
jne 0x14000699f
mov ecx, 0x30
call fcn.140091360
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140006998
mov rcx, rax
call fcn.1400aa430
nop
lea rax, method.CPtrArray.virtual_0
mov qword [rdi], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rdi + 0x28], rax
jmp 0x14000699b
mov rdi, r12
mov qword [rbx + 0x60], rdi
mov rsi, qword [rbx + 0x60]
test r14, r14
je 0x140006a8f
xor ebp, ebp
mov ebx, ebp
mov rdi, rbp
mov rax, qword [rsi + 0x10]
test rax, rax
jle 0x140006a0a
lea r12d, [rbp + 1]
test ebx, ebx
jne 0x140006a91
test rdi, rdi
js 0x1400069e5
cmp rdi, rax
jge 0x1400069e5
test rdi, rdi
js 0x140006af2
mov rax, qword [rsi + 8]
mov rcx, qword [rax + rdi*8]
jmp 0x1400069e8
mov rcx, rbp
mov rdx, r14
call fcn.1400cdd20
test eax, eax
cmove ebx, r12d
add rdi, r12
mov rax, qword [rsi + 0x10]
cmp rdi, rax
jl 0x1400069c0
test ebx, ebx
jne 0x140006a91
mov ecx, 0x3fffffff
mov rax, r14
cmp word [rax], bp
je 0x140006a23
add rax, 2
sub rcx, 1
jne 0x140006a12
jmp 0x140006a91
test rcx, rcx
je 0x140006a91
mov eax, 0x3fffffff
sub rax, rcx
lea rdi, [rax + rax + 2]
test rdi, rdi
jle 0x140006a91
mov r8, rdi
mov edx, 8
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140006a91
mov r9, rdi
mov r8, r14
mov rdx, rdi
mov rcx, rax
call fcn.1400cd500
test eax, eax
jne 0x140006a7a
mov r8, rbx
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400aa678
jmp 0x140006a91
mov r8, rbx
xor edx, edx
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140006a91
xor ebp, ebp
jmp 0x140006a91
xor ebp, ebp
mov esi, dword [rsp + 0x50]
add esi, 1
mov dword [rsp + 0x50], esi
mov rbx, qword [rsp + 0x58]
add rbx, 1
mov qword [rsp + 0x58], rbx
mov rcx, qword [r15 + 0x78]
movsxd rax, esi
cmp rax, qword [rcx + 0x10]
jge 0x140006af8
jmp 0x140005e50
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a0610
nop
call fcn.1400a0610
nop
call fcn.1400a0610
nop
call fcn.1400a0610
nop
call fcn.1400a0610
nop
call fcn.1400a0610
nop
call fcn.1400a0610
int3
mov rcx, r15
call fcn.14000a260
call fcn.1400a0754
test rax, rax
je 0x140006b18
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x140006b1b
mov rax, rbp
xor r9d, r9d
mov edx, 0x2b10
mov r8d, 0x263
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400a0754
test rax, rax
je 0x140006b4e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
mov rcx, rax
jmp 0x140006b51
mov rcx, rbp
movzx r8d, byte [r15 + 0x28]
shl r8d, 0x10
or r8d, 0xf
mov edx, 0x2b12
mov r9d, 0x50001
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400a02a0
mov rcx, qword [rax + 8]
mov qword [rsp + 0xe0], rcx
mov rax, qword [rcx + 0x140]
mov qword [rsp + 0xe8], rax
mov rax, qword [rcx + 0x148]
mov qword [rsp + 0xf0], rax
mov rcx, qword [r15 + 8]
mov eax, dword [rcx]
bt rax, 8
jae 0x140006bc7
mov rax, qword [rcx + 0x140]
lea rdx, str.EPSON
cmp dword [rax - 0x10], 0
cmovne rdx, rax
jmp 0x140006bce
lea rdx, str.EPSON
mov r8, qword [r15 + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.140065780
mov rcx, r15
call fcn.140009910
mov rcx, r15
call fcn.140009f70
mov rdx, qword [r15 + 8]
mov r8, qword [rdx + 0x158]
cmp dword [r8 - 0x10], 0
cmove r8, rbp
mov rdx, qword [r15 + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1400659c0
or word [r15 + 0x24], 0x800
call fcn.1400a0754
test rax, rax
je 0x140006c36
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
mov rcx, rax
jmp 0x140006c39
mov rcx, rbp
movzx r8d, byte [r15 + 0x28]
shl r8d, 0x10
or r8d, 0xf
mov edx, 0x2b13
mov r9d, 0x3e8
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x20], ebp
lea r9, [0x1400fb428]
lea r8, str.Uninstall
lea rdx, [0x1400fb2f8]
mov rcx, qword [r15]
call fcn.140080e70
xor eax, eax
mov rcx, qword [rsp + 0x770]
xor rcx, rsp
call fcn.1400cd6e0
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret