Function at 0x14008c290
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x420
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r12, rcx
lea rax, [0x1402a3750]
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.1401469f8
test eax, eax
je 0x14008c2f1
mov ecx, eax
call fcn.140146b60
nop
mov rdi, qword [0x1402a34b8]
add rdi, 0x70
cmp qword [rdi + 0x18], 8
jb 0x14008c306
mov rdi, qword [rdi]
cmp word [rdi], 0
je 0x14008cedc
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14008cedc
mov rax, qword [0x1402a34b8]
movzx esi, byte [rax + 0x90]
movzx r14d, byte [rax + 0x91]
xor r13d, r13d
mov dword [rsp + 0x34], r13d
mov rax, qword [r12 + 0x890]
mov qword [rbp - 0x70], rax
lea r15, [r12 + 0x750]
mov qword [r12 + 0x890], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x935
mov rcx, r15
call fcn.14000f5d0
mov qword [rbp - 0x80], rax
mov rax, qword [r12 + 0x790]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
lea rbx, [r12 + 0xc08]
mov qword [rbp - 0x68], rbx
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14004e830
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
test rcx, 0xffffffffffffffe0
jne 0x14008c3db
lea r8, [0x1401d3670]
xor edx, edx
mov rcx, rbx
call fcn.1400569f0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14004e830
jmp 0x14008c5bb
lea rax, [rbp - 0x28]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14005ba20
nop
mov rcx, rax
call fcn.140028a90
test al, al
je 0x14008c5bb
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], r13
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r13
mov word [rbp + 0xd0], r13w
mov r8d, 3
lea rdx, [0x1401d3670]
lea rcx, [rbp + 0xd0]
call fcn.140006f10
nop
mov rbx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rbx, r8
jne 0x14008c4ca
mov rax, r8
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x14008c4ca
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
sar rbx, 5
movabs r9, 0x7ffffffffffffff
mov rax, r9
sub rax, rbx
cmp rax, 1
jae 0x14008c493
lea rcx, str.vector_T__too_long
call fcn.140145858
int3
lea rdx, [rbx + 1]
sub r8, rcx
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, r13
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140006120
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14008c563
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x14008c4eb
mov rax, qword [rbx]
jmp 0x14008c4ee
mov rax, rbx
mov word [rax], r13w
cmp qword [rbp + 0xe8], 8
jae 0x14008c51d
mov r8, qword [rbp + 0xe0]
add r8, 1
je 0x14008c52e
add r8, r8
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.140187210
jmp 0x14008c52e
mov rax, qword [rbp + 0xd0]
mov qword [rbx], rax
mov qword [rbp + 0xd0], r13
mov rax, qword [rbp + 0xe0]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbx + 0x18], rax
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r13
mov word [rbp + 0xd0], r13w
mov rbx, qword [rsp + 0x40]
add rbx, 0x20
mov qword [rsp + 0x40], rbx
lea rdx, [rbx - 0x20]
mov r8, rbx
mov rcx, qword [rsp + 0x38]
call fcn.140072200
nop
mov r8, qword [rbp + 0xe8]
cmp r8, 8
jb 0x14008c5a1
inc r8
mov rdx, qword [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.140007680
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r13
mov word [rbp + 0xd0], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x28], r14b
mov byte [rsp + 0x20], sil
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, r12
call fcn.140083890
mov rax, qword [r12]
mov rdx, qword [rax + 8]
lea rcx, [rbp + 0x1d0]
call fcn.140046280
nop
mov r14, qword [rsp + 0x58]
sub r14, qword [rsp + 0x50]
sar r14, 5
mov qword [rsp + 0x70], r14
mov r13d, 1
cmp r14, r13
jbe 0x14008c65c
cmp r14, 0xc8
jb 0x14008c641
mov r13, r14
movabs rax, 0x47ae147ae147ae15
mul r14
sub r13, rdx
shr r13, 1
add r13, rdx
shr r13, 6
lea r8, str.Replace_In_Files_progress...
mov rdx, qword [r12 + 0xc20]
lea rcx, [rbp + 0x1d0]
call fcn.14004f990
xor edi, edi
mov esi, edi
mov qword [rsp + 0x78], r13
test r14, r14
je 0x14008c9f7
mov r14d, edi
mov qword [rsp + 0x68], rdi
nop word [rax + rax]
mov rax, qword [rbp + 0x1d8]
test rax, rax
je 0x14008c6a8
xor edx, edx
mov rcx, qword [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
setne al
test al, al
jne 0x14008c9ed
xor r15b, r15b
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
sar rax, 5
cmp rax, rsi
jbe 0x14008c9e0
lea rbx, [rcx + r14]
cmp qword [rbx + 0x18], 8
jb 0x14008c6d3
mov rbx, qword [rbx]
call fcn.1400417e0
mov rcx, rax
mov rdx, rbx
call fcn.14001f040
mov rbx, rax
test rax, rax
jne 0x14008c73c
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
sar rax, 5
cmp rax, rsi
jbe 0x14008c9ac
lea rdi, [rcx + r14]
cmp qword [rdi + 0x18], 8
jb 0x14008c713
mov rdi, qword [rdi]
call fcn.1400417e0
mov rcx, rax
mov qword [rsp + 0x28], rbx
xor eax, eax
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.14001f740
mov rbx, rax
mov r15b, 1
test rbx, rbx
je 0x14008c909
call fcn.1400417e0
mov r9, qword [rbx + 0x18]
xor r8d, r8d
mov edx, 0x936
lea rcx, [r12 + 0x750]
call fcn.14000f5d0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x859
lea rcx, [r12 + 0x750]
call fcn.14000f5d0
mov ecx, 0xfde9
cmp dword [rbx + 0x4c], 0
jne 0x14008c795
mov ecx, eax
cmp eax, 0xfde9
mov eax, 0
cmove ecx, eax
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x7f5
lea rcx, [r12 + 0x750]
call fcn.14000f5d0
mov qword [r12 + 0x790], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
xor ecx, ecx
mov qword [rbp], rcx
lea rax, [rbp + 8]
mov qword [rbp - 0x60], rax
mov dword [rbp + 8], 0x1010101
mov qword [rbp + 0xc], rcx
mov word [rbp + 0x14], cx
mov byte [rbp + 0x16], cl
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x18], cx
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], rcx
mov word [rbp + 0x38], cx
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], rcx
mov word [rbp + 0x58], cx
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x90], 7
mov qword [rbp + 0x88], rcx
mov word [rbp + 0x78], cx
mov dword [rbp + 0x98], 0x1000001
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
sar rax, 5
cmp rax, rsi
jbe 0x14008c9b9
lea rax, [rcx + r14]
cmp qword [rax + 0x18], 8
jb 0x14008c87b
mov rax, qword [rax]
mov qword [rbp], rax
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8, qword [0x1402a34b8]
mov edx, 1
lea rcx, [r12 + 0xc08]
call fcn.14004fed0
add dword [rsp + 0x34], eax
test eax, eax
je 0x14008c8e2
lea rdi, [rbx + 0xb0]
cmp qword [rdi + 0x18], 8
jb 0x14008c8c5
mov rdi, qword [rdi]
call fcn.1400417e0
mov rcx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
call fcn.140020a10
test r15b, r15b
je 0x14008c900
call fcn.1400417e0
mov rcx, rax
mov r8, qword [r12 + 0x890]
mov rdx, rbx
call fcn.14001e1e0
nop
lea rcx, [rbp + 8]
call fcn.140046a30
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
sar rax, 5
cmp rsi, rdx
jne 0x14008c960
add rdx, r13
mov qword [rsp + 0x78], rdx
cmp rax, rsi
jbe 0x14008c9c6
lea r8, [rcx + r14]
cmp qword [r8 + 0x18], 8
jb 0x14008c943
mov r8, qword [r8]
xor edx, edx
mov rax, qword [rsp + 0x68]
div qword [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.140056f10
jmp 0x14008c993
cmp rax, rsi
jbe 0x14008c9d3
lea r9, [rcx + r14]
cmp qword [r9 + 0x18], 8
jb 0x14008c973
mov r9, qword [r9]
mov rax, qword [rbp + 0x1d8]
test rax, rax
je 0x14008c993
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, qword [rbp + 0x2f8]
call qword [sym.imp.USER32.dll_SendMessageW]
inc rsi
add qword [rsp + 0x68], 0x64
add r14, 0x20
cmp rsi, qword [rsp + 0x70]
jae 0x14008c9ed
jmp 0x14008c680
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
nop
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
nop
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
int3
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
int3
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
int3
xor edi, edi
lea r15, [r12 + 0x750]
lea rcx, [rbp + 0x1d0]
call fcn.140049a00
mov r9, qword [rbp - 0x80]
xor r8d, r8d
mov edx, 0x936
mov rcx, r15
call fcn.14000f5d0
mov rax, qword [rbp - 0x78]
mov qword [r12 + 0x790], rax
mov rax, qword [rbp - 0x70]
mov qword [r12 + 0x890], rax
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], rdi
mov word [rbp + 0xb0], di
mov ebx, dword [rsp + 0x34]
cmp ebx, 1
jne 0x14008cb9c
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], rdi
mov word [rbp + 0xf0], di
lea r8d, [rbx + 0x2b]
lea rdx, str.Replace_in_Files:_1_occurrence_was_replaced.
lea rcx, [rbp + 0xf0]
call fcn.140006f10
nop
lea rcx, [r12 + 0x478]
lea r9, [rbp + 0xf0]
lea r8, str.find_status_replaceinfiles_1_replaced
lea rdx, [rbp + 0x150]
call fcn.140070300
mov rbx, rax
lea rax, [rbp + 0xb0]
cmp rax, rbx
je 0x14008cb1f
mov r8, qword [rbp + 0xc8]
cmp r8, 8
jb 0x14008caf6
inc r8
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0xb0]
call fcn.140007680
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], rdi
mov word [rbp + 0xb0], di
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.140004900
nop
mov r8, qword [rbp + 0x168]
cmp r8, 8
jb 0x14008cb42
inc r8
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x150]
call fcn.140007680
mov qword [rbp + 0x168], 7
mov qword [rbp + 0x160], rdi
mov word [rbp + 0x150], di
mov r8, qword [rbp + 0x108]
cmp r8, 8
jb 0x14008cb7e
inc r8
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.140007680
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], rdi
mov word [rbp + 0xf0], di
jmp 0x14008cde9
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], rdi
mov qword [rbp + 0x128], 7
mov qword [rbp + 0x120], rdi
mov word [rbp + 0x110], di
mov r8d, 0x3a
lea rdx, str.Replace_in_Files:__INT_REPLACE__occurrences_were_replaced.
lea rcx, [rbp + 0x110]
call fcn.140006f10
nop
lea rcx, [r12 + 0x478]
lea r9, [rbp + 0x110]
lea r8, str.find_status_replaceinfiles_nb_replaced
lea rdx, [rbp + 0x170]
call fcn.140070300
nop
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.140003d30
nop
mov r8, qword [rbp + 0x188]
cmp r8, 8
jb 0x14008cc33
inc r8
mov rdx, qword [rbp + 0x170]
lea rcx, [rbp + 0x170]
call fcn.140007680
mov qword [rbp + 0x188], 7
mov qword [rbp + 0x180], rdi
mov word [rbp + 0x170], di
mov r8, qword [rbp + 0x128]
cmp r8, 8
jb 0x14008cc6f
inc r8
mov rdx, qword [rbp + 0x110]
lea rcx, [rbp + 0x110]
call fcn.140007680
mov qword [rbp + 0x128], 7
mov qword [rbp + 0x120], rdi
mov word [rbp + 0x110], di
mov qword [rbp + 0x140], rdi
mov qword [rbp + 0x148], rdi
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], rdi
mov word [rbp + 0x130], di
mov r8d, InitCommonControls
lea rdx, str._INT_REPLACE_
lea rcx, [rbp + 0x130]
call fcn.140006f10
nop
lea rax, [rbp - 0x58]
mov qword [rbp - 0x60], rax
mov edx, ebx
lea rcx, [rbp + 0x1b0]
call fcn.140057190
mov rbx, rax
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rdi
mov word [rbp - 0x58], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x58]
call fcn.140006dd0
nop
mov r9, rbx
lea r8, [rbp + 0x130]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x190]
call fcn.14002c760
nop
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.140003d30
nop
mov r8, qword [rbp + 0x1a8]
cmp r8, 8
jb 0x14008cd58
inc r8
mov rdx, qword [rbp + 0x190]
lea rcx, [rbp + 0x190]
call fcn.140007680
mov qword [rbp + 0x1a8], 7
mov qword [rbp + 0x1a0], rdi
mov word [rbp + 0x190], di
mov r8, qword [rbp + 0x1c8]
cmp r8, 8
jb 0x14008cd94
inc r8
mov rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x1b0]
call fcn.140007680
mov qword [rbp + 0x1c8], 7
mov qword [rbp + 0x1c0], rdi
mov word [rbp + 0x1b0], di
mov r8, qword [rbp + 0x148]
cmp r8, 8
jb 0x14008cdd0
inc r8
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.140007680
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], rdi
mov word [rbp + 0x130], di
mov r8d, 4
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x68]
call fcn.140056ff0
mov bl, 1
mov r8, qword [rbp + 0xc8]
cmp r8, 8
jb 0x14008ce24
inc r8
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0xb0]
call fcn.140007680
mov qword [rbp + 0xc8], 7
mov qword [rbp + 0xc0], rdi
mov word [rbp + 0xb0], di
lea rcx, [rbp + 0x1d0]
call fcn.140046fd0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14008ce92
movzx r9d, byte [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
call fcn.140001dc0
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x50]
call fcn.140007610
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14008cede
movzx r9d, byte [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.140001dc0
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x38]
call fcn.140007610
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
jmp 0x14008cede
xor bl, bl
lea rcx, [0x1402a3750]
call fcn.140146a58
test eax, eax
je 0x14008cef5
mov ecx, eax
call fcn.140146b60
movzx eax, bl
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140168660
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret