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

Disassembly:
mov eax, 0x102183c4
call fcn.10210210
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ecx, edi
mov dword [esp + 0x10], ecx
cmp dword [edx], 1
jne 0x1005b5c6
cmp dword [edx + 4], 0xafee
jne 0x1005b5c6
push 0xc
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005b5bf
mov dword [eax], vtable.tool::resource.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], vtable.gool::image_filter_none.0
jmp 0x1005c504
mov eax, edi
jmp 0x1005c504
cmp dword [edx], 0xb
je 0x1005b5d2
xor eax, eax
jmp 0x1005c504
push dword [edx + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], edi
call fcn.10067080
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x16c], edi
lea ecx, [esp + 0x64]
mov dword [eax], str.color_schema
mov dword [eax + 4], 0xc
call fcn.100026b6
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x5c]
push eax
lea ebp, [esi + 8]
mov ecx, ebp
call fcn.100206ad
lea ecx, [esp + 0x5c]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005bc67
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005b637
mov eax, dword [eax - 4]
jmp 0x1005b639
mov eax, ebx
cmp eax, 1
mov eax, dword [esi + 0x18]
jne 0x1005b94f
cmp dword [eax + 0x10], 5
jne 0x1005b699
push ecx
push 0x10243760
lea ecx, [esp + 0x30]
call fcn.10131390
mov byte [esp + 0x164], 1
lea eax, [esp + 0xb8]
mov ecx, dword [esi + 0x18]
add ecx, 0x10
mov dword [esp + 0x10], 1
push eax
call fcn.10002ac2
push 3
pop ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.100206ad
mov byte [esp + 0x1f], 1
test al, al
jne 0x1005b69d
mov byte [esp + 0x1f], bl
mov eax, dword [esp + 0x10]
test al, 2
je 0x1005b6bc
and eax, 0xfffffffd
lea ecx, [esp + 0xb8]
mov dword [esp + 0x10], eax
call fcn.100026e7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x164], ebx
test al, 1
je 0x1005b6d7
and eax, 0xfffffffe
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
call fcn.100026e7
cmp byte [esp + 0x1f], 0
je 0x1005b7ee
push 0x20
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005b6f7
mov ecx, eax
call fcn.1005c518
mov ebx, eax
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xf8], 1
mov ecx, 0xff000015
mov byte [esp + 0x164], 2
call fcn.10106a56
mov ecx, eax
mov byte [esp + 0x12], al
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 8
mov byte [esp + 0x10], cl
mov ecx, 0xff000010
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
call fcn.10106a56
mov ecx, eax
mov byte [esp + 0x12], al
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 8
mov byte [esp + 0x10], cl
mov ecx, 0xff00000f
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x10], eax
call fcn.10106a56
mov ecx, eax
mov byte [esp + 0x12], al
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 8
mov byte [esp + 0x10], cl
mov ecx, 0xff000016
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x14], eax
call fcn.10106a56
mov ecx, eax
mov byte [esp + 0x12], al
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 8
mov byte [esp + 0x10], cl
mov ecx, 0xff000014
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.10106a56
mov ecx, eax
mov byte [esp + 0x12], al
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 8
mov byte [esp + 0x11], al
jmp 0x1005bc25
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x9c]
add eax, 0x10
mov dword [esp + 0x9c], ebx
xorps xmm0, xmm0
mov dword [esp + 0xa0], ebx
push eax
movlpd qword [esp + 0xa8], xmm0
call fcn.10002d1e
mov byte [esp + 0x164], 3
mov ebp, 0xff000000
cmp dword [esp + 0x9c], 5
mov dword [esp + 0x60], ebp
jne 0x1005b89d
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xa0]
call fcn.100513f5
mov edx, eax
mov byte [esp + 0x164], 4
lea ecx, [esp + 0x11c]
call fcn.1005d4be
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x168], 5
call fcn.10002d1e
lea ecx, [esp + 0x11c]
mov byte [esp + 0x164], 4
call fcn.10002db8
lea ecx, [esp + 0xb0]
mov byte [esp + 0x164], 3
call fcn.100026e7
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x60]
call fcn.1005aa29
test al, al
jne 0x1005b8c3
push str.CSS_ERROR_image_transformation__color_schema___function:_bad_color_value_n
call fcn.10132dab
pop ecx
mov edi, ebx
jmp 0x1005b943
push 0x10
call fcn.101dbffe
mov edi, eax
pop ecx
test edi, edi
je 0x1005b8ec
mov dword [edi], vtable.tool::resource.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi], vtable.gool::image_filter_color_schema_1.0
mov dword [edi + 0xc], 0
jmp 0x1005b8ee
mov edi, ebx
mov dword [esp + 0xdc], edi
mov byte [esp + 0xe0], 1
mov byte [esp + 0x164], 6
mov edx, dword [esp + 0x60]
cmp edx, ebp
cmove edx, ebp
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005b91f
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], dl
mov eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x9c]
jmp 0x1005c149
test eax, eax
je 0x1005b958
mov eax, dword [eax - 4]
jmp 0x1005b95a
mov eax, ebx
cmp eax, 5
jne 0x1005bc58
mov ebp, 0xff000000
lea edi, [esp + 0xc8]
mov eax, ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xc8]
mov edi, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x8c]
add eax, 0x10
mov dword [esp + 0x8c], ebx
add eax, edi
mov dword [esp + 0x90], ebx
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x98], xmm0
call fcn.10002d1e
mov byte [esp + 0x164], 7
cmp dword [esp + 0x8c], 5
jne 0x1005ba2b
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x90]
call fcn.100513f5
mov edx, eax
mov byte [esp + 0x164], 8
lea ecx, [esp + 0xfc]
call fcn.1005d4be
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x168], 9
call fcn.10002d1e
lea ecx, [esp + 0xfc]
mov byte [esp + 0x164], 8
call fcn.10002db8
lea ecx, [esp + 0xc0]
mov byte [esp + 0x164], 7
call fcn.100026e7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x8c]
call fcn.1005aa29
test al, al
je 0x1005bc35
lea ecx, [esp + 0x8c]
mov byte [esp + 0x164], bl
call fcn.10002db8
add dword [esp + 0x10], 4
add edi, 0x20
cmp edi, 0xa0
jl 0x1005b983
push 0x20
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005ba7f
mov ecx, eax
call fcn.1005c518
mov ebx, eax
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xe8], 1
mov byte [esp + 0x164], 0xa
mov edx, dword [esp + 0xc8]
cmp edx, ebp
cmove edx, ebp
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bab3
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bac4
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr edx, 8
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0xcc]
shr ecx, 0x10
cmp edx, ebp
mov byte [esp + 0x10], cl
mov eax, dword [esp + 0x10]
cmove edx, ebp
mov dword [ebx + 0xc], eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bb05
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bb16
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr edx, 8
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0xd0]
shr ecx, 0x10
cmp edx, ebp
mov byte [esp + 0x10], cl
mov eax, dword [esp + 0x10]
cmove edx, ebp
mov dword [ebx + 0x10], eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bb57
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bb68
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr edx, 8
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0xd4]
shr ecx, 0x10
cmp edx, ebp
mov byte [esp + 0x10], cl
mov eax, dword [esp + 0x10]
cmove edx, ebp
mov dword [ebx + 0x14], eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bba9
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bbba
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr edx, 8
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0xd8]
shr ecx, 0x10
cmp edx, ebp
mov byte [esp + 0x10], cl
mov eax, dword [esp + 0x10]
cmove edx, ebp
mov dword [ebx + 0x18], eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bbfb
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005bc0c
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x11], dl
mov byte [esp + 0x10], cl
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x1c], eax
jmp 0x1005c4ef
push str.CSS_ERROR_image_transformation__color_schema___function:_bad_color_value_n
call fcn.10132dab
pop ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x164], bl
call fcn.10002db8
jmp 0x1005c4ef
push str.CSS_ERROR_image_transformation__color_schema___function:_wrong_number_of_arguments___either_1_or_5_n
call fcn.10132dab
jmp 0x1005c4ee
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x40]
mov dword [eax], str.contrast_brightness_gamma
mov dword [eax + 4], 0x19
call fcn.100026b6
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x38]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005bd7d
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005bcae
mov eax, dword [eax - 4]
jmp 0x1005bcb0
mov eax, ebx
cmp eax, 3
jne 0x1005bd73
push 0x18
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005bcce
mov ecx, eax
call fcn.1005241c
mov ebx, eax
mov ecx, dword [esi + 0x18]
xorps xmm1, xmm1
add ecx, 0x10
call fcn.10051414
movapd xmm1, xmm0
movsd xmm0, qword [0x10270d68]
comisd xmm1, xmm0
ja 0x1005bcf7
xorps xmm0, xmm0
comisd xmm0, xmm1
jbe 0x1005bcfb
movapd xmm1, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
xorps xmm1, xmm1
movss dword [ebx + 0xc], xmm0
mov ecx, dword [esi + 0x18]
add ecx, 0x30
call fcn.10051414
movapd xmm1, xmm0
movsd xmm0, qword [0x10270d68]
comisd xmm1, xmm0
ja 0x1005bd34
xorps xmm0, xmm0
comisd xmm0, xmm1
ja 0x1005bd34
movapd xmm0, xmm1
cvtpd2ps xmm0, xmm0
xorps xmm1, xmm1
movss dword [ebx + 0x10], xmm0
mov ecx, dword [esi + 0x18]
add ecx, 0x50
call fcn.10051414
movapd xmm1, xmm0
movsd xmm0, qword [0x10270e28]
comisd xmm1, xmm0
ja 0x1005bd6a
xorps xmm0, xmm0
comisd xmm0, xmm1
ja 0x1005bd6a
movapd xmm0, xmm1
cvtpd2ps xmm0, xmm0
jmp 0x1005bf67
push str.CSS_ERROR_image_transformation__contrast_brightness_gamma___function:_wrong_number_of_arguments___3_n
jmp 0x1005bc5d
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [eax], str.contrast
mov dword [eax + 4], 8
call fcn.100026b6
lea eax, [esp + 0x58]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x58]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005be26
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005bdc0
mov eax, dword [eax - 4]
jmp 0x1005bdc2
mov eax, ebx
cmp eax, 1
jne 0x1005be1c
push 0x18
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005bddc
mov ecx, eax
call fcn.1005241c
mov ebx, eax
mov ecx, dword [esi + 0x18]
xorps xmm1, xmm1
add ecx, 0x10
call fcn.10051414
movsd xmm1, qword [0x10270d68]
movapd xmm2, xmm0
comisd xmm2, xmm1
ja 0x1005be0e
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1005be0a
movaps xmm1, xmm0
jmp 0x1005be0e
movapd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [ebx + 0xc], xmm0
jmp 0x1005c4ef
push str.CSS_ERROR_image_transformation__contrast___function:_wrong_number_of_arguments___1_n
jmp 0x1005bc5d
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x48]
mov dword [eax], str.brightness
mov dword [eax + 4], 0xa
call fcn.100026b6
lea eax, [esp + 0x40]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x40]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005becf
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005be69
mov eax, dword [eax - 4]
jmp 0x1005be6b
mov eax, ebx
cmp eax, 1
jne 0x1005bec5
push 0x18
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005be85
mov ecx, eax
call fcn.1005241c
mov ebx, eax
mov ecx, dword [esi + 0x18]
xorps xmm1, xmm1
add ecx, 0x10
call fcn.10051414
movsd xmm1, qword [0x10270d68]
movapd xmm2, xmm0
comisd xmm2, xmm1
ja 0x1005beb7
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1005beb3
movaps xmm1, xmm0
jmp 0x1005beb7
movapd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [ebx + 0x10], xmm0
jmp 0x1005c4ef
push str.CSS_ERROR_image_transformation__brightness___function:_wrong_number_of_arguments___1_n
jmp 0x1005bc5d
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax], 0x1025df9c
mov dword [eax + 4], 5
call fcn.100026b6
lea eax, [esp + 0x78]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x78]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005bf7b
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005bf15
mov eax, dword [eax - 4]
jmp 0x1005bf17
mov eax, ebx
cmp eax, 1
jne 0x1005bf71
push 0x18
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005bf31
mov ecx, eax
call fcn.1005241c
mov ebx, eax
mov ecx, dword [esi + 0x18]
xorps xmm1, xmm1
add ecx, 0x10
call fcn.10051414
movsd xmm1, qword [0x10270d68]
movapd xmm2, xmm0
comisd xmm2, xmm1
ja 0x1005bf63
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1005bf5f
movaps xmm1, xmm0
jmp 0x1005bf63
movapd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [ebx + 0x14], xmm0
jmp 0x1005c4ef
push str.CSS_ERROR_image_transformation__gamma___function:_wrong_number_of_arguments___1_n
jmp 0x1005bc5d
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [eax], str.colorize
mov dword [eax + 4], 8
call fcn.100026b6
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x48]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005c16b
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005bfc2
mov eax, dword [eax - 4]
jmp 0x1005bfc4
mov eax, ebx
cmp eax, 1
jne 0x1005c15c
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x7c]
add eax, 0x10
mov dword [esp + 0x7c], ebx
xorps xmm0, xmm0
mov dword [esp + 0x80], ebx
push eax
movlpd qword [esp + 0x88], xmm0
call fcn.10002d1e
mov byte [esp + 0x164], 0xb
mov ebp, 0xff000000
cmp dword [esp + 0x7c], 5
mov dword [esp + 0x20], ebp
jne 0x1005c073
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x80]
call fcn.100513f5
mov edx, eax
mov byte [esp + 0x164], 0xc
lea ecx, [esp + 0x12c]
call fcn.1005d4be
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x168], 0xd
call fcn.10002d1e
lea ecx, [esp + 0x12c]
mov byte [esp + 0x164], 0xc
call fcn.10002db8
lea ecx, [esp + 0xc4]
mov byte [esp + 0x164], 0xb
call fcn.100026e7
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x20]
call fcn.1005aa29
test al, al
jne 0x1005c0c5
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x80]
call fcn.10002ac2
mov byte [esp + 0x164], 0xe
mov eax, dword [eax]
add eax, 8
push eax
push str.CSS_ERROR_image_transformation__colorize___function:_bad_color_value:__S_n
call fcn.10132dab
pop ecx
pop ecx
lea ecx, [esp + 0xb4]
call fcn.100026e7
mov edi, ebx
jmp 0x1005c145
push 0x10
call fcn.101dbffe
mov edi, eax
pop ecx
test edi, edi
je 0x1005c0ee
mov dword [edi], vtable.tool::resource.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi], vtable.gool::image_filter_colorize.0
mov dword [edi + 0xc], 0
jmp 0x1005c0f0
mov edi, ebx
mov dword [esp + 0xec], edi
mov byte [esp + 0xf0], 1
mov byte [esp + 0x164], 0xf
mov edx, dword [esp + 0x20]
cmp edx, ebp
cmove edx, ebp
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005c121
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
mov byte [esp + 0x12], dl
shr ecx, 0x18
mov byte [esp + 0x13], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], dl
mov eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x164], bl
call fcn.10002db8
mov ebx, edi
jmp 0x1005c4ef
push str.CSS_ERROR_image_transformation__colorize___function:_wrong_number_of_arguments___1_n
call fcn.10132dab
jmp 0x1005c4ec
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x58]
mov dword [eax], 0x1025e008
mov dword [eax + 4], 3
call fcn.100026b6
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x50]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005c355
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005c1b2
mov eax, dword [eax - 4]
jmp 0x1005c1b4
mov eax, ebx
cmp eax, 1
jne 0x1005c34b
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x64]
add eax, 0x10
mov dword [esp + 0x64], ebx
xorps xmm0, xmm0
mov dword [esp + 0x68], ebx
push eax
movlpd qword [esp + 0x70], xmm0
call fcn.10002d1e
mov byte [esp + 0x164], 0x10
mov ebp, 0xff000000
mov edi, dword [esp + 0x64]
mov dword [esp + 0x24], ebp
cmp edi, 5
jne 0x1005c25d
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x68]
call fcn.100513f5
mov edx, eax
mov byte [esp + 0x164], 0x11
lea ecx, [esp + 0x10c]
call fcn.1005d4be
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x168], 0x12
call fcn.10002d1e
lea ecx, [esp + 0x10c]
mov byte [esp + 0x164], 0x11
call fcn.10002db8
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 0x10
call fcn.100026e7
mov edi, dword [esp + 0x64]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x24]
call fcn.1005aa29
test al, al
je 0x1005c2be
mov edx, dword [esp + 0x24]
cmp edx, ebp
cmove edx, ebp
mov eax, edx
and eax, ebp
cmp eax, ebp
jne 0x1005c288
mov ecx, edx
call fcn.10106a56
mov edx, eax
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x14], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x15], cl
lea ecx, [esp + 0x13c]
push dword [esp + 0x14]
push dword [esp + 0x19]
push edx
call fcn.1010c629
movsd xmm0, qword [esp + 0x13c]
cvtpd2ps xmm0, xmm0
jmp 0x1005c30d
cmp edi, 3
je 0x1005c2fd
cmp edi, 4
je 0x1005c2fd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x68]
call fcn.10002ac2
mov byte [esp + 0x164], 0x13
mov eax, dword [eax]
add eax, 8
push eax
push str.CSS_ERROR_image_transformation__hue___function:_bad_color_value:__S_n
call fcn.10132dab
pop ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.100026e7
mov edi, ebx
jmp 0x1005c342
xorps xmm1, xmm1
lea ecx, [esp + 0x64]
call fcn.10051414
cvtsd2ss xmm0, xmm0
push 0x10
movss dword [esp + 0x30], xmm0
call fcn.101dbffe
mov edi, eax
pop ecx
test edi, edi
je 0x1005c335
mov dword [edi], vtable.tool::resource.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi], vtable.gool::image_filter_hue.0
jmp 0x1005c337
mov edi, ebx
movss xmm0, dword [esp + 0x2c]
movss dword [edi + 0xc], xmm0
lea ecx, [esp + 0x64]
jmp 0x1005c149
push str.CSS_ERROR_image_transformation__hue___function:_wrong_number_of_arguments___1_n
jmp 0x1005c161
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [eax], str.opacity
mov dword [eax + 4], 7
call fcn.100026b6
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x3c]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005c426
mov eax, dword [esi + 0x18]
xor ebx, ebx
test eax, eax
je 0x1005c39c
mov eax, dword [eax - 4]
jmp 0x1005c39e
mov eax, ebx
cmp eax, 1
jne 0x1005c41c
mov eax, dword [esi + 0x18]
lea ecx, [eax + 0x10]
cmp dword [ecx], 4
jne 0x1005c3be
xorps xmm1, xmm1
call fcn.10027e26
movsd qword [esp + 0x2c], xmm0
jmp 0x1005c3da
cmp dword [ecx], 3
jne 0x1005c412
movd xmm0, dword [eax + 0x18]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x10270f00]
movsd qword [esp + 0x2c], xmm0
push 0x10
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005c3fa
mov dword [eax], vtable.tool::resource.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov ebx, eax
mov dword [eax], vtable.gool::image_filter_opacity.0
movsd xmm0, qword [esp + 0x2c]
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x10], ebx
movss dword [ebx + 0xc], xmm0
jmp 0x1005c4d4
push str.CSS_ERROR_image_transformation__opacity___function:_bad_opacity_value_n
jmp 0x1005bc5d
push str.CSS_ERROR_image_transformation__colorize___function:_wrong_number_of_arguments___1_n
jmp 0x1005bc5d
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x4c]
mov dword [eax], str.flip_x
mov dword [eax + 4], 6
call fcn.100026b6
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x44]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005c47b
push 0xc
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005c4d0
mov dword [eax], vtable.tool::resource.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], vtable.gool::image_filter_flip_x.0
jmp 0x1005c4ce
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x54]
mov dword [eax], str.flip_y
mov dword [eax + 4], 6
call fcn.100026b6
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
call fcn.100206ad
lea ecx, [esp + 0x4c]
mov bl, al
call fcn.100026e7
test bl, bl
je 0x1005c4da
push 0xc
call fcn.101dbffe
pop ecx
test eax, eax
je 0x1005c4d0
mov dword [eax], vtable.tool::resource.0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], vtable.gool::image_filter_flip_y.0
mov edi, eax
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x10]
jmp 0x1005c4ef
mov eax, dword [ebp]
add eax, 8
push eax
push str.CSS_ERROR_image_transformation__function__S_is_not_supported_n
call fcn.10132dab
pop ecx
xor ebx, ebx
pop ecx
or dword [esp + 0x164], 0xffffffff
test esi, esi
je 0x1005c502
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret