Function at 0x18000ad10
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 [0x180122010]
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.180005ea0
test al, al
jne 0x18000b206
mov rcx, rbx
call fcn.18006acb0
test al, al
je 0x18000b206
lea rcx, [rsp + 0x78]
call fcn.180005c00
nop
lea r8, [rsp + 0x78]
mov rdx, r12
mov rcx, rbx
call fcn.18000b250
test al, al
je 0x18000aea4
mov rcx, r12
call fcn.180005be8
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x18000adb9
xor dil, dil
jmp 0x18000b1f6
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 0x18000aded
cmp qword [rsp + 0x50], 0
jne 0x18000aded
lea rcx, [rsp + 0x50]
call rax
mov rcx, r12
call fcn.18006b790
nop
test al, al
je 0x18000ae53
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000ae0b
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000ae2b
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 0x18000ae4b
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 0x18000b1f6
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18000ae64
mov rcx, qword [rsp + 0x50]
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000ae84
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 0x18000aea4
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.18006d7f0
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
lea rdx, [0x1800ecaa0]
call fcn.1800a4b2c
mov rsi, rax
test rax, rax
jne 0x18000aee2
xor dil, dil
jmp 0x18000b1aa
mov dil, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1800a4e9c
test eax, eax
jne 0x18000b1a1
mov r9, rsi
lea edx, [rax + 1]
lea r8d, [rax + 0x4c]
lea rcx, [rbp - 0x60]
call fcn.1800a5124
cmp rax, 0x4c
jne 0x18000b1a1
cmp dword [rbp - 0x60], eax
jne 0x18000b1a1
test byte [rbp - 0x4c], dil
je 0x18000b09d
mov word [rsp + 0x20], r14w
mov r9, rsi
lea edx, [rax - 0x4a]
lea r8d, [rax - 0x4b]
lea rcx, [rsp + 0x20]
call fcn.1800a5124
cmp rax, 1
jne 0x18000b19e
movzx eax, word [rsp + 0x20]
test ax, ax
je 0x18000b09d
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.18000b530
nop
movzx edx, word [rsp + 0x20]
mov r9, rsi
mov r8d, 1
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1800a5124
cmp rax, 1
je 0x18000afdf
xor dil, dil
test rbx, rbx
je 0x18000b1a1
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000afc4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b23f
mov rcx, rbx
call fcn.18009c654
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
jmp 0x18000b1a1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1800a0440
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x18000b055
lea rcx, [rbp - 0x10]
call fcn.1800063e0
mov r8, rax
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.180006148
nop
test rbx, rbx
je 0x18000b1a1
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000afc4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b239
jmp 0x18000afc4
test rbx, rbx
je 0x18000b09d
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000b087
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b245
mov rcx, rbx
call fcn.18009c654
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.1800a5124
cmp rax, 1
jne 0x18000b19e
lea edx, [rax + 0xb]
mov r8d, eax
mov rcx, rsi
call fcn.1800a4e9c
test eax, eax
jne 0x18000b19e
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8d, [r15 - 3]
mov edx, r15d
lea rcx, [rsp + 0x20]
call fcn.1800a5124
cmp rax, 1
jne 0x18000b19e
mov edx, dword [rsp + 0x20]
cmp edx, 0x14
jb 0x18000b19e
add edx, 0xffffffec
mov r8d, eax
mov rcx, rsi
call fcn.1800a4e9c
test eax, eax
jne 0x18000b19e
mov ebx, dword [rsp + 0x24]
sub ebx, dword [rsp + 0x20]
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x18000b19e
lea ecx, [rbx + 1]
call fcn.18009d1b4
mov r14, rax
mov edx, ebx
mov byte [rax + rbx], 0
mov r9, rsi
lea r8d, [r15 - 3]
mov rcx, rax
call fcn.1800a5124
cmp rax, 1
jne 0x18000b18f
xor r9d, r9d
lea r8d, [r15 - 5]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.18006d330
mov dword [rsp + 0x28], r15d
mov rdx, rax
mov rcx, r12
call fcn.180005f0c
and r15d, 0xfffffffb
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x38]
call fcn.180005bf8
test r14, r14
je 0x18000b1a1
mov rcx, r14
call fcn.18009c654
jmp 0x18000b1a1
xor dil, dil
mov rcx, rsi
call fcn.1800a4bbc
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18000b1e3
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b1de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b233
call fcn.18009c654
movdqa xmm0, xmmword [0x1800f13b0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x78]
call fcn.180005bf8
movzx eax, dil
jmp 0x18000b208
xor al, al
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.18009c630
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.1800a308c
nop
call fcn.1800a308c
int3
call fcn.1800a308c
int3
call fcn.1800a308c
int3