Function at 0x537073
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push edi
mov edi, ecx
push dword [edi + 0x14]
mov dword [esp + 0x18], edi
call esi
test eax, eax
je 0x5373aa
mov eax, dword [ebp + 8]
push dword [eax]
call esi
test eax, eax
je 0x5373aa
and dword [esp + 0x10], 0
lea esi, [edi + 0x2c]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x2c], esi
sar eax, 2
test eax, eax
jbe 0x5372d0
jmp 0x5370cb
mov esi, eax
mov edi, dword [esp + 0x10]
call fcn.004750c1
mov edi, dword [eax]
mov eax, dword [edi + 0x84]
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x14]
push eax
push dword [ebp + 8]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x30], eax
call fcn.00525bd3
push dword [esp + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
je 0x5372b1
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [esi + 8]
lea ebx, [esi + 4]
push dword [ebx]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push ebx
lea eax, [esp + 0x38]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [edi + 0x128]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
push dword [esi + 8]
lea eax, [esp + 0x1c]
push dword [ebx]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push ebx
lea eax, [esp + 0x1c]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esp + 0x9c]
push dword [eax + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.00407b16
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x2c
mov dword [esp + 0x74], 0x10
mov dword [esp + 0x94], edi
push ecx
mov dword [esp + 0x88], eax
je 0x53720c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
xor eax, eax
push eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
push 0x432
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5372a5
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
xor eax, eax
push eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
mov ebx, 0x432
push ebx
push dword [eax]
call edi
mov eax, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
mov dword [esp + 0x54], 0x2c
mov dword [esp + 0x58], 0x10
mov dword [esp + 0x78], 0x5fccd4
call edi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00407b6b
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
inc dword [esp + 0x10]
sar ecx, 2
cmp dword [esp + 0x10], ecx
jb 0x5370c9
mov edi, dword [esp + 0x14]
push dword [edi + 0x114]
mov ebx, dword [edi + 0x14]
push dword [ebp + 8]
call fcn.00525bd3
mov eax, dword [edi]
push 0xfffffffffffffffd
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x5373aa
lea eax, [edi + 0x90]
test eax, eax
je 0x537304
lea esi, [edi + 0x94]
jmp 0x537306
xor esi, esi
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
push dword [edi + 8]
lea esi, [edi + 4]
push dword [esi]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
lea eax, [esp + 0x1c]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x5373aa
mov eax, dword [edi + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x114]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push 0x432
push dword [eax]
mov dword [esp + 0x54], 0x2c
mov dword [esp + 0x58], 0x10
mov dword [esp + 0x78], 0x5fcce0
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4