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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10227ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x102cf440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x98], 0
mov edi, dword [ecx + 0x20]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xdc], edx
cmp dword [edi + 0x24], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe0], edi
jne 0x10061397
mov eax, dword [esi + 0xc8]
and eax, 0xfffffff7
or eax, 4
mov dword [esi + 0xc8], eax
mov eax, 0x64
jmp 0x10061d6e
mov eax, dword [esi + 0x68]
sar eax, 8
movd xmm2, eax
mov eax, dword [esi + 0x6c]
sar eax, 8
cvtdq2pd xmm2, xmm2
movd xmm3, eax
mov eax, dword [esi + 0x70]
cvtdq2pd xmm3, xmm3
test eax, eax
jle 0x100613c1
dec eax
sar eax, 8
inc eax
jmp 0x100613c8
neg eax
sar eax, 8
neg eax
movd xmm1, eax
mov eax, dword [esi + 0x74]
cvtdq2pd xmm1, xmm1
test eax, eax
jle 0x100613de
dec eax
sar eax, 8
inc eax
jmp 0x100613e5
neg eax
sar eax, 8
neg eax
movd xmm0, eax
subsd xmm1, xmm2
xorps xmm2, xmmword [0x102289b0]
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x9c], 0
cvttsd2si eax, xmm1
subsd xmm0, xmm3
movsd qword [ebp - 0x140], xmm2
xorps xmm3, xmmword [0x102289b0]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi]
and eax, 0xffffff
movsd qword [ebp - 0x110], xmm2
cvttsd2si edx, xmm0
movzx eax, ax
mov dword [ebp - 0xf4], eax
movsd qword [ebp - 0x138], xmm3
mov dword [ebp - 0xb4], edx
movsd qword [ebp - 0x100], xmm3
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ecx + 0x1f0]
push eax
call sym.project.dll_cairo_matrix_transform_point
movsd xmm0, qword [ebp - 0x110]
add esp, 0xc
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x108], xmm0
movsd xmm0, qword [ebp - 0x100]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmmword [0x102bc2d0]
movss dword [ebp - 0x104], xmm0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x12c], 0x3f800000
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x118], 0
movsd xmm0, qword [eax + 0x1c0]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xcc], 0
movss dword [ebp - 0x8c], xmm0
movsd xmm0, qword [eax + 0x1c8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x88], xmm0
movsd xmm0, qword [eax + 0x1d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x84], xmm0
movsd xmm0, qword [eax + 0x1d8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x80], xmm0
movsd xmm0, qword [eax + 0x1e0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x7c], xmm0
movsd xmm0, qword [eax + 0x1e8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x78], xmm0
mov eax, dword [edi + 0x20]
lea edx, [ebp - 0xcc]
push edx
push 0x1022b6fc
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx]
test eax, eax
js 0x100615c0
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
jmp 0x100615c2
xor eax, eax
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0xa8]
cmp ecx, eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x98]
push eax
call fcn.10060f10
add esp, 4
mov ecx, dword [eax]
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 4], 2
mov dword [ebp - 0xac], ecx
test eax, eax
je 0x10061615
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x9c], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x9c]
push edx
push dword [ebp - 0xd8]
lea edx, [ebp - 0x8c]
push edx
push dword [edi + 0x2c]
lea edx, [ebp - 0x130]
push 0xfc
push 0
push edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push ecx
call dword [eax + 0xa0]
mov edi, eax
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10061665
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [ebp - 4], 1
cmp edi, 0x8898500c
jne 0x1006168d
mov eax, dword [esi + 0xc8]
and eax, 0xfffffff7
or eax, 4
mov dword [esi + 0xc8], eax
mov esi, 0x64
jmp 0x10061d41
test edi, edi
jns 0x100616a6
push str.TranslateColorGlyphRun_failed
push edi
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061d41
lea eax, [ebp - 0xd0]
push eax
call fcn.100610f0
add esp, 4
cmp dword [eax], 0
mov ecx, 1
mov byte [ebp - 4], 8
mov dword [ebp - 0x98], ecx
je 0x100616e9
lea eax, [ebp - 0xac]
push eax
call fcn.10061000
add esp, 4
mov byte [ebp - 0x8d], 0
mov ecx, 3
cmp dword [eax], 0
jne 0x100616f0
mov byte [ebp - 0x8d], 1
test cl, 2
je 0x10061721
and ecx, 0xfffffffd
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], 9
test eax, eax
je 0x10061721
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 4], 1
test cl, 1
je 0x10061741
mov eax, dword [ebp - 0xd0]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10061741
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x8d], 0
je 0x1006175f
push str.Instance_failed
push edi
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061d41
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xd
push eax
call fcn.100610f0
add esp, 4
mov esi, dword [eax]
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1006179c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xa8], 0
mov edi, dword [ebp - 0xb4]
lea ecx, [ebp - 0xa8]
mov eax, dword [esi]
push ecx
push 2
push 0x10288494
push edi
push dword [ebp - 0xb0]
push esi
call dword [eax + 0x44]
mov esi, eax
mov ecx, dword [ebp - 0xd0]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x100617d3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
test esi, esi
jns 0x100617ec
push str.CreateBitmap_failed
push esi
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061d2d
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0x57
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x13
push eax
call fcn.10061000
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x1006185a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [ebp - 0xa4], 0
mov eax, dword [esi]
lea edx, [ebp - 0xa4]
push edx
lea edx, [ebp - 0x74]
push edx
push dword [ebp - 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov esi, eax
mov ecx, dword [ebp - 0xd0]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x10061889
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
test esi, esi
jns 0x100618a2
push str.CreateWicBitmapRenderTarget_failed
push esi
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061d19
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x94]
push edx
push 0x1022b70c
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x1a
call dword [ecx]
test eax, eax
jns 0x100618e0
push str.QueryInterface_dc4__failed
push eax
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061d05
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xbc]
push edx
push 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 0x20
movsd xmm3, qword [eax]
movsd xmm2, qword [eax + 8]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
mov eax, dword [ebp - 0x94]
cvtpd2ps xmm3, xmm3
push edx
push eax
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0xa0]
movaps xmm0, xmmword [0x1022b750]
push edx
push 0
movups xmmword [ebp - 0x30], xmm0
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
mov byte [ebp - 4], 0x21
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x94]
sub esp, 8
mov ecx, dword [eax]
mov dword [esp + 4], 0x42c00000
mov dword [esp], 0x42c00000
push eax
call dword [ecx + 0xcc]
movups xmm0, xmmword [ebp - 0x8c]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x48]
push edx
movups xmmword [ebp - 0x48], xmm0
push eax
movss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x34], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x94]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xac]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
js 0x10061bd8
mov edi, dword [ebp - 0xe0]
nop word [eax + eax]
cmp dword [ebp - 0xac], 0
je 0x10061bd2
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x10061c04
mov edx, dword [ebp - 0x98]
mov esi, dword [edx + 0x40]
lea eax, [esi - 1]
cmp eax, 0x7f
ja case.0x10061a54.3
movzx eax, byte [eax + 0x10061d9c]
jmp dword [eax*4 + 0x10061d8c]
mov eax, dword [ebp - 0x94]
push 0
push dword [edi + 0x2c]
mov ecx, dword [eax]
push edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push esi
push eax
call dword [ecx + 0x1bc]
jmp case.0x10061a54.3
push dword [edi + 0x2c]
mov eax, dword [ebp - 0x94]
push dword [ebp - 0xd8]
push 0
push dword [ebp - 0xbc]
mov ecx, dword [eax]
push edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push eax
call dword [ecx + 0x1c0]
mov dword [ebp - 0xc8], 1
jmp case.0x10061a54.3
movzx eax, word [edx + 0x3c]
mov ecx, 0xffff
cmp ax, cx
jne 0x10061afb
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0xc8], 1
jmp 0x10061b89
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0xe4]
push ecx
push eax
mov eax, dword [ebp - 0xb8]
add eax, 0x88
push eax
call sym.project.dll_cairo_font_options_get_custom_palette_color
add esp, 0x18
test eax, eax
mov eax, dword [ebp - 0xa0]
jne 0x10061b79
movsd xmm3, qword [ebp - 0xe4]
lea edx, [ebp - 0x30]
movsd xmm2, qword [ebp - 0xd4]
movsd xmm1, qword [ebp - 0xf0]
movsd xmm0, qword [ebp - 0x18]
cvtpd2ps xmm3, xmm3
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
jmp 0x10061b82
mov edx, dword [ebp - 0x98]
add edx, 0x2c
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
push dword [edi + 0x2c]
mov ecx, dword [ebp - 0x98]
push dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
push dword [ecx + 0x20]
mov edx, dword [eax]
push ecx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push eax
call dword [edx + 0x148]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xac]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jns 0x10061a10
mov edi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
jns 0x10061c19
push str.EndDraw_failed
push eax
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061cdd
push str.GetCurrentRun_failed
push eax
call fcn.10061280
add esp, 8
mov esi, eax
jmp 0x10061cdd
mov esi, dword [ebp - 0xb0]
push edi
push esi
push 0
call sym.project.dll_cairo_image_surface_create
push eax
mov dword [ebp - 0xb0], eax
call sym.project.dll_cairo_image_surface_get_stride
push dword [ebp - 0xb0]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], edi
mov edi, dword [esi]
mov dword [ebp - 0xe0], eax
call sym.project.dll_cairo_image_surface_get_data
mov ecx, dword [ebp - 0xe0]
add esp, 0x14
push eax
mov eax, ecx
imul eax, dword [ebp - 0xb4]
push eax
push ecx
lea eax, [ebp - 0x58]
push eax
push esi
call dword [edi + 0x1c]
mov esi, dword [ebp - 0xb0]
push esi
call sym.project.dll_cairo_surface_mark_dirty
movsd xmm0, qword [ebp - 0x138]
sub esp, 0xc
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x140]
movsd qword [esp], xmm0
push esi
call sym.project.dll_cairo_surface_set_device_offset
xor eax, eax
cmp dword [ebp - 0xc8], eax
cmovne eax, dword [ebp - 0xdc]
push eax
push esi
push dword [ebp - 0xb8]
mov esi, dword [ebp - 0xe8]
push esi
call fcn.1004a6d0
or dword [esi + 0xc8], 0xc
add esp, 0x24
xor esi, esi
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x10061cf1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x10061d05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x10061d19
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x10061d2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x34
test eax, eax
je 0x10061d41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 0x35
test eax, eax
je 0x10061d55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 4], 0x36
test eax, eax
je 0x10061d6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101eafcd
mov esp, ebp
pop ebp
ret