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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov dword [esp + 0x20], edx
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x68], eax
xor ebx, ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x3e], bl
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x3c], 0
je 0x1004f3b0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp], edi
call fcn.1004f470
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, eax
movzx ebx, bl
inc ebx
shr ecx, 7
jne 0x1004f22c
movzx edi, bl
add edi, eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov ecx, dword [esp + 0x14]
call fcn.10048850
sub esp, 4
test eax, eax
je 0x1004f44f
mov ebx, eax
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x20]
sub ecx, eax
cmp edi, ecx
jbe 0x1004f33c
mov byte [esp + 0x3f], 1
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov ecx, dword [esp + 0x14]
call fcn.10048900
sub esp, 4
test eax, eax
je 0x1004f44f
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 4], ecx
sub ecx, edx
inc dword [ebx + 0x24]
mov dword [esp + 0x1c], ecx
cmp ecx, 0xffffffff
je 0x1004f45b
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x28]
add esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
adc edx, 0
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [ecx + 0x50]
movsd qword [eax + 0x28], xmm0
mov esi, dword [eax + 0x20]
add dword [ecx + 0x50], esi
adc dword [ecx + 0x54], 0
mov esi, edi
sub esi, dword [esp + 0x1c]
mov dword [eax], esi
mov dword [eax + 4], esi
cmp esi, 0xffffffff
je 0x1004f45b
mov ecx, dword [esp + 0x18]
add ebx, ecx
add ebx, 0x40
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
add eax, 0x40
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
add eax, edi
mov dword [esp + 0x54], edx
adc edx, 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov byte [esp + 0x3e], 1
test ecx, ecx
jne 0x1004f394
test esi, esi
je 0x1004f394
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__mCurrentSpan.IsEmpty____mNextSpanOrEmpty.IsEmpty___
int3
sete byte [esp + 0x3f]
cmp ecx, edi
cmova ecx, edi
lea edx, [ecx + eax]
mov dword [ebx + 4], edx
inc dword [ebx + 0x24]
cmp ecx, 0xffffffff
je 0x1004f45b
lea edx, [ebx + eax]
add edx, 0x40
add eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
adc esi, 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add eax, edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
adc esi, 0
mov dword [esp + 0x5c], esi
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x14]
add dword [eax + 0x60], edi
adc dword [eax + 0x64], 0
add eax, 0x68
xor edi, edi
inc edi
add dword [eax], edi
adc dword [eax + 4], 0
lea eax, [esp + 0x3f]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3e]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov byte [esp + 0x38], 1
cmp byte [esp + 0x60], 0
je 0x1004f3f8
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
lea edi, [esp + 0x40]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.100489a0
cmp byte [edi + 0x20], 0
jne 0x1004f421
xor eax, eax
mov esi, dword [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x28]
call fcn.10048ae0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.1002f5c0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x14]
movups xmm0, xmmword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
movups xmmword [esp], xmm0
lea edi, [esp + 0x40]
mov ecx, edi
call fcn.1004f4c0
movsd xmm0, qword [edi + 0x10]
mov esi, dword [esp + 0x20]
movsd qword [esi], xmm0
jmp 0x1004f403
mov eax, dword [esp + 0x14]
add eax, 0x78
jmp 0x1004f3aa
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
int3