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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0xdc], eax
push edi
mov edi, dword [esp + 0xe8]
mov dword [esp + 0xc], 0
mov ecx, dword [edi + 0x120]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x100a0653
push ebp
push 1
push ecx
call fcn.10087730
mov ebp, eax
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100a0200
push eax
push dword [edi + 0x120]
call fcn.100440c0
add esp, 8
pop ebp
pop edi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.101f469d
add esp, 0xe0
ret
mov eax, dword [edi + 0x128]
push ebx
push 0
push dword [edi + 0x120]
mov eax, dword [eax + 4]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100a0625
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x12c]
call fcn.10065f40
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100a0625
push eax
push ebp
push eax
push dword [esp + 0x20]
push dword [edi + 0x12c]
call fcn.100661e0
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x100a0625
mov eax, dword [edi + 0x128]
cmp dword [eax + 8], ebx
je 0x100a0296
lea eax, [esp + 0x60]
push eax
push ebp
call fcn.10087830
mov eax, dword [edi + 0x128]
lea ecx, [esp + 0x68]
push ecx
push dword [edi + 0x120]
mov eax, dword [eax + 8]
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x100a0625
mov eax, dword [edi + 0x128]
cmp dword [eax + 0xc], 0
je 0x100a02c7
push ebp
call fcn.10087890
mov ecx, dword [edi + 0x128]
push eax
push dword [edi + 0x120]
mov eax, dword [ecx + 0xc]
call eax
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100a0625
mov eax, dword [edi + 0x128]
push esi
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100a0303
push dword [edi + 0x120]
call eax
add esp, 4
test eax, eax
je 0x100a0303
push ebp
call fcn.10087880
push ebp
mov dword [esp + 0x18], eax
xor esi, esi
call fcn.10087890
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x100a0328
push ebp
call fcn.10087890
xor ecx, ecx
mov dword [esp + 0x18], 0
add esp, 4
test eax, eax
sete cl
xor edx, edx
test eax, eax
setne dl
mov dword [esp + 0x10], edx
mov esi, edx
test ecx, ecx
je 0x100a0371
mov eax, dword [edi + 0x128]
push 1
push dword [edi + 0x120]
mov eax, dword [eax + 4]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100a0624
push 1
push dword [edi + 0x120]
push eax
push dword [esp + 0x24]
push dword [edi + 0x12c]
call fcn.10066b90
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x100a0624
test esi, esi
je 0x100a03cc
mov eax, dword [edi + 0x128]
push 2
push dword [edi + 0x120]
mov eax, dword [eax + 4]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100a0624
lea eax, [esp + 0x64]
push eax
push dword [edi + 0x120]
call fcn.10043b50
add esp, 8
test eax, eax
jne 0x100a03b4
lea ebx, [eax + 0x64]
jmp 0x100a0624
lea eax, [esp + 0x64]
push eax
push edi
call fcn.1009ff60
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100a0624
cmp dword [esp + 0x14], 0
je 0x100a043e
mov eax, dword [edi + 0x128]
push 2
push dword [edi + 0x120]
mov eax, dword [eax + 4]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100a0624
push ebp
call fcn.10087870
push eax
mov dword [esp + 0x18], eax
call sym.project.dll_cairo_region_num_rectangles
add esp, 8
mov dword [esp + 0x1c], eax
xor esi, esi
test eax, eax
jle 0x100a043e
lea eax, [esp + 0x64]
push eax
push esi
push dword [esp + 0x18]
call sym.project.dll_cairo_region_get_rectangle
lea eax, [esp + 0x70]
push eax
push edi
call fcn.1009ff60
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x100a0624
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x100a0410
mov eax, dword [edi + 0x128]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100a0624
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
push ecx
push dword [edi + 0x120]
call eax
add esp, 0xc
test eax, eax
je 0x100a0624
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x64]
push eax
push dword [edi + 0x120]
call fcn.10043b50
mov ecx, dword [esp + 0x18]
movd xmm0, dword [esp + 0x74]
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + 0x24]
push eax
push ecx
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
push dword [edi + 0x124]
divsd xmm1, xmm0
movd xmm0, dword [esp + 0x84]
movsd qword [esp + 0x44], xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esp + 0x3c], xmm1
call fcn.10046d10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x4c]
push eax
push edi
call sym.project.dll_cairo_surface_get_font_options
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x34]
call fcn.10044110
movsd xmm0, qword [esp + 0x4c]
add esp, 0x14
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
push dword [esp + 0x24]
call sym.project.dll_cairo_surface_set_device_scale
mov eax, dword [esp + 0x7c]
add esp, 4
neg eax
movd xmm0, eax
mov eax, dword [esp + 0x74]
cvtdq2pd xmm0, xmm0
neg eax
mulsd xmm0, qword [esp + 0x38]
movsd qword [esp + 8], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
push dword [esp + 0x24]
call sym.project.dll_cairo_surface_set_device_offset
push dword [esp + 0x28]
push dword [edi + 0x12c]
call fcn.10066190
add esp, 0x1c
test eax, eax
jne 0x100a0606
mov eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x14]
push 1
call sym.project.dll_cairo_image_surface_create
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
cmp dword [esi + 0x14], 0
jne 0x100a0606
push 0
push 0x102348d8
push 1
push esi
call fcn.10043fc0
add esp, 0x10
test eax, eax
jne 0x100a0606
push dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
call fcn.1004de90
push 0
lea eax, [esp + 0x80]
mov dword [esp + 0xa4], 3
push eax
push 2
push esi
call fcn.10043fc0
mov esi, eax
lea eax, [esp + 0x8c]
push eax
call fcn.1004d4e0
add esp, 0x1c
test esi, esi
mov esi, dword [esp + 0x10]
jne 0x100a0606
mov eax, dword [edi + 0x128]
push esi
push dword [edi + 0x120]
mov eax, dword [eax + 0x18]
call eax
add esp, 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100a0617
push eax
call sym.project.dll_cairo_surface_destroy
add esp, 4
test esi, esi
je 0x100a0624
push esi
call sym.project.dll_cairo_surface_destroy
add esp, 4
pop esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100a063c
push eax
push dword [edi + 0x12c]
call fcn.10066100
add esp, 8
push ebp
call sym.project.dll_cairo_surface_destroy
push ebx
push dword [edi + 0x120]
call fcn.100440c0
add esp, 0xc
pop ebx
pop ebp
mov ecx, dword [esp + 0xe0]
pop edi
xor ecx, esp
call fcn.101f469d
add esp, 0xe0
ret