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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x290
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [esp + 0x288], eax
mov edi, dword [ecx + 0x1400]
mov eax, dword [edi + 0x100]
mov dword [esp + 0xc], eax
lea ebx, [esp + 0x40]
push 0x88
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x108]
xor esi, esi
cmp byte [eax + 0x13c], 0
mov dword [esp + 0x18], eax
je 0x101182dc
mov ecx, dword [eax + 8]
call fcn.100eeaa0
cmp byte [eax + 0x78], 0
je 0x101182dc
xor eax, eax
cmp byte [ebp + 0x18], 0
sete al
lea esi, [eax + eax]
inc esi
mov dword [esp + 0x44], esi
cmp dword [ebp + 0x20], 0
mov ecx, dword [ebp + 0xc]
jle 0x101182ec
or esi, 4
mov dword [esp + 0x44], esi
mov edx, dword [edi + 0xc8]
xor eax, eax
inc eax
cmp edx, 0xffffffff
cmove edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x140c]
mov edx, dword [eax + 0x38]
mov eax, 0
test edx, edx
je 0x10118425
mov eax, dword [ecx + 0x1420]
mov dword [esp + 0x1c], eax
bsf esi, edx
mov dword [esp + 4], edx
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x398]
mov ebx, dword [eax + 0x39c]
mov dword [esp], 0
cmp edi, ebx
je 0x10118384
cmp dword [edi + 0x88], 0xffffffff
jne 0x10118356
add edi, 0xb4
cmp ebx, edi
jne 0x10118341
jmp 0x10118384
push dword [edi]
call fcn.10228be0
add esp, 4
mov dword [esp + 0x10], eax
push eax
call fcn.10228810
add esp, 4
mov ecx, dword [edi + 0x88]
cmp ecx, esi
jg 0x1011834a
add ecx, eax
cmp ecx, esi
jle 0x1011834a
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, esi
shl eax, 5
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x74]
mov dword [esp + 0x10], edx
lea edx, [ecx + eax]
mov edi, dword [ecx + eax + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + esi*4 + 0x218]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1414]
lea ecx, [esi + esi*4]
push dword [eax + ecx*4 + 0x10]
push edx
call fcn.100a9e90
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [edi + edi*2]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + eax*8 + 4]
imul edi, dword [esp + 0x20]
push dword [esp]
call fcn.100a9980
add esp, 4
movzx ecx, byte [esp + 0x14]
shl ecx, 0x10
shl ebx, 8
movzx edx, bx
or edx, ecx
movzx eax, al
or eax, edx
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 1]
mov dword [esp + 0x40], edx
mov dword [esp + ecx*8 + 0x4c], edi
mov dword [esp + ecx*8 + 0x48], eax
mov edx, dword [esp + 4]
btr edx, esi
bsf esi, edx
jne 0x10118322
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
lea ebx, [esp + 0x40]
or esi, eax
je 0x10118aee
lea esi, [esp + 0x48]
push 0xabcdef98
push 0x88
push ebx
call fcn.10001f60
add esp, 0xc
mov ecx, dword [esp + 8]
and eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov edi, dword [ecx + eax*8]
add eax, eax
inc eax
mov dword [esp + 4], eax
mov eax, dword [esi - 8]
mov dword [esp], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x10], eax
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
cmp edx, edi
je 0x10118481
mov eax, dword [esp + 4]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
jmp 0x10118483
mov eax, edi
cmp ebx, eax
je 0x1011853e
mov eax, dword [esp]
cmp dword [ebx + 8], eax
jne 0x101184be
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0xc], eax
jne 0x101184be
lea esi, [ebx + 0x10]
push 0x80
lea eax, [esp + 0x4c]
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x101184c2
mov ebx, dword [ebx]
jmp 0x10118472
push 0x80
push esi
lea eax, [esp + 0x50]
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
cmovne ebx, esi
cmp ebx, esi
je 0x1011853e
mov ecx, dword [ebx + 0x90]
mov eax, dword [esp + 8]
mov esi, dword [eax + 4]
mov eax, dword [esi]
cmp esi, ecx
je 0x1011852b
cmp eax, ecx
je 0x10118529
mov edx, dword [ecx]
cmp edx, eax
je 0x10118529
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov esi, dword [eax + 4]
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], esi
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
jmp 0x1011852b
mov ecx, esi
cmp eax, ecx
je 0x1011853e
add eax, 0x90
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
jmp 0x10118aee
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x2c]
shr ecx, 2
lea eax, [ecx + 0x80]
cmp dword [ebx + 0x14], eax
jb 0x10118618
lea esi, [esp + 0xc8]
mov dword [esp], ecx
mov ecx, esi
push 2
push 0x96
push str.TrimCache
push str._builds_worker_checkouts_gecko_gfx_angle_checkout_src_libANGLE_SizedMRUCache.h
call fcn.10226940
lea eax, [esp + 0xd8]
push str.Overflowed_the
push eax
call fcn.10003890
add esp, 8
push 0x1031b3a7
push eax
call fcn.10003890
add esp, 8
push str._cache_limit_of
push eax
call fcn.10003890
add esp, 8
mov ecx, eax
push dword [esp]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push str._elements__removing_the_least_recently_used_to_make_room.
push eax
call fcn.10003890
add esp, 8
mov ecx, esi
call fcn.102269f0
mov edi, dword [ebx + 0x14]
cmp edi, dword [esp]
jbe 0x10118618
lea eax, [ebx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
lea edx, [esi + 8]
mov ecx, dword [esp + 4]
call fcn.10118b50
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
dec dword [ebx + 8]
lea ecx, [esi + 0x90]
call fcn.1010c120
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
dec edi
cmp edi, dword [esp]
ja 0x101185d9
mov dword [esp + 0x24], 0x102e7dc0
push 8
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x102e7dc0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x1e10]
mov dword [esp + 0xc], eax
mov edi, dword [eax + 0x1e60]
cmp byte [ecx + 0x13c], 0
mov dword [esp + 0x14], ecx
je 0x10118670
mov ecx, dword [ecx + 8]
call fcn.100eeaa0
cmp byte [eax + 0x78], 0
setne bl
xor esi, esi
inc esi
mov eax, dword [ebp + 0x10]
mov ecx, eax
mov eax, dword [eax]
cmp dword [ecx + 4], eax
je 0x10118766
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
lea edi, [esp + 0xe0]
xor edx, edx
mov dword [esp], edx
mov esi, dword [eax + edx*4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + edx*4]
mov dword [esp + 4], eax
xor ebx, ebx
cmp dword [esi + 0x28], 0
setne bl
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.100a9e90
add esp, 8
push dword [esp + 0x10]
push eax
call fcn.1014dcc0
mov edx, dword [esp + 8]
add esp, 8
mov dword [edi - 0x18], 0x1033823f
mov ecx, dword [esp + 4]
mov dword [edi - 0x14], ecx
mov eax, dword [eax + 4]
mov dword [edi - 0x10], eax
mov dword [edi - 0xc], edx
mov dword [edi - 8], 0
mov dword [edi - 4], ebx
mov eax, dword [esi + 0x28]
mov dword [edi], eax
inc edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
add edi, 0x1c
cmp edx, ecx
jb 0x10118694
cmp byte [esp + 0x18], 0
je 0x1011876e
mov dword [esp], edx
lea ecx, [edx - 1]
xor esi, esi
cmp dword [ebp + 0x20], 0
mov edx, 0
mov edi, dword [ebp + 0x1c]
cmovg edx, edi
test edi, edi
cmovle edx, esi
lea edi, [esp + 0xe0]
xor ebx, ebx
dec ebx
xor esi, esi
inc esi
cmp byte [ebp + 0x18], 0
je 0x1011874a
inc dword [edi - 0xc]
inc ebx
add edi, 0x1c
cmp ecx, ebx
jne 0x10118737
jmp 0x10118773
mov dword [edi - 4], esi
mov dword [edi], esi
test edx, edx
je 0x1011873d
mov esi, dword [eax + ebx*4 + 4]
cmp dword [esi + 0x28], 0
mov esi, 1
je 0x1011873d
mov dword [edi], edx
jmp 0x1011873d
xor edx, edx
test bl, bl
jne 0x10118776
jmp 0x101187d3
xor esi, esi
inc esi
jmp 0x101187d3
mov edx, dword [esp]
lea eax, [edx + edx*8]
lea eax, [eax + eax*2]
add eax, edx
mov dword [esp + eax + 0xc8], str.SPRITEPOSITION
xor ecx, ecx
mov dword [esp + eax + 0xcc], ecx
mov dword [esp + eax + 0xd0], 6
xorps xmm0, xmm0
movups xmmword [esp + eax + 0xd4], xmm0
mov dword [esp + eax + 0xe4], str.SPRITETEXCOORD
movaps xmm0, xmmword [0x102e8140]
movups xmmword [esp + eax + 0xe8], xmm0
mov dword [esp + eax + 0xf8], ecx
mov dword [esp + eax + 0xfc], ecx
add edx, 2
mov edi, edx
xor eax, eax
lea edx, [esp + 0x3c]
mov dword [edx], eax
mov ebx, dword [ebp + 8]
add ebx, 0x24
mov ecx, dword [esp + 0x14]
push eax
push edx
push ebx
call fcn.100e2a00
cmp eax, 1
je 0x10118839
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x34]
mov dword [edx], ecx
mov dword [edx + 4], edi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
lea esi, [esp + 0x2c]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x2280]
lea edi, [esp + 0x24]
push edi
push esi
xor esi, esi
inc esi
push edx
push eax
push ebx
call fcn.1012d110
cmp eax, 1
jne 0x10118847
lea ecx, [esp + 0x24]
call fcn.1010c120
jmp 0x10118af0
mov edi, dword [esp + 8]
lea esi, [edi + 0xc]
push 0xabcdef98
push 0x88
lea eax, [esp + 0x48]
push eax
call fcn.10001f60
mov ecx, esi
add esp, 0xc
and eax, dword [edi + 0x24]
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x18]
mov dword [esp + 4], esi
mov edi, dword [esi + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov ebx, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
cmp edx, edi
je 0x101188ab
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
jmp 0x101188ad
mov eax, edi
cmp ebx, eax
je 0x1011894a
mov eax, dword [esp]
cmp dword [ebx + 8], eax
jne 0x101188e8
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0xc], eax
jne 0x101188e8
lea esi, [ebx + 0x10]
push 0x80
lea eax, [esp + 0x4c]
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x101188ec
mov ebx, dword [ebx]
jmp 0x10118898
push 0x80
push esi
lea eax, [esp + 0x50]
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memcmp
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
cmovne ebx, esi
cmp ebx, esi
je 0x1011894a
mov esi, dword [ebx + 0x90]
lea edx, [esi + 8]
call fcn.10118b50
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ebx, dword [esp + 8]
dec dword [ebx + 8]
mov ecx, 0x90
add ecx, esi
call fcn.1010c120
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x101189aa
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x101189aa
dec eax
mov edi, dword [ebx + 0x14]
cmp edi, eax
jbe 0x101189aa
mov esi, ecx
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov ebx, dword [eax + 4]
lea edx, [ebx + 8]
mov ecx, esi
call fcn.10118b50
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov eax, dword [esp + 8]
dec dword [eax + 8]
lea ecx, [ebx + 0x90]
call fcn.1010c120
push ebx
mov ebx, dword [esp + 0xc]
call dword [sym.imp.mozglue.dll_free]
mov eax, dword [esp + 4]
add esp, 4
dec edi
cmp edi, eax
ja 0x10118962
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov edi, dword [esi + 4]
push 0x98
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, ebx
mov ebx, eax
test esi, esi
mov dword [esp], edi
mov eax, edi
mov edi, ecx
cmove eax, ebx
mov dword [esp + 4], esi
cmove esi, ebx
mov dword [ebx], esi
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
push 0x88
lea ecx, [esp + 0x44]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebx + 0x90], 0x102e7dc0
push 8
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x94], ecx
mov dword [esp + 0x28], eax
mov dword [ebx + 0x90], 0x102e7dc0
mov eax, dword [edi + 8]
cmp eax, 0x1af286a
je 0x10118b0a
inc eax
mov ecx, dword [esp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
mov dword [eax + 4], ebx
mov eax, dword [esp]
mov dword [eax], ebx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ecx + 0x10]
mov edi, dword [eax]
mov esi, dword [edi + 4]
push 0x98
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
test edi, edi
mov dword [esp + 4], esi
cmove esi, eax
mov ecx, edi
cmove ecx, eax
mov dword [eax], ecx
mov dword [eax + 4], esi
add eax, 8
push 0x88
lea ecx, [esp + 0x44]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
mov dword [ebx + 0x90], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
cmp eax, 0x1af286a
je 0x10118b0a
inc eax
mov esi, dword [esp + 8]
mov dword [esi + 0x14], eax
mov dword [edi + 4], ebx
mov eax, dword [esp + 4]
mov dword [eax], ebx
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
lea edx, [esp + 0xc8]
mov ecx, dword [esp + 0xc]
push eax
add eax, 8
push eax
call fcn.10118e00
add esp, 8
mov eax, dword [esi + 4]
mov ecx, 0x90
add ecx, dword [eax]
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
lea ecx, [esp + 0x24]
call fcn.1010c120
xor esi, esi
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.1021e470
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
push str.list_T__too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3