Function at 0x140008770
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov r15, r8
mov r12, rdx
mov rbp, rcx
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rdi, rax
movabs r14, 0x100000001
mov qword [rax + 8], r14
lea r13, [0x14004e3e0]
mov qword [rax], r13
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
movaps xmm6, xmmword [0x14004e2e0]
movups xmmword [rax + 0x20], xmm6
lea rax, [rax + 0x30]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x50], r12
mov edx, 0x40
call fcn.140008bc0
cmp qword [rdi + 0x50], 0
je 0x1400089f1
cmp qword [rdi + 0x20], 0
je 0x1400089f1
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400089f1
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400089f1
movsxd rsi, dword [rax + 0x3c]
add rsi, r12
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
mov qword [rax + 8], r14
mov qword [rax], r13
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
movups xmmword [rax + 0x20], xmm6
lea rax, [rax + 0x30]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x50], rsi
mov edx, 0x108
call fcn.140008bc0
cmp qword [rbx + 0x50], 0
je 0x1400089dd
cmp qword [rbx + 0x20], 0
je 0x1400089dd
mov r14, qword [rbx + 0x18]
test r14, r14
je 0x1400089dd
cmp dword [r14], 0x4550
jne 0x1400089dd
movzx eax, word [r14 + 0x18]
cmp eax, 0x20b
jne 0x1400089dd
cmp dword [r14 + 0x50], 0x147
jbe 0x1400089dd
cmp dword [r14 + 0x84], 0
je 0x1400089dd
mov r13d, dword [r14 + 0x88]
test r13, r13
je 0x1400089dd
cmp dword [r14 + 0x8c], 0
je 0x1400089dd
add r13, r12
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rsi, rax
movabs rax, 0x100000001
mov qword [rsi + 8], rax
lea rax, [0x14004e3e0]
mov qword [rsi], rax
lea rcx, [rsi + 0x10]
mov qword [rsi + 0x10], r15
movups xmmword [rsi + 0x20], xmm6
lea rax, [rsi + 0x30]
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x50], r13
mov edx, 0x28
call fcn.140008bc0
cmp qword [rsi + 0x50], 0
je 0x140008a05
cmp qword [rsi + 0x20], 0
je 0x140008a05
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x140008a05
cmp dword [rax + 0x14], 0
je 0x140008a05
mov r9d, dword [r14 + 0x88]
mov ecx, dword [r14 + 0x8c]
add ecx, r9d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rbp
mov rdx, r15
mov r8, r12
call fcn.140008b40
lock sub dword [rsi + 8], 1
jne 0x140008986
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock sub dword [rsi + 0xc], 1
jne 0x140008986
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
lock sub dword [rbx + 8], 1
jne 0x1400089a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock sub dword [rbx + 0xc], 1
jne 0x1400089a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lock sub dword [rdi + 8], 1
jne 0x1400089c4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock sub dword [rdi + 0xc], 1
jne 0x1400089c4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rax, rbp
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbp
mov rdx, r15
call fcn.140008a20
lock sub dword [rbx + 8], 1
je 0x14000898d
jmp 0x1400089a5
mov rcx, rbp
mov rdx, r15
call fcn.140008a20
lock sub dword [rdi + 8], 1
je 0x1400089ac
jmp 0x1400089c4
mov rcx, rbp
mov rdx, r15
call fcn.140008a20
lock sub dword [rsi + 8], 1
je 0x14000896e
jmp 0x140008986