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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x54], eax
mov edx, dword [ebp + 8]
mov eax, ecx
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 4]
test eax, eax
jne 0x101722b1
xor edi, edi
jmp 0x101722b4
mov edi, dword [eax + 0x5c]
cmp dword [edi + 0xcc], 0
je 0x101724e6
cmp dword [edi + 0xd0], 0
je 0x101724e6
test eax, eax
je 0x101722d5
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + 0xcc]
mov esi, dword [sym.imp.USER32.dll_UnionRect]
test ecx, ecx
je 0x10172302
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x10172302
add eax, 4
push eax
lea eax, [ecx + 4]
push eax
lea eax, [esp + 0x38]
push eax
call esi
mov edx, dword [esp + 0x1c]
cmp dword [edi + 0xc0], 1
jne 0x1017232b
movups xmm0, xmmword [esp + 0x30]
mov eax, 1
movups xmmword [edx], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x7c]
mov ecx, dword [edi + 0x78]
mov eax, dword [eax - 4]
add eax, 4
push eax
mov eax, dword [ecx]
add eax, 4
push eax
lea eax, [esp + 0x54]
push eax
call esi
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [edi + 0x94]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], esi
movups xmm0, xmmword [eax + 0x60]
mov eax, dword [edi + 0x90]
movups xmmword [esp + 0x20], xmm0
cmp eax, ecx
je 0x101723e7
nop dword [eax]
mov edx, dword [eax]
mov esi, dword [edi + 0xd8]
cmp esi, dword [edx + 0x10]
mov esi, dword [esp + 0x10]
jle 0x1017238f
add eax, 4
inc esi
mov dword [esp + 0x10], esi
cmp eax, ecx
jne 0x10172370
jmp 0x101723e3
mov edx, dword [edi + 0xc8]
sub esi, edx
cmp dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
cmovge edx, esi
mov dword [esp + 0x14], edx
mov edx, ecx
sub edx, dword [edi + 0x90]
mov esi, dword [esp + 0x14]
sar edx, 2
cmp edx, esi
jbe 0x101724fb
mov edx, dword [edi + 0x90]
mov edx, dword [edx + esi*4]
mov esi, dword [edx + 8]
mov edx, esi
sub edx, dword [esp + 0x34]
add edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
cmp esi, dword [esp + 0x2c]
jl 0x101723f5
cmp eax, ecx
jne 0x10172403
sub edx, dword [esp + 0x3c]
add edx, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x84]
xor esi, esi
mov ecx, dword [edi + 0x88]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], esi
cmp eax, ecx
je 0x10172441
nop dword [eax]
mov edx, dword [eax]
mov esi, dword [edi + 0xd4]
cmp esi, dword [edx + 0xc]
mov esi, dword [esp + 0x14]
jle 0x1017248b
add eax, 4
inc esi
mov dword [esp + 0x14], esi
cmp eax, ecx
jne 0x10172420
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x54]
cmp esi, dword [esp + 0x28]
jl 0x10172453
cmp eax, ecx
jne 0x1017245f
sub edx, edi
mov dword [esp + 0x28], esi
add edx, esi
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [eax + 0x60], xmm0
mov eax, dword [esp + 0x1c]
movups xmmword [eax], xmm0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi + 0xc4]
sub esi, edx
cmp dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
cmovge edx, esi
mov dword [esp + 0x10], edx
mov edx, ecx
sub edx, dword [edi + 0x84]
mov esi, dword [esp + 0x10]
sar edx, 2
cmp edx, esi
jbe 0x101724fb
mov edx, dword [edi + 0x84]
mov edi, dword [esp + 0x38]
mov edx, dword [edx + esi*4]
mov esi, dword [edx + 4]
mov edx, esi
sub edx, dword [esp + 0x30]
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x30]
jmp 0x10172445
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
call fcn.10014370
int3