Function at 0x14002c3b0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14016d4c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x18]
xor r14d, r14d
test rcx, rcx
je 0x14002c3ed
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 0x18], r14
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002c400
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], r14
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14002c416
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
mov qword [rdi + 0x10], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rcx, r14
mov qword [rsp + 0x48], rcx
mov edx, 7
mov qword [rsp + 0x50], rdx
mov word [rsp + 0x38], r14w
mov rbp, r14
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], bpl
jne 0x14002c444
test rax, rax
je 0x14002c4ca
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
movsx r9d, byte [rsi + rbp]
cmp rcx, rdx
jae 0x14002c48f
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 7
cmova rax, qword [rsp + 0x38]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x14002c4a2
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140021b10
inc rbp
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14002c4b0
mov rdx, qword [rsp + 0x50]
cmp rbp, rax
jae 0x14002c4ca
mov rcx, qword [rsp + 0x48]
jmp 0x14002c460
lea rcx, [rsp + 0x38]
cmp rdx, 7
cmova rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r14
mov edx, 0x80000000
mov r9d, 3
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFile2]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x14002c585
mov qword [rsp + 0x58], r14
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002c585
mov r9, qword [rsp + 0x58]
mov qword [rdi + 0x10], r9
mov qword [rsp + 0x20], r14
xor edx, edx
mov r8d, 2
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingFromApp]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002c5ea
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14002c558
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 0x18], r14
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002c56b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], r14
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14002c581
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
mov qword [rdi + 0x10], r14
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14002c5c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c5c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c612
call fcn.1400c4e5c
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c4df0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFileFromApp]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x14002c558
mov bl, 1
jmp 0x14002c587
call fcn.1400d3b88
int3