Function at 0x18002d000
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x68
mov r10d, r9d
mov rax, r8
test r8, r8
je 0x18002d036
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x18002d036
mov r9, qword [rsp + 0x98]
mov edx, r10d
mov rcx, rax
call fcn.18000dc30
mov al, 1
add rsp, 0x68
ret
test dl, dl
jne 0x18002d05a
mov rcx, qword [rsp + 0x98]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
setne al
add rsp, 0x68
ret
mov qword [rsp + 0x70], rbx
xor r9d, r9d
mov qword [rsp + 0x78], rbp
xor ebx, ebx
mov qword [rsp + 0x58], r12
mov edx, 0xe0000000
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x50], r13
lea r8d, [rbx + 1]
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18002d26f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], eax
lea r8d, [rbx + 0x40]
mov rcx, r14
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
test rax, rax
je 0x18002d247
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea edx, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x18002d247
mov qword [rsp + 0x88], rsi
mov rsi, qword [rsp + 0x98]
movsxd rax, dword [rsi + 0x3c]
cmp eax, 0xf94
jge 0x18002d221
lea rdx, [rsi + rax]
mov ecx, 0x10b
movzx eax, word [rdx + 0x18]
cmp ax, cx
je 0x18002d145
mov ecx, 0x20b
cmp ax, cx
jne 0x18002d221
mov ebx, 1
movzx ecx, word [rdx + 0x14]
mov qword [rsp + 0x60], rdi
movzx edi, word [rdx + 6]
mov qword [rsp + 0x40], r15
lea r15, [rdx + rcx]
mov rdx, rsi
lea eax, [rdi + rdi*4]
lea r8d, [rcx + rax*8]
mov rcx, rbp
call fcn.18004c130
test ebx, ebx
jne 0x18002d19f
test edi, edi
je 0x18002d1cd
lea rbx, [r15 + 0x24]
nop dword [rax]
mov edx, dword [rbx]
mov ecx, dword [rbx + 8]
add rdx, rsi
mov r8d, dword [rbx + 4]
add rcx, rbp
call fcn.18004c130
lea rbx, [rbx + 0x28]
add edi, 0xffffffff
jne 0x18002d180
jmp 0x18002d1cd
test edi, edi
je 0x18002d1cd
lea rbx, [r15 + 0x24]
nop word [rax + rax]
mov edx, dword [rbx]
mov ecx, dword [rbx + 8]
add rdx, rsi
mov r8d, dword [rbx + 4]
add rcx, rbp
call fcn.18004c130
lea rbx, [rbx + 0x28]
add edi, 0xffffffff
jne 0x18002d1b0
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r9, rbp
mov r8, r12
mov edx, r13d
mov rcx, r14
call fcn.18000dc30
mov r15, qword [rsp + 0x40]
mov al, 1
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x88]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x48]
add rsp, 0x68
ret
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r9, rbp
mov r8, r12
mov edx, r13d
mov rcx, r14
call fcn.18000dc30
xor al, al
jmp 0x18002d1fb
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x18002d26f
test byte [rsp + 0x80], 2
jne 0x18002d26f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18002d203