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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov esi, ecx
shr eax, 1
mov ecx, dword [esp + 0x78]
and eax, 0xffffff01
push edi
mov dword [esp + 0x2c], eax
push dword [ecx + 0x1c]
lea ebp, [ecx + 0x40]
call fcn.10079040
mov edx, dword [ecx + 8]
add esp, 4
mov ecx, dword [ecx + 0x14]
mov edi, 1
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x60]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x64]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x1013ea4e
mov eax, edi
lock xadd dword [ecx], eax
mov eax, dword [esp + 0x2c]
movzx eax, al
xor eax, 1
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push ebp
mov dword [esp + 0x50], ecx
mov ecx, esi
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x40], 0
call fcn.100bc010
push 0x840
lea eax, [esi + 0xe4]
mov dword [esi], 0x10399564
push eax
lea ecx, [esi + 0x924]
mov dword [esi + 8], 0x10399648
call fcn.10202230
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x1013eadc
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x1013eadc
push 0x90
push ecx
call fcn.1037dfe9
add esp, 8
mov dword [esi], 0x10399668
lea eax, [ebx + 4]
mov dword [esi + 8], 0x1039974c
lock xadd dword [eax], edi
test byte [esp + 0x80], 1
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x958], ebx
mov dword [esp + 0x7c], 0
mov dword [esi + 0x95c], eax
je 0x1013ec31
mov edi, dword [ebx + 0xac]
cmp byte [edi + 0x4c], 0
je 0x1013eb42
push str.SkGpuDevice::clearAll
lea ecx, [esp + 0x14]
call fcn.10053fa0
push eax
lea ecx, [edi + 0x38]
call fcn.100f37b0
lea ecx, [esp + 0x10]
call fcn.100540d0
mov edi, dword [0x10449b74]
test edi, edi
jne 0x1013eb65
call fcn.1007db10
mov ecx, eax
push str.disabled_by_default_skia.gpu
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
mov dword [0x10449b74], edi
mov dword [esp + 0x14], 0
test byte [edi], 5
je 0x1013ebb2
call fcn.1007db10
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
push 0
push 0
push str.SkGpuDevice::clearAll
mov eax, dword [ecx]
push edi
push 0x58
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], str.SkGpuDevice::clearAll
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x95c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x60]
push 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
movups xmm0, xmmword [esp + 0x3c]
push 0x10399544
push eax
movups xmmword [esp + 0x6c], xmm0
call fcn.100ee6f0
cmp dword [esp + 0x14], 0
je 0x1013ec23
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1013ec23
call fcn.1007db10
push dword [esp + 0x28]
mov ecx, eax
push dword [esp + 0x28]
mov edx, dword [eax]
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x1013ec31
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1037e005
add esp, 0x64
ret 0xc