Function at 0x10035190
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 esi, ecx
mov eax, dword [0x1007a00c]
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
cmp dword [ecx + 0x3c], 0
je 0x10035299
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
movups xmmword [esp], xmm0
call fcn.10035440
mov ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, eax
movzx ebx, bl
inc ebx
shr ecx, 7
jne 0x100351ef
movzx ebx, bl
add ebx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov ecx, esi
call fcn.100354a0
sub esp, 4
test eax, eax
je 0x1003541f
mov edi, eax
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x20]
sub ecx, eax
cmp ebx, ecx
ja 0x10035341
sete byte [esp + 0x3f]
cmp ecx, ebx
cmova ecx, ebx
lea edx, [ecx + eax]
mov dword [edi + 4], edx
inc dword [edi + 0x24]
cmp ecx, 0xffffffff
je 0x10035429
lea edx, [edi + eax]
add edx, 0x40
add eax, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
adc edi, 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add eax, ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
adc edi, 0
mov dword [esp + 0x5c], edi
mov byte [esp + 0x60], 1
add dword [esi + 0x60], ebx
adc dword [esi + 0x64], 0
lea eax, [esi + 0x68]
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
add dword [eax], ebx
adc dword [eax + 4], ecx
mov edi, dword [ebp + 8]
lea eax, [esp + 0x3f]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x3e]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
mov byte [esp + 0x38], 1
cmp byte [esp + 0x60], 0
jne 0x100352e8
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi], eax
cmp byte [esp + 0x38], 0
jne 0x10035336
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.1002cad0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax]
lea ebx, [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.100355f0
cmp byte [ebx + 0x20], 0
je 0x100352c3
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
movups xmm0, xmmword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
movups xmmword [esp], xmm0
lea esi, [esp + 0x40]
mov ecx, esi
call fcn.10035660
sub esp, 0x18
movsd xmm0, qword [esi + 0x10]
movsd qword [edi], xmm0
jmp 0x100352ca
lea ecx, [esp + 0x28]
call fcn.100356d0
jmp 0x100352d1
mov byte [esp + 0x3f], 1
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov ecx, esi
call fcn.10035530
sub esp, 4
test eax, eax
je 0x1003541f
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x20]
mov dword [edi + 4], ecx
sub ecx, dword [esp + 0x18]
inc dword [edi + 0x24]
mov dword [esp + 0x1c], ecx
cmp ecx, 0xffffffff
je 0x10035429
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
add edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
adc ecx, 0
mov dword [esp + 0x24], ecx
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + 0x28], xmm0
mov ecx, dword [eax + 0x20]
add dword [esi + 0x50], ecx
adc dword [esi + 0x54], 0
mov ecx, ebx
sub ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp ecx, 0xffffffff
je 0x10035429
mov edx, dword [esp + 0x18]
add edx, edi
add edx, 0x40
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
add eax, 0x40
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
add eax, ebx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], edx
adc edx, 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov byte [esp + 0x3e], 1
test edi, edi
jne 0x1003527f
test ecx, ecx
je 0x1003527f
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__mCurrentSpan.IsEmpty____mNextSpanOrEmpty.IsEmpty___
int3
xor ecx, ecx
lea eax, [esi + 0x78]
jmp 0x10035294
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
int3