Function at 0x140030880
Capabilities:
Read file via mapping

Disassembly:
mov rcx, rdx
xor edx, edx
jmp 0x140030890
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov ebp, 0xc000000d
test r8d, r8d
jne 0x140030900
mov r14d, dword [rsp + 0x170]
cmp r14d, 0x4000
ja 0x140030900
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400308e8
cmp word [rdi], 0
je 0x140030900
call fcn.14003f010
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ebp, 0xc0000022
cmp dword [rax], 2
jge 0x14003092a
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140045f60
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140039100
test al, al
je 0x140030900
mov r15, qword [0x1400567f8]
test r15, r15
je 0x140030900
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x20], r14d
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 + 0x60]
mov rdx, rax
call fcn.140017a40
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400309ac
mov eax, r14d
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
mov ebp, 0xc000000d
lea rax, [rcx + 1]
cmp rax, 2
jae 0x1400309da
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400309cb
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0x60]
call fcn.140017ad0
jmp 0x140030900
cmp qword [rsp + 0x68], 0
je 0x1400309bb
movaps xmm6, xmmword [0x140048280]
movups xmmword [rsp + 0xe0], xmm6
mov word [rsp + 0xd0], 0
mov qword [rsp + 0x38], 0
test rdi, rdi
je 0x140030a90
movzx r8d, word [rdi]
mov ebp, 0xc000000d
test r8, r8
je 0x140030b4e
mov rdx, qword [rdi + 8]
and r8d, 0xfffffffe
add r8, rdx
lea rdi, [rsp + 0x70]
lea r9, [rsp + 0x50]
mov rcx, rdi
call fcn.140017c70
lea rcx, [rsp + 0xd0]
call fcn.14000ba00
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0x80], xmm6
mov word [rsp + 0x70], 0
mov rcx, rdi
call fcn.14000ba00
mov rcx, qword [rsp + 0x60]
cmp qword [rsp + 0xe8], 7
seta al
jmp 0x140030a97
mov qword [rsp + 0x38], rbx
xor eax, eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x50], r15
add r15, qword [r15 + 0x10]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x48], rcx
test al, al
je 0x140030af1
mov rax, qword [rsp + 0xd0]
jmp 0x140030af9
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x48]
call fcn.140031c90
mov ebp, 0xc0000022
test eax, eax
jne 0x140030b4e
mov ebp, dword [rsp + 0x78]
test ebp, ebp
jne 0x140030b4e
mov rdx, qword [rsp + 0x68]
mov r8d, r14d
mov rcx, rsi
call sub.ntdll.dll_memcpy
xor ebp, ebp
lea rcx, [rsp + 0xd0]
call fcn.14000ba00
jmp 0x1400309bb