Function at 0x18000c170
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 [0x18012b010]
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 0x18000c621
mov rcx, rbx
call fcn.18006be70
test al, al
je 0x18000c621
lea rcx, [rsp + 0x78]
call fcn.180005e80
nop
lea r8, [rsp + 0x78]
mov rdx, r12
mov rcx, rbx
call fcn.18000c660
test al, al
je 0x18000c304
mov rcx, r12
call fcn.18000618c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x18000c219
xor dil, dil
jmp 0x18000c611
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 0x18000c24d
cmp qword [rsp + 0x50], 0
jne 0x18000c24d
lea rcx, [rsp + 0x50]
call rax
mov rcx, r12
call fcn.18006d680
nop
test al, al
je 0x18000c2b3
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000c26b
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c28b
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 0x18000c2ab
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 0x18000c611
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000c2c4
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c2e4
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 0x18000c304
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.180074160
nop
lea rcx, [rsp + 0x58]
call fcn.180006718
mov rcx, rax
lea rdx, [0x1800f3f50]
call fcn.1800a890c
mov rsi, rax
test rax, rax
jne 0x18000c33e
xor dil, dil
jmp 0x18000c606
mov dil, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1800a8c7c
test eax, eax
jne 0x18000c5fd
mov r9, rsi
lea edx, [rax + 1]
lea r8d, [rax + 0x4c]
lea rcx, [rbp - 0x60]
call fcn.1800a8f04
cmp rax, 0x4c
jne 0x18000c5fd
cmp dword [rbp - 0x60], eax
jne 0x18000c5fd
test byte [rbp - 0x4c], dil
je 0x18000c4f9
mov word [rsp + 0x20], r14w
mov r9, rsi
lea edx, [rax - 0x4a]
lea r8d, [rax - 0x4b]
lea rcx, [rsp + 0x20]
call fcn.1800a8f04
cmp rax, 1
jne 0x18000c5fa
movzx eax, word [rsp + 0x20]
test ax, ax
je 0x18000c4f9
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.18000c940
nop
movzx edx, word [rsp + 0x20]
mov r9, rsi
mov r8d, 1
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1800a8f04
cmp rax, 1
je 0x18000c43b
xor dil, dil
test rbx, rbx
je 0x18000c5fd
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000c420
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c65a
mov rcx, rbx
call fcn.1800a0284
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
jmp 0x18000c5fd
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1800a4070
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x18000c4b1
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 0x18000c5fd
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000c420
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c654
jmp 0x18000c420
test rbx, rbx
je 0x18000c4f9
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000c4e3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c64e
mov rcx, rbx
call fcn.1800a0284
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.1800a8f04
cmp rax, 1
jne 0x18000c5fa
lea edx, [rax + 0xb]
mov r8d, eax
mov rcx, rsi
call fcn.1800a8c7c
test eax, eax
jne 0x18000c5fa
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8d, [r15 - 3]
mov edx, r15d
lea rcx, [rsp + 0x20]
call fcn.1800a8f04
cmp rax, 1
jne 0x18000c5fa
mov edx, dword [rsp + 0x20]
cmp edx, 0x14
jb 0x18000c5fa
add edx, 0xffffffec
mov r8d, eax
mov rcx, rsi
call fcn.1800a8c7c
test eax, eax
jne 0x18000c5fa
mov ebx, dword [rsp + 0x24]
sub ebx, dword [rsp + 0x20]
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x18000c5fa
lea ecx, [rbx + 1]
call fcn.1800a0de4
mov r14, rax
mov edx, ebx
mov byte [rax + rbx], 0
mov r9, rsi
lea r8d, [r15 - 3]
mov rcx, rax
call fcn.1800a8f04
cmp rax, 1
jne 0x18000c5eb
xor r9d, r9d
lea r8d, [r15 - 5]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.180073bf0
mov dword [rsp + 0x28], r15d
mov rdx, rax
mov rcx, r12
call fcn.1800066cc
and r15d, 0xfffffffb
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x38]
call fcn.180005de4
test r14, r14
je 0x18000c5fd
mov rcx, r14
call fcn.1800a0284
jmp 0x18000c5fd
xor dil, dil
mov rcx, rsi
call fcn.1800a899c
nop
lea rcx, [rsp + 0x58]
call fcn.180006728
nop
lea rcx, [rsp + 0x78]
call fcn.180005de4
movzx eax, dil
jmp 0x18000c623
xor al, al
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1800a0260
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.1800a6cbc
nop
call fcn.1800a6cbc
int3
call fcn.1800a6cbc
int3