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

Disassembly:
sub esp, 0x64
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
push edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esi
push eax
push ebp
push esi
call fcn.1008ed80
mov edi, dword [esp + 0x98]
and edi, 0xf0000
not edi
and edi, dword [esp + 0x98]
and edi, 0xffffefff
push 0
or edi, 0x100000
push 0x3000
mov dword [esp + 0x48], edi
call sym.project.dll_cairo_recording_surface_create
push eax
mov dword [esp + 0x38], eax
call sym.project.dll_cairo_create
add esi, 0xb8
mov ebx, eax
push esi
call fcn.10051f00
add esp, 0x20
test eax, eax
jne 0x1008e1f8
movups xmm0, xmmword [esi]
lea eax, [esp + 0x40]
push eax
movups xmmword [esp + 0x44], xmm0
push ebx
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
call sym.project.dll_cairo_set_matrix
add esp, 8
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
and eax, 0xffffff
push eax
push ebp
call fcn.100d6c80
add esp, 0x14
test al, al
je 0x1008e3c2
movsd xmm4, qword [0x102c62c8]
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffff
jne 0x1008e24a
call fcn.1004d3b0
jmp 0x1008e2ca
xorps xmm2, xmm2
movsd xmm3, qword [0x102c6248]
xorps xmm0, xmm0
xorps xmm1, xmm1
cmp ecx, dword [esp + 0x24]
jae 0x1008e2a8
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + ecx*4 + 2]
movd xmm0, eax
movzx eax, byte [edx + ecx*4 + 1]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
movzx eax, byte [edx + ecx*4]
cvtdq2pd xmm1, xmm1
movd xmm2, eax
movzx eax, byte [edx + ecx*4 + 3]
cvtdq2pd xmm2, xmm2
movd xmm3, eax
cvtdq2pd xmm3, xmm3
divsd xmm0, xmm4
divsd xmm1, xmm4
divsd xmm2, xmm4
divsd xmm3, xmm4
sub esp, 0x20
movsd qword [esp + 0x18], xmm3
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
call sym.project.dll_cairo_pattern_create_rgba
add esp, 0x20
mov esi, eax
push esi
push ebx
call sym.project.dll_cairo_set_source
push esi
call sym.project.dll_cairo_pattern_destroy
push edi
push dword [esp + 0x28]
push ebp
call fcn.100d7870
add esp, 0x18
test eax, eax
jne 0x1008e393
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.1008d530
add esp, 8
test eax, eax
jne 0x1008e380
mov esi, dword [esp + 0x2c]
push ebx
push esi
call fcn.10055370
push esi
mov edi, eax
call fcn.1005de20
push edi
push ebx
call sym.project.dll_cairo_append_path
push edi
call sym.project.dll_cairo_path_destroy
push ebx
call sym.project.dll_cairo_fill
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
and eax, 0xffffff
push eax
push ebp
call fcn.100d6c80
movsd xmm4, qword [0x102c62c8]
add esp, 0x30
mov edi, dword [esp + 0x30]
test al, al
jne 0x1008e234
push ebx
call sym.project.dll_cairo_destroy
add esp, 4
push 0
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.1004b180
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.101f469d
add esp, 0x64
ret
push ebx
mov esi, 0x64
call sym.project.dll_cairo_destroy
add esp, 4
push dword [esp + 0x1c]
call sym.project.dll_cairo_surface_destroy
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.101f469d
add esp, 0x64
ret
push ebx
call sym.project.dll_cairo_destroy
mov esi, dword [esp + 0x24]
add esp, 4
test esi, esi
je 0x1008e368
push dword [esp + 0x1c]
call sym.project.dll_cairo_surface_destroy
mov ecx, dword [esp + 0x74]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101f469d
add esp, 0x64
ret