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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov ebx, edx
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
mov byte [esp + 0x30], al
mov byte [esp + 0x50], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x2e], al
mov dword [esp + 4], ecx
cmp dword [ecx + 0x3c], 0
je 0x1004879b
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov esi, dword [esi]
mov dword [edx], esi
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov edx, ecx
movzx eax, al
inc eax
shr edx, 7
jne 0x1004861f
movzx edi, al
add edi, ecx
mov ecx, dword [esp + 4]
push dword [ebp + 0x10]
call fcn.10048850
test eax, eax
je 0x10048823
mov ebx, eax
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x20]
sub ecx, eax
cmp edi, ecx
jbe 0x10048723
mov byte [esp + 0x2f], 1
mov ecx, dword [esp + 4]
push dword [ebp + 0x10]
call fcn.10048900
test eax, eax
je 0x10048823
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 + 0xc], ecx
cmp ecx, 0xffffffff
je 0x1004882f
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x28]
add esi, dword [esp + 8]
mov dword [esp + 0x10], esi
adc edx, 0
mov ecx, dword [esp + 4]
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 + 0xc]
mov dword [eax], esi
mov dword [eax + 4], esi
cmp esi, 0xffffffff
je 0x1004882f
mov ecx, dword [esp + 8]
add ebx, ecx
add ebx, 0x40
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
add eax, 0x40
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
add eax, edi
mov dword [esp + 0x44], edx
adc edx, 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov byte [esp + 0x2e], 1
test ecx, ecx
jne 0x1004877b
test esi, esi
je 0x1004877b
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__mCurrentSpan.IsEmpty____mNextSpanOrEmpty.IsEmpty___
int3
sete byte [esp + 0x2f]
cmp ecx, edi
cmova ecx, edi
lea edx, [ecx + eax]
mov dword [ebx + 4], edx
inc dword [ebx + 0x24]
cmp ecx, 0xffffffff
je 0x1004882f
lea edx, [ebx + eax]
add edx, 0x40
add eax, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
adc esi, 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], eax
add eax, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
adc esi, 0
mov dword [esp + 0x4c], esi
mov byte [esp + 0x50], 1
mov eax, dword [esp + 4]
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
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x2f]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2e]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 1
cmp byte [esp + 0x50], 0
je 0x100487e0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea edi, [esp + 0x30]
push edi
push dword [eax]
call fcn.100489a0
add esp, 8
cmp byte [edi + 0x20], 0
jne 0x10048805
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
lea ecx, [esp + 0x18]
call fcn.10048ae0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.1002f5c0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
lea edi, [esp + 0x30]
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.10048a10
movsd xmm0, qword [edi + 0x10]
movsd qword [ebx], xmm0
jmp 0x100487e7
mov eax, dword [esp + 4]
add eax, 0x78
jmp 0x10048791
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
int3