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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x1007a00c]
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [esp + 0x50], eax
xor eax, eax
mov byte [esp + 0x28], al
mov byte [esp + 0x48], al
mov byte [esp + 0x27], al
mov byte [esp + 0x26], al
cmp dword [ecx + 0x3c], 0
je 0x10035db6
mov esi, dword [edx + 4]
mov edi, dword [edx]
mov esi, dword [esi]
mov dword [edi], esi
mov edx, dword [edx]
mov edi, dword [edx]
mov edx, edi
movzx eax, al
inc eax
shr edx, 7
jne 0x10035c45
movzx esi, al
mov dword [esp], ecx
add esi, edi
push ebx
call fcn.1001b8b0
test eax, eax
je 0x10035e41
mov edi, eax
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x20]
sub ecx, eax
cmp esi, ecx
jbe 0x10035d45
mov ecx, dword [esp]
mov byte [esp + 0x27], 1
push ebx
call fcn.1001b940
test eax, eax
je 0x10035e41
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0x20]
mov dword [edi + 4], ecx
mov dword [esp + 4], edx
inc dword [edi + 0x24]
sub ecx, edx
cmp ecx, 0xffffffff
mov dword [esp + 8], ecx
je 0x10035e4c
mov ebx, dword [edi + 0x28]
mov ecx, dword [esp + 4]
mov edx, dword [edi + 0x2c]
add ebx, ecx
mov ecx, dword [esp]
mov dword [esp + 0xc], ebx
adc edx, 0
movsd xmm0, qword [ecx + 0x50]
movsd qword [eax + 0x28], xmm0
mov ebx, dword [eax + 0x20]
add dword [ecx + 0x50], ebx
mov ebx, esi
adc dword [ecx + 0x54], 0
sub ebx, dword [esp + 8]
cmp ebx, 0xffffffff
mov dword [eax], ebx
mov dword [eax + 4], ebx
je 0x10035e4c
mov ecx, dword [esp + 4]
add eax, 0x40
mov byte [esp + 0x26], 1
lea edi, [edi + ecx + 0x40]
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
add edi, esi
adc edx, 0
test ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
jne 0x10035d32
test ebx, ebx
jne 0x10035e61
mov ecx, dword [esp]
mov byte [esp + 0x48], 1
mov ebx, dword [ebp + 0xc]
add dword [ecx + 0x60], esi
lea eax, [ecx + 0x68]
jmp 0x10035da9
sete byte [esp + 0x27]
cmp ecx, esi
cmova ecx, esi
lea edx, [ecx + eax]
mov dword [edi + 4], edx
inc dword [edi + 0x24]
cmp ecx, 0xffffffff
je 0x10035e4c
lea edx, [edi + eax + 0x40]
add eax, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
adc edi, 0
mov dword [esp + 0x38], eax
add eax, esi
mov dword [esp + 0x3c], edi
adc edi, 0
mov dword [esp + 0x40], eax
lea eax, [ecx + 0x68]
mov dword [esp + 0x44], edi
mov byte [esp + 0x48], 1
add dword [ecx + 0x60], esi
adc dword [ecx + 0x64], 0
xor esi, esi
inc esi
add dword [eax], esi
adc dword [eax + 4], 0
cmp byte [esp + 0x48], 0
lea eax, [esp + 0x27]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x26]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 1
je 0x10035df4
mov esi, dword [ebp + 8]
lea edi, [esp + 0x28]
mov eax, dword [esi]
push edi
push dword [eax]
call fcn.1001bd30
add esp, 8
cmp byte [edi + 0x20], 0
jne 0x10035e14
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.1001c490
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.10069260
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
or edx, dword [ecx + 4]
jne 0x10035e2a
movsd xmm0, qword [esp + 0x38]
movsd qword [ecx], xmm0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x28]
mov edx, dword [eax + 8]
add edx, dword [eax]
push edx
push eax
call fcn.1001c2a0
mov bl, 1
jmp 0x10035df6
mov ecx, dword [esp]
lea eax, [ecx + 0x78]
jmp 0x10035db0
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT___elements__extentSize__0____elements__extentSize___dynamic_extent__
mov ecx, 0x321
int3
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__mCurrentSpan.IsEmpty____mNextSpanOrEmpty.IsEmpty___
mov ecx, 0x147
jmp 0x10035e5b