Function at 0x5b1170
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 0x6b3fe0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x748068]
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], 0x6ee140
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 0x5b12a8
cmp dword [eax + 0x18], 0
je 0x5b12e6
cmp dword [eax + 0x1c], 0
je 0x5b12e6
mov ecx, dword [eax]
test ecx, ecx
je 0x5b12e6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
lea eax, [esi + 0xa4]
jne 0x5b12a8
cmp dword [eax + 0x20], 6
jne 0x5b12a8
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cfc40
mov byte [ebp - 4], 2
cmp dword [esi + 0xb0], 0
jne 0x5b1296
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004cfc80
jmp 0x5b12e6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004cfc80
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 0x5b12e8
cmp dword [ecx + 4], 0
jne 0x5b12e8
lea eax, [esi + 0xe0]
cmp eax, ecx
mov eax, dword [ecx]
jne 0x5b12e2
push 0
jmp 0x5b12e4
push 1
call dword [eax]
xor ecx, ecx
mov dword [esi + 0x168], ecx
test ecx, ecx
je 0x5b16ce
cmp dword [ecx + 0x10], 0
jle 0x5b16ce
cmp dword [ecx + 0x14], 0
jle 0x5b16ce
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 0x5b1351
lea ecx, [esi + 0x20]
call fcn.00556d30
movzx eax, al
mov dword [esi + 0x44], eax
movss xmm3, dword [0x6f2b58]
mov edx, eax
and edx, 0xe
cmp byte [esi + 0x8b], 0
jne 0x5b137b
cmp byte [esi + 0x8c], 0
jne 0x5b137b
mov byte [ebp - 0x60], 1
mov ecx, eax
jmp 0x5b1417
mov byte [ebp - 0x60], 0
mov ecx, eax
test edx, edx
je 0x5b1417
cmp dword [esi + 0xc], 0
mov edx, dword [esi + 0x10]
je 0x5b1417
test edx, edx
je 0x5b1417
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 0x5b1429
lea ecx, [esi + 0x20]
call fcn.00556d30
movzx ecx, al
mov dword [esi + 0x44], ecx
mov eax, ecx
and eax, 0xf
cmp al, 3
ja 0x5b15a5
test cl, cl
jns 0x5b1448
lea ecx, [esi + 0x20]
call fcn.00556d30
movzx ecx, al
mov dword [esi + 0x44], ecx
test cl, 0xf
jne 0x5b1457
lea ecx, [ebp - 0x4c]
call fcn.00556ce0
jmp 0x5b1473
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x20]
call fcn.005579e0
test al, al
je 0x5b15a5
movss xmm3, dword [0x6f2b58]
cmp byte [ebp - 0x60], 0
mov eax, dword [ebp - 0x28]
je 0x5b151d
test al, al
jns 0x5b1492
lea ecx, [ebp - 0x4c]
call fcn.00556d30
movzx eax, al
mov dword [ebp - 0x28], eax
test al, 2
je 0x5b155e
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 0x5b14d4
lea ecx, [ebp - 0x4c]
call fcn.00556d30
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 + 0x6d2a00]
lea ecx, [ebp - 0x4c]
push ecx
call eax
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00556b70
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0xc]
jne 0x5b15a5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x10]
jne 0x5b15a5
jmp 0x5b155e
test al, al
jns 0x5b152c
lea ecx, [ebp - 0x4c]
call fcn.00556d30
movzx eax, al
test al, 2
je 0x5b155e
movss xmm0, dword [ebp - 0x4c]
subss xmm0, xmm3
call fcn.004d5c30
movss xmm1, dword [0x6f2a4c]
comiss xmm1, xmm0
jb 0x5b15a5
movss xmm0, dword [ebp - 0x3c]
subss xmm0, xmm3
call fcn.004d5c30
comiss xmm1, xmm0
jb 0x5b15a5
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [0x6f2b28]
call fcn.00542bc0
xorps xmm0, xmmword [0x6f3380]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [0x6f2b28]
call fcn.00542bc0
xorps xmm0, xmmword [0x6f3380]
lea ecx, [esi + 0x20]
movss xmm1, dword [ebp - 0x64]
movaps xmm2, xmm0
call fcn.00556e70
mov eax, dword [esi + 0x44]
test al, al
jns 0x5b15ba
lea ecx, [esi + 0x20]
call fcn.00556d30
movzx eax, al
mov dword [esi + 0x44], eax
and eax, 0xf
mov eax, dword [eax*4 + 0x6d29c0]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
test al, al
jns 0x5b15dc
lea ecx, [esi + 0x20]
call fcn.00556d30
movzx ecx, al
mov dword [esi + 0x44], ecx
and al, 0xf
mov byte [esi + 0x8a], al
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x6f2e24]
cvttss2si eax, xmm0
mov dword [esi + 0x80], eax
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x6f2e44]
call fcn.0067e8de
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
movss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [0x6f2e24]
cvttss2si eax, xmm0
mov dword [esi + 0x84], eax
movss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [0x6f2e44]
call fcn.0067e8de
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 0x5b1692
lea ecx, [esi + 0x20]
call fcn.00556d30
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 0x5b16be
cmp byte [esi + 0x8a], 1
jbe 0x5b16b7
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0xc]
test eax, 0xffffc000
je 0x5b16be
mov byte [esi + 0x8d], 0
push ecx
push dword [ebp - 0x60]
mov ecx, esi
push dword [ebp - 0x64]
call fcn.005b1700
jmp 0x5b16d0
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.0064fb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8