Function at 0x140016720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1200]
mov eax, 0x1300
call fcn.14001b560
sub rsp, rax
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rbp + 0x11f0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x20], 1
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140016a92
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.14003ea20
mov dword [rsp + 0x60], 0x238
mov esi, r12d
mov r14d, r12d
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x140016a88
mov r13d, 0xf
test r14d, r14d
jne 0x140016851
lea rdx, [0x14004f944]
lea rcx, [rbp + 0x90]
call fcn.1400257ac
mov rbx, rax
test rax, rax
jne 0x1400167fb
mov esi, r12d
jmp 0x14001684b
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1f0]
call fcn.14003ea20
mov r9, rbx
mov edx, 0x1000
mov r8d, 1
lea rcx, [rbp + 0x1f0]
call fcn.14002720c
mov rcx, rbx
call fcn.1400258dc
mov eax, dword [rbp + 0x22c]
mov esi, r12d
mov ecx, 0x14c
cmp word [rbp + rax + 0x1f4], cx
sete sil
mov r14d, 1
test esi, esi
je 0x14001688d
lea rdx, str.SYSTEM32
lea rcx, [rbp + 0x90]
call fcn.14001d0f8
test rax, rax
jne 0x140016a72
lea rdx, str.System32
lea rcx, [rbp + 0x90]
call fcn.14001d0f8
test rax, rax
jne 0x140016a72
lea rdx, str.WindowsApps
lea rcx, [rbp + 0x90]
call fcn.14001d0f8
test rax, rax
jne 0x140016a72
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r12
mov qword [rbp + 0x1b8], r13
mov byte [rbp + 0x1a0], al
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], r13
mov byte [rbp + 0x1c0], al
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x1e0], rax
mov eax, dword [rbp - 0x80]
mov qword [rbp + 0x1e8], rax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140016915
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x28]
call fcn.140009190
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x38]
movaps xmmword [rbp + 0x1b0], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140016965
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x28]
call fcn.140009190
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rsp + 0x38]
movaps xmmword [rbp + 0x1d0], xmm1
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x1400169e1
mov qword [rsp + 0x50], rbx
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call fcn.140005ec0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x1c0]
call fcn.140005ec0
mov rax, qword [rbp + 0x1e0]
mov qword [rbx + 0x40], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbx + 0x48], rax
add qword [rdi + 8], 0x50
jmp 0x1400169f4
lea r8, [rbp + 0x1a0]
mov rdx, rbx
mov rcx, rdi
call fcn.140009290
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x140016a35
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016abf
call fcn.14001b1ac
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140016a72
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016abf
call fcn.14001b1ac
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400167d6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x11f0]
xor rcx, rsp
call fcn.14001adf0
mov rbx, qword [rsp + 0x1350]
add rsp, 0x1300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400248b8
nop
int3