Function at 0x10013530
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 0x101dc8e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x1025f074]
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 0x1001362e
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 0x1001362e
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 0x1001362e
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.1005bd30
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 0x1001362e
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.10011ff0
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1001372a
mov eax, dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1001368c
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x54]
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 0x100136c6
cmp al, 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x100136ba
test ecx, ecx
je 0x100136c6
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100136c6
test ecx, ecx
je 0x100136c6
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 0x100136e1
push dword [eax + 0xc]
call fcn.1005a530
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x100136ee
mov ecx, esi
call fcn.10012d90
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10013717
cmp byte [ebp - 0x28], 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x1001370e
test ecx, ecx
je 0x10013717
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x10013717
test ecx, ecx
je 0x10013717
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 0x1001372a
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.101b3122
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4