Function at 0x4f2c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51b570
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5675a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004172e6
mov al, byte [eax + 0x3d0]
xor ebx, ebx
cmp al, bl
jne 0x4f2e00
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4f2d7a
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push 1
call dword [eax + 0x64]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0xa8]
push dword [eax + 0x5ac]
mov edx, dword [ecx]
call dword [edx + 0x60]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0xa8]
push dword [eax + 0x5b0]
mov edx, dword [ecx]
call dword [edx + 0x68]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0xa8]
mov edi, dword [eax + 0x5b4]
mov edx, dword [ecx]
add eax, 0x5ac
sub edi, dword [eax]
push edi
call dword [edx + 0x6c]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0xa8]
mov edi, dword [eax + 0x5b8]
sub edi, dword [eax + 0x5b0]
mov edx, dword [ecx]
push edi
call dword [edx + 0x5c]
jmp 0x4f2e00
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4f2e00
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
push dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x6c]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x64]
lea edi, [esi + 8]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x34]
add esi, 0x70
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
mov ebx, esi
call fcn.00423dfa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax + 0xe0]
push 0x531594
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call fcn.0050e9f0
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00410d34
lea eax, [esp + 0x24]
call fcn.004cd825
lea esi, [esp + 0x24]
call fcn.00411edc
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret