Function at 0x4521c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e980a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x677000]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x8025
push 0
push 0x1036
push dword [edi + 0xc8]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call ebx
lea eax, [esp + 0x80]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_GetClientRect]
push str.MSM6069
lea eax, [esp + 0x94]
push eax
call fcn.00471e50
push str.MSM6034
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xc0], 0
call fcn.00471e50
push str.MSM6016
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xc0], 1
call fcn.00471e50
push str.MSM6015
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xc0], 2
call fcn.00471e50
mov byte [esp + 0xb8], 3
push 0xa
xor eax, eax
push str.SCREEN_DPI
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov byte [esp + 0xb8], 4
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x646d88]
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x28], 8
movsd qword [esp + 0x2c], xmm0
jb 0x452337
push dword [esp + 0x14]
call fcn.0049500b
movsd xmm0, qword [esp + 0x30]
add esp, 4
mulsd xmm0, qword [0x646d78]
xor eax, eax
mov word [esp + 0x14], ax
push 0xffffffffffffffff
cvttsd2si eax, xmm0
lea ecx, [edi + 0xa8]
push eax
push 0
push 0x624ff8
push 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
call fcn.004a252b
xor eax, eax
push 0xa
push str.SCREEN_DPI
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov byte [esp + 0xb8], 5
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x646d88]
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x28], 8
movsd qword [esp + 0x2c], xmm0
jb 0x4523ea
push dword [esp + 0x14]
call fcn.0049500b
movsd xmm0, qword [esp + 0x30]
add esp, 4
mulsd xmm0, qword [0x646d90]
xor eax, eax
cmp dword [esp + 0xa4], 8
mov word [esp + 0x14], ax
cvttsd2si eax, xmm0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x98]
cmovae ecx, dword [esp + 0x98]
push 0
push ecx
push 1
lea ecx, [edi + 0xa8]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
call fcn.004a252b
xor eax, eax
push 0xa
push str.SCREEN_DPI
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov byte [esp + 0xb8], 6
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x646d88]
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x28], 8
movsd qword [esp + 0x2c], xmm0
jb 0x4524b0
push dword [esp + 0x14]
call fcn.0049500b
movsd xmm0, qword [esp + 0x30]
add esp, 4
mulsd xmm0, qword [0x646da0]
xor eax, eax
cmp dword [esp + 0x7c], 8
mov word [esp + 0x14], ax
cvttsd2si eax, xmm0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x70]
cmovae ecx, dword [esp + 0x70]
push 0
push ecx
push 2
lea ecx, [edi + 0xa8]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
call fcn.004a252b
xor eax, eax
push 0xa
push str.SCREEN_DPI
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov byte [esp + 0xb8], 7
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x646d88]
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x28], 8
movsd qword [esp + 0x2c], xmm0
jb 0x45256d
push dword [esp + 0x14]
call fcn.0049500b
movsd xmm0, qword [esp + 0x30]
add esp, 4
mulsd xmm0, qword [0x646d98]
xor eax, eax
cmp dword [esp + 0x64], 8
mov word [esp + 0x14], ax
cvttsd2si eax, xmm0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x58]
cmovae ecx, dword [esp + 0x58]
push 0
push ecx
push 3
lea ecx, [edi + 0xa8]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
call fcn.004a252b
xor eax, eax
push 0xa
push str.SCREEN_DPI
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov byte [esp + 0xb8], 8
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x646d88]
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x28], 8
movsd qword [esp + 0x2c], xmm0
jb 0x45262a
push dword [esp + 0x14]
call fcn.0049500b
movsd xmm0, qword [esp + 0x30]
add esp, 4
mulsd xmm0, qword [0x646d98]
xor eax, eax
cmp dword [esp + 0x4c], 8
mov word [esp + 0x14], ax
cvttsd2si eax, xmm0
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x40]
cmovae edx, dword [esp + 0x40]
push 0
push edx
push 4
lea ecx, [edi + 0xa8]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
call fcn.004a252b
push 0
push 0
push 0xb
push dword [edi + 0xc8]
call ebx
push 0
push 1
push 0xb
push dword [edi + 0xc8]
call ebx
cmp dword [esp + 0x4c], 8
jb 0x45269d
push dword [esp + 0x38]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], 8
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x4526c7
push dword [esp + 0x50]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x4526f1
push dword [esp + 0x68]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jb 0x452721
push dword [esp + 0x90]
call fcn.0049500b
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret