Function at 0x10113830
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2a00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0xc]
movups xmmword [esi + 0xc], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ecx
movups xmmword [esi + 0x20], xmm0
mov dword [ebp - 0x68], vtable.SkBitmapController.0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x40], xmm0
mov eax, dword [ecx + 0x40]
shr eax, 0x1c
and al, 3
mov byte [esi + 0x8d], al
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0x1022171c
mov dword [ebp - 4], 1
mov eax, dword [ecx + 0x40]
shr eax, 0x1c
and eax, 3
cmp dword [esi + 0xd8], 0
mov dword [ebp - 0x60], eax
lea eax, [esi + 0xa4]
jne 0x10113968
cmp dword [eax + 0x18], 0
je 0x101139a6
cmp dword [eax + 0x1c], 0
je 0x101139a6
mov ecx, dword [eax]
test ecx, ecx
je 0x101139a6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
lea eax, [esi + 0xa4]
jne 0x10113968
cmp dword [eax + 0x20], 6
jne 0x10113968
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10055220
mov byte [ebp - 4], 2
cmp dword [esi + 0xb0], 0
jne 0x10113956
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10055260
jmp 0x101139a6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10055260
lea eax, [esi + 0xa4]
push 0x88
lea ecx, [esi + 0xe0]
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
call eax
mov ecx, eax
test ecx, ecx
je 0x101139a8
cmp dword [ecx + 4], 0
jne 0x101139a8
lea eax, [esi + 0xe0]
cmp eax, ecx
mov eax, dword [ecx]
jne 0x101139a2
push 0
jmp 0x101139a4
push 1
call dword [eax]
xor ecx, ecx
mov dword [esi + 0x168], ecx
test ecx, ecx
je 0x10113d8e
cmp dword [ecx + 0x10], 0
jle 0x10113d8e
cmp dword [ecx + 0x14], 0
jle 0x10113d8e
movups xmm0, xmmword [ecx + 4]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ecx + 0x14]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x24]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x34]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [ecx + 0x44]
movq qword [esi + 0x40], xmm0
mov eax, dword [ecx + 0x4c]
mov byte [esi + 0x8d], al
mov eax, dword [esi + 0x44]
test al, al
jns 0x10113a11
lea ecx, [esi + 0x20]
call fcn.100b5420
movzx eax, al
mov dword [esi + 0x44], eax
movss xmm3, dword [0x10226298]
mov edx, eax
and edx, 0xe
cmp byte [esi + 0x8b], 0
jne 0x10113a3b
cmp byte [esi + 0x8c], 0
jne 0x10113a3b
mov byte [ebp - 0x60], 1
mov ecx, eax
jmp 0x10113ad7
mov byte [ebp - 0x60], 0
mov ecx, eax
test edx, edx
je 0x10113ad7
cmp dword [esi + 0xc], 0
mov edx, dword [esi + 0x10]
je 0x10113ad7
test edx, edx
je 0x10113ad7
movd xmm0, dword [esi + 0xc]
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x44], 0x80
mov ecx, 0x80
movaps xmm2, xmm3
divss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss xmm0, dword [esi + 0x20]
mulss xmm0, xmm1
movss dword [esi + 0x20], xmm0
movss xmm0, dword [esi + 0x24]
mulss xmm0, xmm1
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esi + 0x28]
mulss xmm0, xmm1
movss dword [esi + 0x28], xmm0
movss xmm0, dword [esi + 0x30]
mulss xmm0, xmm2
movss dword [esi + 0x30], xmm0
movss xmm0, dword [esi + 0x2c]
mulss xmm0, xmm2
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [esi + 0x34]
mulss xmm0, xmm2
movss dword [esi + 0x34], xmm0
test cl, cl
jns 0x10113ae9
lea ecx, [esi + 0x20]
call fcn.100b5420
movzx ecx, al
mov dword [esi + 0x44], ecx
mov eax, ecx
and eax, 0xf
cmp al, 3
ja 0x10113c65
test cl, cl
jns 0x10113b08
lea ecx, [esi + 0x20]
call fcn.100b5420
movzx ecx, al
mov dword [esi + 0x44], ecx
test cl, 0xf
jne 0x10113b17
lea ecx, [ebp - 0x4c]
call fcn.100b53d0
jmp 0x10113b33
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x20]
call fcn.100b60d0
test al, al
je 0x10113c65
movss xmm3, dword [0x10226298]
cmp byte [ebp - 0x60], 0
mov eax, dword [ebp - 0x28]
je 0x10113bdd
test al, al
jns 0x10113b52
lea ecx, [ebp - 0x4c]
call fcn.100b5420
movzx eax, al
mov dword [ebp - 0x28], eax
test al, 2
je 0x10113c1e
movd xmm0, dword [esi + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movd xmm0, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
test al, al
jns 0x10113b94
lea ecx, [ebp - 0x4c]
call fcn.100b5420
movzx eax, al
mov dword [ebp - 0x28], eax
push 2
lea ecx, [ebp - 0x24]
and eax, 0xf
push ecx
lea ecx, [ebp - 0x5c]
push ecx
mov eax, dword [eax*4 + 0x10207f00]
lea ecx, [ebp - 0x4c]
push ecx
call eax
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x5c]
push eax
call fcn.100b5260
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0xc]
jne 0x10113c65
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x10]
jne 0x10113c65
jmp 0x10113c1e
test al, al
jns 0x10113bec
lea ecx, [ebp - 0x4c]
call fcn.100b5420
movzx eax, al
test al, 2
je 0x10113c1e
movss xmm0, dword [ebp - 0x4c]
subss xmm0, xmm3
call fcn.1005f380
movss xmm1, dword [0x10226188]
comiss xmm1, xmm0
jb 0x10113c65
movss xmm0, dword [ebp - 0x3c]
subss xmm0, xmm3
call fcn.1005f380
comiss xmm1, xmm0
jb 0x10113c65
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [0x10226268]
call fcn.1009e320
xorps xmm0, xmmword [0x10226a70]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [0x10226268]
call fcn.1009e320
xorps xmm0, xmmword [0x10226a70]
lea ecx, [esi + 0x20]
movss xmm1, dword [ebp - 0x64]
movaps xmm2, xmm0
call fcn.100b5560
mov eax, dword [esi + 0x44]
test al, al
jns 0x10113c7a
lea ecx, [esi + 0x20]
call fcn.100b5420
movzx eax, al
mov dword [esi + 0x44], eax
and eax, 0xf
mov eax, dword [eax*4 + 0x10207ec0]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
test al, al
jns 0x10113c9c
lea ecx, [esi + 0x20]
call fcn.100b5420
movzx ecx, al
mov dword [esi + 0x44], ecx
and al, 0xf
mov byte [esi + 0x8a], al
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x10226540]
cvttss2si eax, xmm0
mov dword [esi + 0x80], eax
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x10226564]
call fcn.101d58ae
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
movss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [0x10226540]
cvttss2si eax, xmm0
mov dword [esi + 0x84], eax
movss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [0x10226564]
call fcn.101d58ae
mov ecx, dword [ebp - 0x6c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
movzx eax, byte [ecx + 0x37]
inc ax
mov dword [esi + 0x90], 0
mov word [esi + 0x88], ax
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 0x44]
test al, al
jns 0x10113d52
lea ecx, [esi + 0x20]
call fcn.100b5420
mov ecx, dword [ebp - 0x6c]
movzx eax, al
mov dword [esi + 0x44], eax
test al, 0xe
sete byte [ebp - 0x64]
cmp byte [esi + 0x8d], 1
jne 0x10113d7e
cmp byte [esi + 0x8a], 1
jbe 0x10113d77
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0xc]
test eax, 0xffffc000
je 0x10113d7e
mov byte [esi + 0x8d], 0
push ecx
push dword [ebp - 0x60]
mov ecx, esi
push dword [ebp - 0x64]
call fcn.10113dd0
jmp 0x10113d90
xor al, al
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x68], vtable.SkBitmapController.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8