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

Disassembly:
sub esp, 0x98
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
mov ebx, dword [esp + 0xc4]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, dword [esp + 0xb0]
push edi
mov edi, dword [esp + 0xc8]
push ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
call fcn.10176750
push esi
call fcn.10176750
mov eax, dword [esi + 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x98]
push eax
call sym.project.dll_pixman_region32_init
push dword [esi + 0x74]
mov eax, dword [esp + 0xcc]
push dword [esi + 0x70]
sub eax, dword [esp + 0xd8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xe8]
push eax
push esi
push 0
lea eax, [esp + 0xc4]
push ebp
push eax
call fcn.10171020
add esp, 0x3c
test eax, eax
je 0x1017a368
cmp dword [esp + 0xcc], 0
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x8c], eax
jle 0x1017a368
add edi, 0xc
lea eax, [ebx + 4]
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov ecx, dword [eax + 4]
mov esi, dword [eax - 4]
mov edi, dword [eax]
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx + 0x10]
sub esi, dword [ecx + 8]
add esi, dword [esp + 0xc0]
sub edi, dword [ecx + 0xc]
mov eax, dword [ebp + 0x70]
add edi, dword [esp + 0xc4]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x74]
add eax, edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x50], edi
push eax
call sym.project.dll_pixman_region32_rectangles
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x5c], ebp
test ecx, ecx
je 0x1017a322
lea ebx, [eax + 8]
dec ecx
mov edx, esi
mov dword [esp + 0x14], ecx
cmp dword [ebx - 8], esi
mov esi, edi
mov eax, dword [ebx]
cmovg edx, dword [ebx - 8]
cmp dword [ebx - 4], edi
mov edi, dword [esp + 0x24]
cmovg esi, dword [ebx - 4]
cmp eax, edi
mov dword [esp + 0x44], edx
cmovl edi, eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
cmp eax, edi
cmovl edi, eax
cmp dword [esp + 0x2c], edx
jle 0x1017a30f
cmp edi, esi
jle 0x1017a30f
mov eax, dword [ebp + 0x64]
cmp eax, dword [esp + 0x18]
jne 0x1017a21f
mov ecx, dword [esp + 0x10]
cmp dword [ebp + 0x60], ecx
je 0x1017a27c
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [0x102f56e0]
test eax, eax
jne 0x1017a23d
call fcn.1017fa90
mov dword [0x102f56e0], eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x34]
push ecx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x48]
or ecx, 0x800000
push ecx
mov ecx, dword [esp + 0x54]
push dword [esp + 0x2c]
push dword [ecx + 0x60]
push dword [ecx + 0x64]
push dword [esp + 0xcc]
push eax
call fcn.1017fe20
mov edx, dword [esp + 0x6c]
add esp, 0x28
mov ecx, dword [esp + 0x20]
mov eax, edx
sub eax, dword [esp + 0xc0]
sub edi, esi
add eax, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
mov eax, esi
sub eax, dword [esp + 0xc4]
add eax, dword [esp + 0xbc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [ecx - 4]
sub eax, dword [esp + 0xc0]
add eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
sub eax, dword [ecx]
sub eax, dword [esp + 0xc4]
add eax, esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x88], edi
call dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
add esp, 8
mov esi, dword [esp + 0x48]
add ebx, 0x10
mov edi, dword [esp + 0x4c]
test ecx, ecx
jne 0x1017a1c5
mov edx, dword [esp + 0x1c]
dec ecx
add edx, 0x14
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x20]
add eax, 0xc
mov dword [ecx], edx
sub dword [esp + 0xcc], 1
mov dword [esp + 0x20], eax
jne 0x1017a160
lea eax, [esp + 0x90]
push eax
call sym.project.dll_pixman_region32_fini
mov ecx, dword [esp + 0xa8]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101f469d
add esp, 0x98
ret