Function at 0x1400ec128
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov qword [rsp + 0x28], rcx
call fcn.14008a538
mov rsi, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.1400f0254
mov r13, rax
mov rcx, qword [rax + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r15d, r15d
test eax, eax
je 0x1400ec56e
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x20]
mov rcx, qword [r13 + 0x20]
call fcn.1401645b0
test eax, eax
je 0x1400ec56e
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x58], rdi
lea rdx, str.extensions
mov rcx, rdi
call fcn.1400c4d80
mov rcx, rax
lea rdx, str.settings
call fcn.1400c4d80
mov r12, rax
mov rcx, rax
call fcn.1400c63c0
test al, al
jne 0x1400ec1f4
mov r14b, r15b
jmp 0x1400ec552
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400c5f90
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x1400ec544
mov r14d, 1
mov rdx, rbx
mov rcx, r12
call fcn.1400c4d90
mov r15, rax
mov rcx, rax
call fcn.1400c63c0
test al, al
je 0x1400ec3ed
lea rdx, str.manifest
mov rcx, r15
call fcn.1400c63a0
test al, al
je 0x1400ec3ed
lea rdx, str.manifest
mov rcx, r15
call fcn.1400c4e60
mov rcx, rax
call fcn.1400c63c0
test al, al
je 0x1400ec3ed
lea rdx, str.manifest
mov rcx, r15
call fcn.1400c4e60
mov rcx, rax
lea rdx, str.name
call fcn.1400c63a0
xor ecx, ecx
test al, al
je 0x1400ec3ed
mov rdx, qword [str.Search_Module_New_Tab]
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], rcx
mov word [rbp + 0x90], cx
cmp word [rdx], cx
jne 0x1400ec2be
mov r8d, ecx
jmp 0x1400ec2cc
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], cx
jne 0x1400ec2c2
lea rcx, [rbp + 0x90]
call fcn.140007090
nop
lea rdx, str.manifest
mov rcx, r15
call fcn.1400c4e60
mov rcx, rax
lea rdx, str.name
call fcn.1400c4e60
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.1400c54d0
nop
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae r8, qword [rbp + 0x50]
add r8, qword [rbp + 0x60]
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov qword [rbp + 0x88], 7
xor eax, eax
mov qword [rbp + 0x80], rax
mov word [rbp + 0x70], ax
mov r9b, al
lea rcx, [rbp + 0x70]
call fcn.140013450
nop
mov r8, qword [rbp + 0x80]
cmp r8, qword [rbp + 0xa0]
jne 0x1400ec39d
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rdx, qword [rbp + 0x90]
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rcx, qword [rbp + 0x70]
call fcn.14013eea4
test eax, eax
jne 0x1400ec39d
lea rdx, str.path
mov rcx, r15
call fcn.1400c63a0
test al, al
jne 0x1400ec404
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x70]
call fcn.140006e40
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400ec3c6
inc rdx
mov r8, r14
mov rcx, qword [rbp + 0x50]
call fcn.140002a70
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov byte [rbp + 0x50], r15b
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x90]
call fcn.140006e40
jmp 0x1400ec3f0
xor r15d, r15d
add rbx, 0x20
cmp rbx, qword [rsp + 0x38]
je 0x1400ec544
jmp 0x1400ec218
mov r8d, r14d
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140040070
nop
lea rdx, str.path
mov rcx, r15
call fcn.1400c4e60
mov rcx, rax
lea rdx, [rbp + 0xb0]
call fcn.1400c54d0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400ec442
mov rbx, qword [rax]
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140043d80
mov rcx, rax
lea rdx, [0x140237738]
call fcn.140043a10
mov rcx, rax
mov rdx, rbx
call fcn.140043a10
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400ec48a
inc rdx
mov r8, r14
mov rcx, qword [rbp + 0xb0]
call fcn.140002a70
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.14003ffc0
mov rbx, rax
mov r15, qword [rsp + 0x28]
cmp r15, rax
je 0x1400ec4c2
xor r8d, r8d
mov dl, r14b
mov rcx, r15
call fcn.140006e40
mov rdx, rbx
mov rcx, r15
call fcn.140008160
nop
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0xb0]
call fcn.140006e40
nop
lea rcx, [rbp - 0x18]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14010acb0
nop
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x70]
call fcn.140006e40
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400ec51d
inc rdx
mov r8, r14
mov rcx, qword [rbp + 0x50]
call fcn.140002a70
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov byte [rbp + 0x50], r15b
xor r8d, r8d
mov dl, r14b
lea rcx, [rbp + 0x90]
call fcn.140006e40
jmp 0x1400ec547
mov r14b, r15b
lea rcx, [rsp + 0x30]
call fcn.1400782dc
nop
test rdi, rdi
je 0x1400ec571
mov rcx, rdi
call fcn.1400c4920
mov edx, 0x18
mov rcx, rdi
call fcn.14012a238
jmp 0x1400ec571
mov r14b, r15b
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400ec584
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, r14b
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x1e0]
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