Function at 0x14001a470
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r15, rdx
mov rsi, rcx
call fcn.1400280cc
mov rcx, rax
xor ebp, ebp
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x14001a4c2
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.1400280cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14001a4f0
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, str._ProgramFiles_x86__Epson_SoftwareDownload_Navigator
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str._ProgramFiles_x86__Epson_SoftwareDownload_Navigator
lea rcx, [rsp + 0x48]
call fcn.1400036f0
mov r13, qword [rsp + 0x48]
mov rcx, qword [r13 - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [r13 - 8], 0
jl 0x14001a55d
cmp rax, qword [r13 - 0x18]
jne 0x14001a55d
lea rdi, [r13 - 0x18]
lock add dword [r13 - 8], 1
mov rbx, qword [rsp + 0x30]
jmp 0x14001a59e
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r13 - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x14001a57a
call fcn.140003050
int3
mov eax, dword [r13 - 0x10]
mov dword [rdi + 8], eax
mov eax, dword [r13 - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, r13
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.1400525a0
lea rax, [rdi + 0x18]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140007c60
nop
mov rdx, qword [rax]
lea rdi, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rdi, rbx
je 0x14001a67b
cmp dword [rbx + 0x10], 0
jl 0x14001a66c
mov rcx, qword [rdi]
cmp rcx, qword [rbx]
jne 0x14001a66c
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x14001a5ff
cmp rax, qword [rdi]
jne 0x14001a5ff
mov rsi, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14001a63e
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x14001a61b
call fcn.140003050
int3
mov eax, dword [rdi + 8]
mov dword [rsi + 8], eax
mov eax, dword [rdi + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.1400525a0
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001a659
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0x110]
jmp 0x14001a67b
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400036f0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001a69c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], 0
je 0x14001ab58
mov dword [rsp + 0x120], ebp
lea rcx, [rsp + 0x60]
call fcn.1400292ac
nop
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400293c0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0xb0], rdx
call fcn.1400280cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14001a6f8
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.VERINFO.ESI
test rdx, 0xffffffffffff0000
jne 0x14001a73b
movzx edi, dx
mov ecx, edi
call fcn.1400280b8
test rax, rax
je 0x14001a758
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140003060
jmp 0x14001a758
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.1400036f0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001cad0
cmp qword [rsp + 0x70], 0
jle 0x14001ab4d
call fcn.1400280cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14001a7a7
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x128], rsi
lea rdx, [0x14007e0d8]
mov r14, rdx
shr r14, 0x10
jne 0x14001a7f8
movzx edi, dx
mov ecx, edi
call fcn.1400280b8
test rax, rax
je 0x14001a81f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.140003060
mov rsi, qword [rsp + 0x128]
jmp 0x14001a81f
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x128]
call fcn.1400036f0
mov rsi, qword [rsp + 0x128]
cmp qword [rsp + 0x70], 0
jg 0x14001a82d
call fcn.140027e38
int3
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
lea rdi, [rdx - 0x18]
lea rbx, [rsi - 0x18]
cmp rdi, rbx
je 0x14001a8fb
cmp dword [rbx + 0x10], 0
jl 0x14001a8e2
mov rcx, qword [rdi]
cmp rcx, qword [rbx]
jne 0x14001a8e2
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x14001a87a
cmp rax, qword [rdi]
jne 0x14001a87a
mov rsi, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14001a8b9
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x14001a896
call fcn.140003050
int3
mov eax, dword [rdi + 8]
mov dword [rsi + 8], eax
mov eax, dword [rdi + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.1400525a0
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001a8d4
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rsi, 0x18
mov qword [rsp + 0x128], rsi
jmp 0x14001a8fb
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x128]
call fcn.1400036f0
mov rsi, qword [rsp + 0x128]
cmp dword [rsi - 0x10], 0
je 0x14001ab30
mov r9, rsi
xor r8d, r8d
lea rdx, str.SoftwareUpdate
lea rcx, str.Version
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x14001ab30
call fcn.1400280cc
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14001a946
mov ecx, 0x80004005
call fcn.140003280
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
test r14, r14
jne 0x14001a98b
lea r14, [0x14007e0d8]
movzx edi, r14w
mov ecx, edi
call fcn.1400280b8
test rax, rax
je 0x14001a9b6
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140003060
mov rbx, qword [rsp + 0x38]
jmp 0x14001a9b6
xor eax, eax
mov rcx, r12
lea r14, [0x14007e0d8]
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.1400036f0
mov rbx, qword [rsp + 0x38]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or edx, eax
jge 0x14001a9de
mov edx, 0x104
lea rcx, [rsp + 0x38]
call fcn.140003380
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
mov r9, rbx
mov r8, r14
lea rdx, str.ExecuteName
lea rcx, str.Version
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test rbx, rbx
jne 0x14001aa0e
mov ecx, ebp
jmp 0x14001aa28
xor eax, eax
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x14001ab9b
cmp ecx, dword [rbx - 0xc]
jg 0x14001ab9b
mov dword [rbx - 0x10], ecx
movsxd rax, ecx
mov word [rbx + rax*2], 0
cmp dword [rbx - 0x10], 0
je 0x14001ab02
mov dword [rsp + 0x120], ebp
lea rcx, [rsp + 0x88]
call fcn.1400292ac
nop
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.1400293c0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xc0]
call fcn.1400034e0
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x110]
call fcn.14001cad0
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x14001aad6
test rdx, rdx
jg 0x14001aabf
call fcn.140027e38
int3
mov rdx, qword [rsp + 0x90]
mov rcx, r15
call fcn.140003600
mov ebp, 1
jmp 0x14001aaf4
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
mov rcx, r15
call fcn.1400036f0
nop
lea rcx, [rsp + 0x88]
call fcn.140029574
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001ab28
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x128]
jmp 0x14001ab30
mov rsi, qword [rsp + 0x128]
lea rdx, [rsi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001ab4d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x60]
call fcn.140029574
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001ab7a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r13 - 8], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14001ab97
mov rcx, qword [r13 - 0x18]
mov rax, qword [rcx]
lea rdx, [r13 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebp
jmp 0x14001aba6
mov ecx, 0x80070057
call fcn.140003280
nop
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret