Function at 0x1008bf60
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013b038
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push 0
push eax
call edi
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x1008c05e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x1008c05e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x1008c05e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.1009c640
add esp, 4
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x4c], xmm0
call edi
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x1008c05e
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.1008a6d0
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1008c15a
mov eax, dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1008c0bc
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x58]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
sub esp, 8
mov eax, dword [ecx]
movsd xmm1, qword [eax + 0x10]
cvtpd2ps xmm1, xmm1
movlpd qword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
movss dword [esp + 4], xmm1
movss dword [esp], xmm1
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov edi, dword [esi + 0xc]
mov edi, dword [edi + 0xc]
xorps xmm0, xmm0
mov al, byte [esi + 0x4d]
movlpd qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x28], al
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x1c], al
test edi, edi
je 0x1008c0f6
cmp al, 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x1008c0ea
test ecx, ecx
je 0x1008c0f6
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1008c0f6
test ecx, ecx
je 0x1008c0f6
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x10]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1008c111
push dword [eax + 0xc]
call fcn.1009b320
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x1008c11e
mov ecx, esi
call fcn.1008b6c0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1008c147
cmp byte [ebp - 0x28], 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x1008c13e
test ecx, ecx
je 0x1008c147
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x1008c147
test ecx, ecx
je 0x1008c147
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1008c15a
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10102ce9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4