Function at 0x1800298fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r12, r8
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea r13, [rcx + 0x38]
mov rdx, r13
mov rcx, r8
call fcn.18000525c
lea rcx, [r14 + 8]
lea rdx, [rbp + 0x70]
call fcn.18001d5cc
nop
mov rax, qword [rbp + 0x70]
or rdi, 0xffffffffffffffff
or ebx, 0xffffffff
cmp dword [rax - 0x10], r15d
je 0x180029975
cmp dword [r14 + 0x88], 0x40001
jne 0x180029afd
cmp dword [r14 + 0x58], r15d
je 0x1800299ac
cmp dword [r14 + 0x94], r15d
jne 0x180029afd
mov rcx, qword [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x180029afd
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x180029afd
cmp qword [r14 + 0x30], r15
je 0x180029afd
lea rax, vtable.IParser.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.18001cdb8
nop
lea rax, vtable.CPIDLParser.0
mov qword [rsp + 0x60], rax
lea rax, vtable.CPIDLParser.1.0
mov qword [rsp + 0x68], rax
call fcn.18000a7ac
mov rcx, rax
test rax, rax
je 0x180029fa5
mov rax, qword [rax]
call qword [rax + ILCombine]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov r8, qword [r13]
mov rdx, qword [r14 + 0x30]
lea rcx, [rsp + 0x68]
call fcn.18001cf2c
test eax, eax
je 0x180029ac0
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180028fe4
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18000525c
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029a63
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1800053f4
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029a98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, vtable.CPIDLParser.0
mov qword [rsp + 0x60], rax
lea rax, vtable.CPIDLParser.1.0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.18001ce7c
nop
jmp 0x180029f5e
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029adb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rax, vtable.CPIDLParser.0
mov qword [rsp + 0x60], rax
lea rax, vtable.CPIDLParser.1.0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.18001ce7c
mov rax, qword [rbp + 0x70]
cmp dword [rax - 0x10], r15d
je 0x180029f47
cmp dword [r14 + 0x88], 0x80001
jne 0x180029b31
lea rdx, [rbp + 0x70]
mov rcx, rsi
call fcn.1800053f4
mov dword [rsp + 0x20], 1
jmp 0x180029f5e
call fcn.18000a7ac
mov rcx, rax
test rax, rax
je 0x180029f9a
mov rax, qword [rax]
call qword [rax + ILCombine]
add rax, 0x18
mov qword [rbp + 0x88], rax
mov r8d, 7
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x70]
call fcn.180017698
nop
lea rdx, [0x18008d200]
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029b9c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x180029bb9
lea rdx, str.http
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r15w
jne 0x180029baa
jmp 0x180029c7d
mov r8d, 8
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.180017698
nop
lea rdx, str.https:__
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029c02
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x180029c1c
lea rdx, str.https
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r15w
jne 0x180029c10
jmp 0x180029c7d
mov r8d, 6
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x70]
call fcn.180017698
nop
lea rdx, str.ftp:__
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029c65
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x180029c8c
lea rdx, [0x18008dc70]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r15w
jne 0x180029c73
mov r8d, eax
lea rcx, [rbp + 0x88]
call fcn.180005498
mov rbx, qword [rbp + 0x88]
cmp dword [rbx - 0x10], r15d
je 0x180029d95
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.18002039c
nop
lea r15, vtable.CFileTypeParser.0
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x40], 2
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.180025d60
test eax, eax
je 0x180029d88
mov r8, r12
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1800253c4
nop
mov r8, qword [r14 + 0x20]
lea rdx, [0x18008d8dc]
mov rcx, r12
call fcn.180004d74
mov r8, qword [r13]
lea rdx, [0x18008dc78]
mov rcx, r12
call fcn.180004d74
mov r8, qword [r13]
lea rdx, [0x18008d8e4]
mov rcx, r12
call fcn.180004d74
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800053f4
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029d53
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rbp - 0x60], r15
lea rcx, [rbp - 0x60]
call fcn.180020588
nop
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029d83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x180029f5e
mov qword [rbp - 0x60], r15
lea rcx, [rbp - 0x60]
jmp 0x180029f11
mov r14, qword [rbp + 0x70]
mov r8d, 4
lea rdx, [0x180089d10]
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
je 0x180029dcd
mov r8d, 2
lea rdx, [0x180089d1c]
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
je 0x180029df1
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x180029f17
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180029f17
test al, 0x10
jne 0x180029f17
xor r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.18002039c
nop
lea r15, vtable.CFileTypeParser.0
mov qword [rbp - 0x20], r15
mov dword [rbp], 2
mov rdx, qword [rbp + 0x70]
xor r14d, r14d
test rdx, rdx
je 0x180029e2b
lea r8d, [r14 + 1]
lea rcx, [rbp - 0x20]
call fcn.180025d60
jmp 0x180029e2e
mov eax, r14d
test eax, eax
je 0x180029f09
mov r8, r12
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.1800253c4
nop
mov r8, qword [r13]
lea rdx, [0x18008dc78]
mov rcx, r12
call fcn.180004d74
test eax, eax
jne 0x180029ea2
mov rax, qword [r13]
cmp dword [rax - 0x10], r14d
je 0x180029ea2
mov rax, qword [r12]
cmp dword [rax - 0x10], r14d
je 0x180029e92
lea rdx, str.__
mov rax, rdi
inc rax
cmp word [rdx + rax*2], r14w
jne 0x180029e7d
mov r8d, eax
mov rcx, r12
call fcn.1800057ac
mov rdx, qword [r13]
mov r8d, dword [rdx - 0x10]
mov rcx, r12
call fcn.1800057ac
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1800053f4
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029ed7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rbp - 0x20], r15
lea rcx, [rbp - 0x20]
call fcn.180020588
nop
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029f07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x180029f5e
mov qword [rbp - 0x20], r15
lea rcx, [rbp - 0x20]
call fcn.180020588
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029f31
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp + 0x70]
mov rcx, rsi
call fcn.1800053f4
mov dword [rsp + 0x20], 1
jmp 0x180029f5e
lea rdx, [0x18008ad98]
mov rcx, rsi
call fcn.180005348
mov dword [rsp + 0x20], 1
mov rdx, qword [rbp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x180029f7c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.18000a540
nop
mov ecx, 0x80004005
call fcn.18000a540
int3