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

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
push ecx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [edi], eax
lea eax, [edi + 0x88]
push ebp
mov dword [edi + 4], ecx
mov dword [eax], 0
mov dword [edi + 0x8c], eax
call fcn.100db430
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x10106eb8
push ebx
mov ebx, dword [esp + 0x38]
push ebx
push ebp
call fcn.100da9a0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10106eb7
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x94], eax
mov edx, dword [ebp + 0x20]
push esi
mov dword [esp + 0x1c], edx
lea esi, [edx + ebx]
lea eax, [edx + 0xf]
cmp eax, esi
ja 0x10106e87
movzx eax, byte [edx]
lea ebx, [edx + 0xf]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
mov dword [esp + 0x14], ebx
mov dword [edi + 8], ecx
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [edi + 0xc], ecx
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x10], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
mov dword [edi + 0x14], ecx
movzx eax, byte [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 9]
or ecx, eax
mov dword [edi + 0x18], ecx
movzx eax, byte [edx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xb]
or ecx, eax
mov dword [edi + 0x1c], ecx
movzx eax, byte [edx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xd]
or ecx, eax
mov dword [edi + 0x20], ecx
movzx eax, byte [edx + 0xe]
mov ecx, eax
mov dword [esp + 0x18], eax
and ecx, 4
mov dword [edi + 0x24], eax
mov dword [esp + 0x20], ecx
jne 0x10106b14
lea eax, [ebx + 2]
cmp eax, esi
ja 0x10106e87
movzx eax, byte [ebx]
add ebx, 2
shl ax, 8
movsx ecx, ax
mov dword [esp + 0x14], ebx
movzx eax, byte [ebx - 1]
or ecx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x28], ecx
test al, al
jns 0x10106b3c
push edi
push 0x1024f0dc
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.10105640
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10106e8f
mov ebx, dword [esp + 0x14]
add ebx, 3
cmp ebx, esi
ja 0x10106e87
movzx ebp, byte [ebx - 3]
mov edx, ebx
movzx eax, byte [ebx - 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [ebx - 1]
shl ebp, 8
or ebp, eax
jbe 0x10106c4c
lea eax, [ebx + ebp]
cmp eax, esi
ja 0x10106e87
lea edx, [ebx + ebp]
mov dword [esp + 0x14], edx
nop word [eax + eax]
lea eax, [ebx + 4]
cmp eax, edx
ja 0x10106c4c
movzx esi, byte [ebx]
lea edx, [ebx + 2]
mov eax, edx
shl esi, 8
movzx ecx, byte [eax - 1]
or esi, ecx
cmp esi, 4
jb 0x10106c48
cmp esi, ebp
ja 0x10106c48
movzx edx, byte [edx]
lea ebx, [eax - 2]
movzx ecx, byte [eax + 1]
add eax, 2
shl edx, 8
add ebx, esi
or edx, ecx
sub edx, 1
je 0x10106c1a
sub edx, 1
je 0x10106bd5
sub edx, 1
jne 0x10106c3b
lea ecx, [edi + 0x58]
jmp 0x10106c1d
lea ecx, [eax + 0x20]
cmp ecx, ebx
ja 0x10106c3b
movzx ecx, byte [eax + 0xa]
shl cx, 8
movsx edx, cx
movzx ecx, byte [eax + 0xb]
or edx, ecx
mov dword [edi + 0x2c], edx
movzx ecx, byte [eax + 0xc]
shl cx, 8
movsx edx, cx
movzx ecx, byte [eax + 0xd]
or edx, ecx
mov dword [edi + 0x30], edx
movzx ecx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl cx, 8
movsx ecx, cx
or ecx, eax
mov dword [edi + 0x34], ecx
jmp 0x10106c3b
lea ecx, [edi + 0x54]
push ecx
push dword [esp + 0x14]
lea ecx, [esi - 4]
push ecx
push eax
call fcn.10105590
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10106eb6
mov edx, dword [esp + 0x14]
sub ebp, esi
je 0x10106c4c
jmp 0x10106b80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea esi, [edx + 1]
add ecx, dword [esp + 0x3c]
cmp esi, ecx
ja 0x10106e87
movzx ebx, byte [edx]
mov dword [edi + 0x68], ebx
lea eax, [esi + ebx*2]
cmp eax, ecx
ja 0x10106e87
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0
push 4
push ebp
call fcn.100dcea0
add esp, 0x18
mov dword [edi + 0x6c], eax
cmp dword [esp + 0x30], 0
jne 0x10106e8f
xor edx, edx
test ebx, ebx
je 0x10106cbe
nop dword [eax]
movzx eax, byte [esi]
add esi, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [esi - 1]
or ecx, eax
mov eax, dword [edi + 0x6c]
mov dword [eax + edx*4], ecx
inc edx
cmp edx, ebx
jb 0x10106ca0
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 8]
add ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x10106e87
movzx eax, byte [esi]
mov dword [edi + 0x70], eax
movzx eax, byte [esi + 1]
mov dword [edi + 0x74], eax
movzx ecx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
mov edx, dword [esp + 0x18]
mov dword [edi + 0x44], ecx
movzx eax, byte [esi + 4]
movzx ecx, byte [esi + 5]
add esi, 8
shl eax, 8
or ecx, eax
mov dword [edi + 0x38], ecx
movzx ebx, byte [esi - 2]
movzx eax, byte [esi - 1]
mov ecx, dword [esp + 0x34]
shl ebx, 8
or ebx, eax
mov eax, esi
mov dword [edi + 0x78], ebx
sub eax, dword [ecx + 0x20]
add eax, dword [esp + 0x38]
mov dword [edi + 0x7c], eax
mov eax, edx
and eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
mov eax, 0
setne al
add eax, 4
cmp dword [esp + 0x20], 0
lea ecx, [eax + 2]
cmove ecx, eax
mov eax, edx
and eax, 8
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
cmove eax, ecx
mov ecx, edx
and ecx, 0x10
mov dword [esp + 0x28], ecx
lea ecx, [eax + 1]
cmove ecx, eax
and edx, 0x20
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
cmove eax, ecx
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x3c]
imul eax, ebx
add eax, esi
cmp eax, ecx
ja 0x10106e87
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0
push 0x10
push ebp
call fcn.100dcea0
add esp, 0x18
mov dword [edi + 0x80], eax
cmp dword [esp + 0x30], 0
jne 0x10106e8f
test ebx, ebx
je 0x10106e8f
xor ebp, ebp
mov edx, esi
mov eax, esi
nop dword [eax]
mov ebx, dword [edi + 0x80]
add ebx, ebp
cmp dword [esp + 0x38], 0
je 0x10106de0
movzx esi, byte [edx]
lea ecx, [edx + 2]
movzx eax, byte [ecx - 1]
shl esi, 8
or esi, eax
jmp 0x10106de6
movzx esi, byte [esi]
lea ecx, [eax + 1]
cmp dword [esp + 0x20], 0
mov edx, ecx
mov dword [ebx], esi
je 0x10106e08
movzx eax, byte [ecx]
lea edx, [ecx + 2]
shl ax, 8
mov ecx, edx
movsx esi, ax
movzx eax, byte [edx - 1]
or esi, eax
jmp 0x10106e0b
mov esi, dword [edi + 0x28]
cmp dword [esp + 0x24], 0
mov dword [ebx + 4], esi
je 0x10106e1a
lea edx, [ecx + 1]
mov ecx, edx
cmp dword [esp + 0x28], 0
lea esi, [ecx + 1]
je 0x10106e34
movzx edx, byte [ecx]
movzx eax, byte [esi]
lea esi, [ecx + 2]
shl edx, 8
or edx, eax
jmp 0x10106e37
movzx edx, byte [edx]
cmp dword [esp + 0x18], 0
mov dword [ebx + 8], edx
je 0x10106e60
add esi, 3
mov edx, esi
movzx ecx, byte [edx - 3]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov eax, edx
jmp 0x10106e74
add esi, 2
mov edx, esi
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov eax, esi
add ebp, 0x10
mov dword [ebx + 0xc], ecx
sub dword [esp + 0x14], 1
jne 0x10106dc0
jmp 0x10106e8f
mov dword [esp + 0x30], 8
mov ebx, dword [esp + 0x34]
push ebx
call fcn.100daa70
push ebx
call sym.project.dll_cairo_surface_get_type
mov dword [edi + 0x90], eax
add esp, 8
mov eax, dword [esp + 0x30]
mov dword [edi + 0x94], 0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x1c
ret