Function at 0x534850
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 0x5f5178
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x66a074]
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 0x53494e
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 0x53494e
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 0x53494e
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.005421d0
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 0x53494e
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00532fc0
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x534a4a
mov eax, dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x5349ac
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 0x5349e6
cmp al, 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x5349da
test ecx, ecx
je 0x5349e6
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x5349e6
test ecx, ecx
je 0x5349e6
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 0x534a01
push dword [eax + 0xc]
call fcn.0054a1b0
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x48], 0
je 0x534a0e
mov ecx, esi
call fcn.00533fa0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x534a37
cmp byte [ebp - 0x28], 0xff
mov eax, dword [edi]
mov ecx, dword [eax]
jne 0x534a2e
test ecx, ecx
je 0x534a37
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x534a37
test ecx, ecx
je 0x534a37
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 0x534a4a
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.005b75ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4