Function at 0x140016940
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.14001b6e0
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 0x140016cb2
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.14003eba0
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 0x140016ca8
mov r13d, 0xf
test r14d, r14d
jne 0x140016a71
lea rdx, [0x14004f494]
lea rcx, [rbp + 0x90]
call fcn.14002592c
mov rbx, rax
test rax, rax
jne 0x140016a1b
mov esi, r12d
jmp 0x140016a6b
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1f0]
call fcn.14003eba0
mov r9, rbx
mov edx, 0x1000
mov r8d, 1
lea rcx, [rbp + 0x1f0]
call fcn.14002738c
mov rcx, rbx
call fcn.140025a5c
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 0x140016aad
lea rdx, str.SYSTEM32
lea rcx, [rbp + 0x90]
call fcn.14001d278
test rax, rax
jne 0x140016c92
lea rdx, str.System32
lea rcx, [rbp + 0x90]
call fcn.14001d278
test rax, rax
jne 0x140016c92
lea rdx, str.WindowsApps
lea rcx, [rbp + 0x90]
call fcn.14001d278
test rax, rax
jne 0x140016c92
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 0x140016b35
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x28]
call fcn.140009b30
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 0x140016b85
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x28]
call fcn.140009b30
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 0x140016c01
mov qword [rsp + 0x50], rbx
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call fcn.140006860
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x1c0]
call fcn.140006860
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 0x140016c14
lea r8, [rbp + 0x1a0]
mov rdx, rbx
mov rcx, rdi
call fcn.140009c30
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x140016c55
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016cdf
call fcn.14001b32c
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140016c92
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016cdf
call fcn.14001b32c
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400169f6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x11f0]
xor rcx, rsp
call fcn.14001af70
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.140024a38
nop
int3