Function at 0x5442d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d7c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa78]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.user32.dll_ClientToScreen]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.005939c0
mov ebx, dword [sym.imp.user32.dll_GetClientRect]
mov edi, eax
lea eax, [esp + 0x30]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call ebx
lea edx, [esp + 0x30]
mov ecx, edi
push edx
call fcn.0059bcb4
mov eax, dword [esi + 0x64]
mov edi, 0xa000
test edi, eax
je 0x54436e
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
cmp eax, ebp
mov ecx, eax
jl 0x544356
mov ecx, ebp
mov edx, dword [esp + 0x34]
cmp edx, ecx
jle 0x544364
mov dword [esp + 0x14], edx
jmp 0x544394
cmp eax, ebp
jge 0x544394
mov dword [esp + 0x14], eax
jmp 0x544394
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x10]
cmp eax, ebp
mov ecx, eax
jl 0x54437e
mov ecx, ebp
mov edx, dword [esp + 0x30]
cmp edx, ecx
jle 0x54438c
mov dword [esp + 0x10], edx
jmp 0x544394
cmp eax, ebp
jge 0x544394
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
push eax
call dword [sym.imp.user32.dll_ScreenToClient]
test dword [esi + 0x64], edi
mov eax, dword [esp + 0x1c]
jne 0x5443c0
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esi + 0xa78], eax
call ebx
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0059bcb4
test dword [esi + 0x64], edi
je 0x54441e
push 0
lea ecx, [esp + 0x24]
push 0xfffffffffffffffe
push ecx
call dword [sym.imp.user32.dll_InflateRect]
mov eax, dword [esi + 0x64]
test ah, 0x82
je 0x54440d
mov edx, dword [esp + 0x14]
lea eax, [edx + 3]
mov dword [esp + 0x24], eax
add eax, 3
mov dword [esp + 0x2c], eax
jmp 0x544451
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
add eax, 0xfffffffd
mov dword [esp + 0x24], eax
jmp 0x544451
push 0xfffffffffffffffe
lea eax, [esp + 0x24]
push 0
push eax
call dword [sym.imp.user32.dll_InflateRect]
mov eax, dword [esi + 0x64]
test ah, 0x14
mov eax, dword [esp + 0x10]
je 0x544446
mov dword [esp + 0x20], eax
add eax, 3
mov dword [esp + 0x28], eax
jmp 0x544451
mov dword [esp + 0x28], eax
add eax, 0xfffffffd
mov dword [esp + 0x20], eax
push 0
lea ecx, [esp + 0x44]
call fcn.0059be0a
lea edi, [esi + 0xa64]
mov dword [esp + 0x5c], 0
push edi
call dword [sym.imp.user32.dll_IsRectEmpty]
test eax, eax
jne 0x544482
lea ecx, [esp + 0x40]
push edi
push ecx
mov ecx, esi
call fcn.00544770
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, edi
push edi
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.00544770
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0059be7c
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret