Function at 0x100776f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, ecx
mov eax, dword [0x100a500c]
xor eax, ebp
mov dword [esp + 0x60], eax
xor ebx, ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x36], bl
cmp dword [ecx + 0x3c], 0
je 0x10077899
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
sub esp, 0x1c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movups xmmword [esp], xmm0
call fcn.10077990
add esp, 0x1c
mov ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, eax
mov edx, eax
movzx ebx, bl
inc ebx
shr edx, 7
cmp ecx, 0x7f
mov ecx, edx
ja 0x1007775e
movzx ebx, bl
add ebx, eax
mov ecx, esi
push dword [ebp + 0x14]
call fcn.10065230
test eax, eax
je 0x1007794b
mov edi, eax
mov eax, dword [eax + 0x38]
mov ecx, eax
sub ecx, dword [edi + 4]
cmp ebx, ecx
jbe 0x10077827
cmp ebx, eax
jae 0x1007794b
mov byte [esp + 0x37], 1
mov ecx, esi
push dword [ebp + 0x14]
call fcn.10065320
test eax, eax
je 0x1007794b
mov dword [esp + 4], eax
mov eax, dword [edi + 0x38]
sub eax, dword [edi + 4]
lea edx, [esp + 8]
mov ecx, edi
push eax
mov edi, edx
push edx
call fcn.100652c0
movsd xmm0, qword [esi + 0x50]
mov ecx, dword [esp + 4]
movsd qword [ecx + 0x40], xmm0
mov eax, dword [ecx + 0x38]
add dword [esi + 0x50], eax
adc dword [esi + 0x54], 0
mov eax, ebx
sub eax, dword [edi]
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.100653e0
lea edi, [esp + 0x10]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
add edx, ebx
adc ecx, 0
mov byte [esp + 0x36], 1
lea eax, [esp + 0x20]
mov dword [eax + 4], ecx
mov dword [eax], edx
lea ecx, [esp + 0x38]
push eax
push edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10065460
jmp 0x10077886
sete byte [esp + 0x37]
lea eax, [esp + 8]
mov ecx, edi
push ebx
push eax
call fcn.100652c0
cmp byte [esp + 0x58], 0
jne 0x10077957
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ecx
add ecx, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
adc eax, 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], 1
add dword [esi + 0x60], ebx
adc dword [esi + 0x64], 0
mov eax, dword [ebp + 0x18]
add dword [esi + 0x68], eax
mov eax, dword [ebp + 0x1c]
adc dword [esi + 0x6c], eax
lea eax, [esp + 0x37]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
lea eax, [esp + 0x36]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 1
xor eax, eax
cmp byte [esp + 0x58], 0
mov ecx, 0
je 0x10077923
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
lea edi, [esp + 0x38]
push edi
push dword [eax]
call fcn.10065b00
add esp, 8
xor eax, eax
cmp byte [edi + 0x20], 0
mov ecx, 0
je 0x10077923
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
movups xmm0, xmmword [eax]
sub esp, 0x1c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
movups xmmword [esp], xmm0
lea esi, [esp + 0x54]
mov ecx, esi
call fcn.10077a00
cmp byte [esi + 0x20], 0
je 0x1007796c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
lea ecx, [esp + 8]
call fcn.10065d40
mov ecx, dword [esp + 0x60]
xor ecx, ebp
call fcn.1004fb50
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
add dword [esi + 0x78], ebx
adc dword [esi + 0x7c], 0
jmp 0x10077899
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__isSome___
int3
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_isSome___
int3