Function at 0x1400400b0
Capabilities:
Read file via mapping

Disassembly:
mov rcx, rdx
xor edx, edx
jmp 0x1400400c0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov r12, qword [0x1400db108]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebx, 0xc000000d
test r8d, r8d
jne 0x1400404ef
mov ebp, dword [rsp + 0x170]
cmp ebp, 0x4000
ja 0x1400404ef
mov rsi, r9
mov r15, rdx
mov r14, rcx
test rcx, rcx
je 0x140040123
cmp word [r14], 0
je 0x1400404ef
call fcn.14004cf80
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140055f10
mov ebx, 0xc0000022
test al, al
je 0x1400404ef
call fcn.14004d0a0
test rax, rax
je 0x1400404ef
mov rdi, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x90]
mov rdx, rax
call fcn.140008150
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400401c9
mov eax, ebp
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400401f1
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 2
jae 0x1400401fb
mov ebx, 0xc000000d
jmp 0x1400404a7
mov ebx, 0xc000000d
jmp 0x1400404ad
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x68], 0
test r14, r14
je 0x140040261
movzx r15d, word [r14]
test r15, r15
je 0x1400402ac
mov rbx, qword [r14 + 8]
mov r14, r15
shr r14, 1
cmp r15w, 0x16
jae 0x1400402b6
lea eax, [r14 + r14]
mov byte [rsp + 0xa0], al
lea rax, [rsp + 0xa2]
mov rcx, rax
cmp r15w, 2
jae 0x1400402e9
jmp 0x140040366
mov qword [rsp + 0x68], r15
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xf0], 0
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.140051000
jmp 0x140040408
mov ebx, 0xc000000d
jmp 0x14004049a
mov r13, r14
or r13, 7
lea rcx, [r13 + 2]
add rcx, r13
call fcn.1400aca30
mov qword [rsp + 0xb0], rax
add r13, 2
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r14
dec r14
movabs r8, 0x7fffffffffffffff
and r8, r14
cmp r8, 0xf
jb 0x140040346
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x20
jb 0x140040346
inc r8
mov r9, r8
and r9, 0xfffffffffffffff0
lea rcx, [rax + r9*2]
lea rdx, [rbx + r9*2]
xor r10d, r10d
movups xmm0, xmmword [rbx + r10*2]
movups xmm1, xmmword [rbx + r10*2 + 0x10]
movups xmmword [rax + r10*2], xmm0
movups xmmword [rax + r10*2 + 0x10], xmm1
add r10, 0x10
cmp r9, r10
jne 0x140040320
cmp r8, r9
jne 0x14004034c
jmp 0x140040366
mov rcx, rax
mov rdx, rbx
and r15d, 0xfffffffe
add rbx, r15
movzx eax, word [rdx]
mov word [rcx], ax
add rdx, 2
add rcx, 2
cmp rdx, rbx
jne 0x140040353
mov word [rcx], 0
mov rbx, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rbx
movzx eax, byte [rsp + 0xa0]
mov byte [rsp + 0x70], al
mov rax, qword [rsp + 0xa1]
mov qword [rsp + 0x71], rax
mov eax, dword [rsp + 0xa9]
mov dword [rsp + 0x79], eax
movzx eax, word [rsp + 0xad]
mov word [rsp + 0x7d], ax
movzx eax, byte [rsp + 0xaf]
mov byte [rsp + 0x7f], al
movzx r14d, byte [rsp + 0x70]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xf0], 0
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.140051000
test r14b, 1
jne 0x14004040d
lea rbx, [rsp + 0x72]
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], ebp
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x68]
mov edx, 0x1b
call fcn.140041b40
mov ebx, 0xc0000022
test eax, eax
jne 0x140040486
mov ebx, dword [rsp + 0xa8]
test ebx, ebx
jne 0x140040486
mov rdx, qword [rsp + 0x98]
mov r8d, ebp
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
xor ebx, ebx
test byte [rsp + 0x70], 1
je 0x14004049a
mov rcx, qword [rsp + 0x80]
call fcn.1400acb10
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400404ad
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rsi, qword [rsp + 0x90]
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400404ef
mov rdi, qword [rsp + 0x148]
call fcn.140007ee0
lea rdx, [rsp + 0x90]
mov rcx, rsi
mov r8, rdi
mov r9, rax
call fcn.14002a080
mov rcx, qword [rsp + 0x90]
call fcn.14002a010
mov rax, qword [rsp + 0x100]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x140040519
mov eax, ebx
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400addd0
int3