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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 8]
or edx, 0xffffffff
mov dword [esp + 0x48], eax
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], eax
mov eax, dword [edi + ecx*8]
cmp eax, 3
ja 0x101890e6
cmp eax, edx
mov byte [esp + ecx + 0x54], 1
cmovl eax, edx
mov edx, eax
inc ecx
cmp ecx, 4
jl 0x101890d2
lea eax, [edx + 1]
mov edx, 1
cmp byte [ebp + 0x1a], dl
mov dword [esp + 0x28], eax
mov eax, dword [edi]
lea eax, [eax + eax*2]
mov eax, dword [esi + eax*4]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [ebp + 0x1a]
cmovb ecx, edx
mov dword [esp + 0x24], eax
cmp byte [ebp + 0x18], 3
mov dword [esp + 0x58], ecx
je 0x1018912d
cmp byte [ebp + 0x19], 3
mov byte [esp + 0x17], 0
jne 0x10189131
mov byte [esp + 0x17], dl
push 0x40
lea eax, [esp + 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esp + 0x17], 0
je 0x10189191
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x4c]
call fcn.1019f340
add esp, 8
lea esi, [esp + 0xb8]
xor edx, edx
nop dword [eax]
mov ecx, dword [edi + edx*8]
cmp ecx, 0xffffffff
je 0x10189191
mov eax, dword [edi + edx*8 + 4]
inc edx
lea ecx, [eax + ecx*4]
mov eax, dword [esi]
add esi, 0x14
mov dword [esp + ecx*4 + 0x108], eax
cmp edx, 4
jl 0x10189170
lea esi, [esp + 0xf8]
mov edi, 4
nop dword [eax]
mov ecx, esi
call sym.skottie.dll_public:_void___thiscall_skia::tracing_internals::ScopedTracer::constructor_void_
add esi, 4
sub edi, 1
jne 0x101891a0
mov edx, dword [esp + 0x28]
test edx, edx
jle 0x10189555
movss xmm3, dword [0x10386830]
lea ecx, [esp + 0x108]
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
lea edi, [esp + 0xf8]
mov dword [esp + 0x44], edx
nop
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + 0x60]
mov esi, dword [eax + 0x64]
mov al, byte [ebp + 0x1a]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xd4], 0
mov byte [esp + 0x17], al
cmp ecx, dword [esp + 0x2c]
jne 0x1018922f
cmp esi, dword [esp + 0x24]
jne 0x1018922f
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10189416
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x60], xmm0
jmp 0x10189416
mov eax, dword [esp + 0x2c]
movd xmm2, ecx
movd xmm1, esi
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm2, xmm0
movd xmm0, dword [esp + 0x24]
movss dword [esp + 0x38], xmm2
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
test al, 1
je 0x1018927c
cdq
sub eax, edx
sar eax, 1
inc eax
cmp ecx, eax
jne 0x1018927c
movaps xmm2, xmm3
movss dword [esp + 0x38], xmm2
mov ecx, dword [esp + 0x24]
test cl, 1
je 0x1018929a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
inc eax
cmp esi, eax
jne 0x1018929a
movaps xmm1, xmm3
movss dword [esp + 0x3c], xmm1
movaps xmm0, xmmword [0x10386850]
lea ecx, [esp + 0x70]
sub esp, 8
movaps xmmword [esp + 0x78], xmm0
movaps xmm0, xmmword [0x10386850]
movaps xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0x3f800000
movss dword [esp + 4], xmm1
mov dword [esp + 0x9c], 0x10
movss dword [esp], xmm2
call fcn.1003f790
cmp dword [esp + 0xd4], 0
movups xmm1, xmmword [esp + 0x70]
mov eax, dword [esp + 0xa8]
movups xmm2, xmmword [esp + 0x80]
movq xmm3, qword [esp + 0x90]
jne 0x10189343
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xac], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 0x20]
lea eax, [esp + 0xac]
movq qword [esp + 0xcc], xmm0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xa8], eax
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xa8]
movups xmmword [eax + 0x10], xmm2
mov eax, dword [esp + 0xa8]
movq qword [eax + 0x20], xmm3
cmp dword [esp + 0xd4], 0
jne 0x101893ac
mov eax, dword [esp + 0xa8]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xac], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 0x20]
lea eax, [esp + 0xac]
mov ecx, eax
movq qword [esp + 0xcc], xmm0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xa8], ecx
jmp 0x101893b3
mov ecx, dword [esp + 0xa8]
push dword [esp + 0x30]
call fcn.1003eaf0
mov al, byte [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xa8]
mov byte [esp + 0x17], al
test ecx, ecx
je 0x10189416
movss xmm0, dword [ecx]
mulss xmm0, dword [esp + 0x38]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [ecx + 8]
mulss xmm0, dword [esp + 0x38]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ecx + 0xc]
mulss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x6c], xmm0
mov byte [ebp + 0x1a], al
push dword [esp + 0x20]
push dword [esp + 0x44]
test ecx, ecx
je 0x101894ac
lea eax, [esp + 0x68]
push eax
mov ax, word [ebp + 0x18]
push ecx
mov ecx, esp
push edx
push 0
sub esp, 0xc
mov word [ecx], ax
mov esi, esp
mov al, byte [esp + 0x3b]
mov byte [ecx + 2], al
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov edx, dword [eax + ecx]
test edx, edx
je 0x10189466
lea ecx, [edx + 8]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x3c]
mov dword [esi], edx
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ecx + 4]
mov dword [esi + 4], eax
mov ax, word [edx + ecx + 8]
mov word [esi + 8], ax
lea eax, [esp + 0x80]
push eax
call fcn.100e7990
add esp, 0x28
cmp edi, eax
je 0x101894a6
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [edi]
mov dword [edi], edx
test ecx, ecx
je 0x101894a6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x5c]
jmp 0x10189525
mov ax, word [ebp + 0x18]
push ecx
mov ecx, esp
push edx
push 0
sub esp, 0xc
mov word [ecx], ax
mov esi, esp
mov al, byte [esp + 0x37]
mov byte [ecx + 2], al
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + ecx]
test edx, edx
je 0x101894e4
lea ecx, [edx + 8]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x38]
mov dword [esi], edx
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + ecx + 4]
mov dword [esi + 4], eax
mov ax, word [edx + ecx + 8]
mov word [esi + 8], ax
lea eax, [esp + 0x74]
push eax
call fcn.100e7570
add esp, 0x24
cmp edi, eax
je 0x10189521
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [edi]
mov dword [edi], edx
test ecx, ecx
je 0x10189521
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x1018952f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x18]
add edi, 4
add dword [esp + 0x20], 0x10
add eax, 0xc
sub dword [esp + 0x44], 1
movss xmm3, dword [0x10386830]
mov dword [esp + 0x18], eax
jne 0x101891e0
push 0x98
call fcn.100afd90
mov edi, eax
add esp, 4
test edi, edi
je 0x101895d9
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + 0x18]
sar ecx, 0x1f
and ecx, 2
inc ecx
push ecx
push 0x53
mov ecx, edi
call fcn.1007f6c0
mov eax, dword [esp + 0x48]
xor esi, esi
mov dword [edi], 0x1039b374
mov dword [edi + 0x90], eax
cmp dword [esp + 0x28], esi
jle 0x101895c5
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0xf8]
push ecx
mov ecx, esp
mov dword [esp + esi*4 + 0xfc], 0
mov dword [ecx], eax
mov ecx, edi
call fcn.100b1800
inc esi
cmp esi, dword [esp + 0x28]
jl 0x101895a0
push 0x20
push dword [esp + 0x50]
lea eax, [edi + 0x70]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x101895db
xor edi, edi
mov eax, dword [esp + 0x50]
mov esi, 4
mov dword [eax], edi
lea edi, [esp + 0x108]
nop dword [eax]
sub edi, 4
mov ecx, edi
call fcn.1002cda0
sub esi, 1
jne 0x101895f0
mov ecx, dword [esp + 0x14c]
mov eax, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret