Function at 0x140008300
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 r13, rcx
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rdi, rax
movabs r14, 0x100000001
mov qword [rax + 8], r14
lea rbp, [0x1400493b0]
mov qword [rax], rbp
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
movaps xmm6, xmmword [0x1400492b0]
movups xmmword [rax + 0x20], xmm6
lea rax, [rax + 0x30]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x50], r12
mov edx, 0x40
call fcn.1400087b0
cmp qword [rdi + 0x50], 0
je 0x1400085be
cmp qword [rdi + 0x20], 0
je 0x140008587
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140008587
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140008587
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], rbp
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.1400087b0
cmp qword [rbx + 0x50], 0
je 0x1400085d4
cmp qword [rbx + 0x20], 0
je 0x140008573
mov r14, qword [rbx + 0x18]
test r14, r14
je 0x140008573
cmp dword [r14], 0x4550
jne 0x140008573
movzx eax, word [r14 + 0x18]
cmp eax, 0x20b
jne 0x140008573
cmp dword [r14 + 0x50], 0x147
jbe 0x140008573
mov rbp, r13
cmp dword [r14 + 0x84], 0
je 0x14000859b
mov r13d, dword [r14 + 0x88]
test r13, r13
je 0x14000859b
cmp dword [r14 + 0x8c], 0
je 0x14000859b
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, [0x1400493b0]
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.1400087b0
cmp qword [rsi + 0x50], 0
je 0x1400085ed
cmp qword [rsi + 0x20], 0
mov r13, rbp
je 0x1400085a3
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1400085a3
cmp dword [rax + 0x14], 0
je 0x1400085a3
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, r13
mov rdx, r15
mov r8, r12
call fcn.140008730
lock sub dword [rsi + 8], 1
jne 0x14000851c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock sub dword [rsi + 0xc], 1
jne 0x14000851c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
lock sub dword [rbx + 8], 1
jne 0x14000853b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock sub dword [rbx + 0xc], 1
jne 0x14000853b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lock sub dword [rdi + 8], 1
jne 0x14000855a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock sub dword [rdi + 0xc], 1
jne 0x14000855a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rax, r13
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, r13
mov rdx, r15
call fcn.140008610
lock sub dword [rbx + 8], 1
je 0x140008523
jmp 0x14000853b
mov rcx, r13
mov rdx, r15
call fcn.140008610
lock sub dword [rdi + 8], 1
je 0x140008542
jmp 0x14000855a
mov r13, rbp
mov rcx, rbp
jmp 0x140008576
mov rcx, r13
mov rdx, r15
call fcn.140008610
lock sub dword [rsi + 8], 1
je 0x140008504
jmp 0x14000851c
mov rcx, r13
mov rdx, r15
call fcn.140008610
test rdi, rdi
jne 0x14000853b
jmp 0x14000855a
mov rcx, r13
mov rdx, r15
call fcn.140008610
test rbx, rbx
jne 0x14000851c
jmp 0x14000853b
mov r13, rbp
mov rcx, rbp
mov rdx, r15
call fcn.140008610
test rsi, rsi
jne 0x1400084fd
jmp 0x14000851c