Function at 0x18000c6f0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180134010]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r12, r8
mov rbx, rdx
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov rcx, rdx
call fcn.180005da8
test al, al
jne 0x18000cba1
mov rcx, rbx
call fcn.18006e3f0
test al, al
je 0x18000cba1
lea rcx, [rsp + 0x78]
call fcn.180005e80
nop
lea r8, [rsp + 0x78]
mov rdx, r12
mov rcx, rbx
call fcn.18000cbe0
test al, al
je 0x18000c884
mov rcx, r12
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x18000c799
xor dil, dil
jmp 0x18000cb91
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18000c7cd
cmp qword [rsp + 0x50], 0
jne 0x18000c7cd
lea rcx, [rsp + 0x50]
call rax
mov rcx, r12
call fcn.18006fc00
nop
test al, al
je 0x18000c833
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000c7eb
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c80b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmovne rcx, r14
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c82b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmovne rcx, r14
mov qword [rsp + 0x38], rcx
mov dil, 1
jmp 0x18000cb91
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000c844
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c864
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmovne rcx, r14
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c884
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmovne rcx, r14
mov qword [rsp + 0x38], rcx
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18007aa40
nop
lea rcx, [rsp + 0x58]
call fcn.180006868
mov rcx, rax
lea rdx, [0x1800fb188]
call fcn.1800af74c
mov rsi, rax
test rax, rax
jne 0x18000c8be
xor dil, dil
jmp 0x18000cb86
mov dil, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1800afabc
test eax, eax
jne 0x18000cb7d
mov r9, rsi
lea edx, [rax + 1]
lea r8d, [rax + 0x4c]
lea rcx, [rbp - 0x60]
call fcn.1800afd44
cmp rax, 0x4c
jne 0x18000cb7d
cmp dword [rbp - 0x60], eax
jne 0x18000cb7d
test byte [rbp - 0x4c], dil
je 0x18000ca79
mov word [rsp + 0x20], r14w
mov r9, rsi
lea edx, [rax - 0x4a]
lea r8d, [rax - 0x4b]
lea rcx, [rsp + 0x20]
call fcn.1800afd44
cmp rax, 1
jne 0x18000cb7a
movzx eax, word [rsp + 0x20]
test ax, ax
je 0x18000ca79
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.18000cec0
nop
movzx edx, word [rsp + 0x20]
mov r9, rsi
mov r8d, 1
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1800afd44
cmp rax, 1
je 0x18000c9bb
xor dil, dil
test rbx, rbx
je 0x18000cb7d
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000c9a0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cbda
mov rcx, rbx
call fcn.1800a70c4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
jmp 0x18000cb7d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1800aaeb0
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x18000ca31
lea rcx, [rbp - 0x10]
call fcn.18000608c
mov r8, rax
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.180005f18
nop
test rbx, rbx
je 0x18000cb7d
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000c9a0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cbd4
jmp 0x18000c9a0
test rbx, rbx
je 0x18000ca79
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000ca63
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cbce
mov rcx, rbx
call fcn.1800a70c4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x24], r14d
mov r9, rsi
mov r8d, 1
mov r15d, 4
mov edx, r15d
lea rcx, [rsp + 0x24]
call fcn.1800afd44
cmp rax, 1
jne 0x18000cb7a
lea edx, [rax + 0xb]
mov r8d, eax
mov rcx, rsi
call fcn.1800afabc
test eax, eax
jne 0x18000cb7a
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8d, [r15 - 3]
mov edx, r15d
lea rcx, [rsp + 0x20]
call fcn.1800afd44
cmp rax, 1
jne 0x18000cb7a
mov edx, dword [rsp + 0x20]
cmp edx, 0x14
jb 0x18000cb7a
add edx, 0xffffffec
mov r8d, eax
mov rcx, rsi
call fcn.1800afabc
test eax, eax
jne 0x18000cb7a
mov ebx, dword [rsp + 0x24]
sub ebx, dword [rsp + 0x20]
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x18000cb7a
lea ecx, [rbx + 1]
call fcn.1800a7c24
mov r14, rax
mov edx, ebx
mov byte [rax + rbx], 0
mov r9, rsi
lea r8d, [r15 - 3]
mov rcx, rax
call fcn.1800afd44
cmp rax, 1
jne 0x18000cb6b
xor r9d, r9d
lea r8d, [r15 - 5]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.18007a4d0
mov dword [rsp + 0x28], r15d
mov rdx, rax
mov rcx, r12
call fcn.18000681c
and r15d, 0xfffffffb
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x38]
call fcn.180005de4
test r14, r14
je 0x18000cb7d
mov rcx, r14
call fcn.1800a70c4
jmp 0x18000cb7d
xor dil, dil
mov rcx, rsi
call fcn.1800af7dc
nop
lea rcx, [rsp + 0x58]
call fcn.180006878
nop
lea rcx, [rsp + 0x78]
call fcn.180005de4
movzx eax, dil
jmp 0x18000cba3
xor al, al
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1800a70a0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800adafc
nop
call fcn.1800adafc
int3
call fcn.1800adafc
int3