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

Disassembly:
sub esp, 0x90
mov eax, dword [0x102cf440]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xb0]
push esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
call fcn.1016d050
add esp, 4
test ebp, ebp
je 0x101686e0
push ebp
call fcn.1016d050
push edi
call fcn.1016d050
mov edx, dword [ebp + 0x60]
add esp, 8
mov eax, dword [esi + 0x60]
mov ebx, dword [esi + 0x64]
mov dword [esp + 0x7c], eax
test edx, 0x2000
jne 0x101686f3
mov eax, dword [edi + 0x64]
mov ecx, dword [ebp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x84], eax
mov eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x14], ecx
cmp ecx, 0x20028888
je 0x10168665
cmp dword [esp + 0x14], 0x20038888
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jne 0x10168717
cmp dword [esi], 0
jne 0x10168717
mov eax, dword [esi + 0x78]
cmp eax, dword [ebp + 0x78]
jne 0x10168717
mov eax, dword [esi + 0x34]
cmp eax, dword [ebp + 0x34]
jne 0x10168717
and edx, dword [esi + 0x60]
test dl, 1
je 0x10168717
mov eax, dword [esp + 0xb4]
cmp eax, dword [esp + 0xbc]
jne 0x10168717
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jne 0x10168717
cmp ebx, 0x20030888
jne 0x101686c9
mov dword [esp + 0x10], 0x20000
mov ebx, 0x20000
jmp 0x10168717
cmp ebx, 0x20020888
jne 0x10168717
mov dword [esp + 0x10], 0x30000
mov ebx, 0x30000
jmp 0x10168717
push edi
call fcn.1016d050
mov eax, dword [esi + 0x60]
add esp, 4
mov ebx, dword [esi + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x64]
mov dword [esp + 0x10], 0
mov dword [esp + 0x80], 0x2002
mov dword [esp + 0x18], eax
lea eax, [esp + 0x88]
push eax
call sym.project.dll_pixman_region32_init
push dword [esp + 0xd4]
lea eax, [esp + 0x90]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push edi
push ebp
push esi
push eax
call fcn.10167930
add esp, 0x34
test eax, eax
je 0x10168a2c
lea eax, [esp + 0x88]
push eax
call sym.project.dll_pixman_region32_extents
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0xb8]
movd ecx, xmm0
movups xmmword [esp + 0x2c], xmm0
sub ecx, dword [esp + 0xc8]
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0xcc]
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
add eax, dword [esp + 0xbc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x30]
push eax
push esi
call fcn.10167b20
add esp, 0x10
test eax, eax
je 0x10168a2c
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0xbc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0xc0]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.10167b20
add esp, 0xc
test eax, eax
je 0x10168a2c
mov edx, dword [esp + 0x7c]
mov eax, edx
and eax, 0x800880
cmp eax, 0x800880
je 0x10168892
mov eax, edx
and eax, 0x1080080
cmp eax, 0x1080080
jne 0x1016889c
or edx, 0x2000
mov dword [esp + 0x7c], edx
mov edi, dword [esp + 0x80]
mov eax, edi
and eax, 0x800880
cmp eax, 0x800880
je 0x101688bf
mov eax, edi
and eax, 0x1080080
cmp eax, 0x1080080
jne 0x101688cc
or edi, 0x2000
mov dword [esp + 0x80], edi
mov ecx, edi
mov eax, edx
sar ecx, 1
sar eax, 1
and ecx, eax
mov eax, dword [esp + 0x84]
and ecx, 0x1000
and eax, 0x2000
or ecx, eax
mov eax, dword [esp + 0xa4]
shr ecx, 0xc
movzx ecx, byte [ecx + eax*4 + 0x1027bbf0]
mov eax, dword [0x102eb640]
mov dword [esp + 0x4c], ecx
test eax, eax
jne 0x10168922
call fcn.10176380
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
mov dword [0x102eb640], eax
lea esi, [esp + 0x48]
push esi
lea esi, [esp + 0x48]
push esi
push dword [esp + 0x8c]
push dword [esp + 0x24]
push edi
push dword [esp + 0x24]
push edx
push ebx
push ecx
push eax
call fcn.10176710
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x7c], esi
push eax
mov dword [esp + 0x84], ebp
call sym.project.dll_pixman_region32_rectangles
mov ecx, dword [esp + 0x4c]
add esp, 0x30
test ecx, ecx
je 0x10168a27
mov edi, dword [esp + 0xc0]
lea esi, [eax + 4]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb8]
nop dword [eax + eax]
mov eax, dword [esp + 0xb4]
dec ecx
sub eax, dword [esp + 0xc4]
mov dword [esp + 0x1c], ecx
add eax, dword [esi - 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
sub eax, dword [esp + 0xc8]
add eax, ebp
mov dword [esp + 0x60], eax
mov eax, dword [esi - 4]
sub eax, dword [esp + 0xc4]
add eax, ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi]
sub eax, dword [esp + 0xc8]
add eax, edi
mov dword [esp + 0x68], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 4]
sub eax, dword [esi - 4]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x48]
call dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
lea esi, [esi + 0x10]
add esp, 8
test ecx, ecx
jne 0x101689a0
dec ecx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x88]
push eax
call sym.project.dll_pixman_region32_fini
mov ecx, dword [esp + 0xa0]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101eafcd
add esp, 0x90
ret