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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, ecx
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x70], eax
xor ebx, ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x68], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x46], bl
cmp dword [ecx + 0x3c], 0
je 0x10052160
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]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movups xmmword [esp], xmm0
call fcn.10052310
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 0x100520b6
movzx ebx, bl
add ebx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov ecx, esi
call fcn.10048850
sub esp, 4
test eax, eax
je 0x100522ed
mov edi, eax
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x20]
sub ecx, eax
cmp ebx, ecx
ja 0x1005220f
sete byte [esp + 0x47]
cmp ecx, ebx
cmova ecx, ebx
lea edx, [ecx + eax]
mov dword [edi + 4], edx
inc dword [edi + 0x24]
cmp ecx, 0xffffffff
je 0x100522f7
lea edx, [edi + eax]
add edx, 0x40
add eax, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
adc edi, 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], eax
add eax, ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
adc edi, 0
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 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 + 0x47]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
lea eax, [esp + 0x46]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 1
cmp byte [esp + 0x68], 0
jne 0x100521af
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi], eax
cmp byte [esp + 0x40], 0
jne 0x10052204
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.1002f5c0
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 + 0x48]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.100489a0
cmp byte [ebx + 0x20], 0
je 0x1005218a
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
movups xmm0, xmmword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
movups xmmword [esp], xmm0
lea esi, [esp + 0x48]
mov ecx, esi
call fcn.10052370
sub esp, 0x1c
movsd xmm0, qword [esi + 0x10]
movsd qword [edi], xmm0
jmp 0x10052191
lea ecx, [esp + 0x30]
call fcn.10048ae0
jmp 0x10052198
mov byte [esp + 0x47], 1
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov ecx, esi
call fcn.10048900
sub esp, 4
test eax, eax
je 0x100522ed
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x20]
mov dword [edi + 4], ecx
sub ecx, dword [esp + 0x20]
inc dword [edi + 0x24]
mov dword [esp + 0x24], ecx
cmp ecx, 0xffffffff
je 0x100522f7
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
add edx, dword [esp + 0x20]
mov dword [esp + 0x28], edx
adc ecx, 0
mov dword [esp + 0x2c], 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 + 0x24]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp ecx, 0xffffffff
je 0x100522f7
mov edx, dword [esp + 0x20]
add edx, edi
add edx, 0x40
mov edi, dword [esp + 0x24]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
add eax, 0x40
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
add eax, ebx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
adc edx, 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov byte [esp + 0x46], 1
test edi, edi
jne 0x10052146
test ecx, ecx
je 0x10052146
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__mCurrentSpan.IsEmpty____mNextSpanOrEmpty.IsEmpty___
int3
xor ecx, ecx
lea eax, [esi + 0x78]
jmp 0x1005215b
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
int3