Function at 0x424b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f0408
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x10]
lea esi, [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
call fcn.004230d0
mov dword [esp + 0x58], 0
mov eax, dword [eax]
lea edi, [ebx + 0x260]
push eax
mov ecx, edi
call fcn.004c25c4
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424bf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004227e0
mov edx, dword [ebx + 0x280]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x424]
lea esi, [ebx + 0x424]
push eax
mov eax, dword [edx + 4]
push 0
mov ecx, esi
call eax
mov eax, dword [ebx + 0x1cc]
mov dword [esi + 8], eax
mov dword [esi + 0x20], 1
cmp dword [esi + 0x20], 0
jne 0x424c41
mov dword [esi + 8], eax
cmp dword [esi + 0x24], 0
jne 0x424c4a
mov dword [esi + 0xc], eax
cmp dword [esi + 0x28], 0
jne 0x424c53
mov dword [esi + 0x10], eax
cmp dword [esi + 0x2c], 0
jne 0x424c5c
mov dword [esi + 0x14], eax
cmp dword [esi + 0x30], 0
jne 0x424c65
mov dword [esi + 0x18], eax
cmp dword [esi + 0x34], 0
jne 0x424c6e
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x19c]
fstp dword [esp + 0x14]
fild dword [ebx + 0x88c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.004d3f00
fimul dword [ebx + 0x888]
mov dword [esp + 0x14], eax
call fcn.004d3f00
mov ecx, ebx
mov esi, eax
call fcn.004c2556
test eax, 0x400000
mov eax, dword [esp + 0x24]
je 0x424cd3
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
neg eax
sar ecx, 1
sub eax, ecx
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0x44]
jmp 0x424cef
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub eax, ecx
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x204]
test ecx, ecx
push 0x1d
push 0
push 0
je 0x424d1a
mov edx, dword [ecx + 4]
sub edx, dword [esp + 0x34]
mov ecx, dword [ecx]
sub edx, dword [esp + 0x20]
add edx, dword [esp + 0x2c]
add edx, dword [esp + 0x54]
add ecx, eax
push edx
push ecx
jmp 0x424d2c
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x34]
sub edx, dword [esp + 0x20]
add edx, dword [esp + 0x54]
push edx
push eax
push 0
mov ecx, edi
call fcn.004c26ff
mov eax, dword [ebx + 0x280]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x424d64
push 4
mov ecx, edi
call fcn.004c2681
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x2d4]
mov eax, dword [edx + 0x1c]
lea ecx, [ebx + 0x2d4]
push 1
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4