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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
cmp ebp, ebx
je 0x4a0e21
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4a0e21
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x4a0e21
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov edx, 0xfffffffc
sub edx, dword [ebp + 0x7b4]
mov eax, 0xfffffffc
sub eax, dword [ebp + 0x7b0]
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.user32.dll_InflateRect]
mov edx, dword [ebp + 0x770]
cmp dword [edx - 0xc], ebx
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, ecx
mov dword [esp + 0x18], ebx
je 0x4a0e0f
cmp dword [ebp + 0x768], 0xffffffff
mov dword [esp + 0x14], ebx
je 0x4a0e17
mov dword [esp + 0x14], 1
mov eax, dword [ebp + 0x5cc]
cmp eax, ebx
jne 0x4a0e3a
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x4a10d3
mov edx, dword [eax]
mov eax, dword [eax + 8]
test byte [eax + 0xc], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
je 0x4a0ec0
cmp dword [esp + 0x18], ebx
je 0x4a0e83
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
mov dword [esp + 0x18], 1
jmp 0x4a1063
cmp edi, ecx
jle 0x4a0e93
mov edx, dword [ebp + 0x760]
mov edi, ecx
lea esi, [esi + edx + 4]
mov eax, dword [esp + 0x40]
sub eax, ecx
add eax, edi
lea edx, [esi + 2]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
add esi, 4
mov edi, ecx
mov dword [esp + 0x18], 1
jmp 0x4a1063
push eax
push 0x6ab524
call fcn.0056ef6f
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x4a10c0
cmp dword [ebx + 0x78], 0
je 0x4a0f06
cmp dword [ebp + 0x7a8], 0
jne 0x4a0f06
mov ecx, ebp
call fcn.00572fa6
test eax, eax
jne 0x4a0f06
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
jmp 0x4a1063
cmp dword [ebx + 0x6c], 0
jne 0x4a0fbf
cmp dword [ebx + 0x70], 0
jne 0x4a0fbf
cmp dword [ebx + 0x74], 0
jne 0x4a0fbf
mov ebx, dword [ebp + 0x75c]
lea ecx, [ebx + edi]
cmp ecx, dword [esp + 0x40]
jle 0x4a0f3d
mov edi, dword [esp + 0x38]
add esi, dword [ebp + 0x760]
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x7c], 0
je 0x4a0f5b
cmp dword [esp + 0x14], 0
jne 0x4a0f5b
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
jmp 0x4a0f95
mov ecx, dword [ebp + 0x760]
push ecx
mov edx, ebx
push edx
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.00413ee0
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edi, ebx
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x64]
cmp ecx, dword [ebp + 0x768]
jne 0x4a1063
cmp dword [eax + 0x7c], 0
jne 0x4a1063
mov dword [esp + 0x14], 0
jmp 0x4a1063
mov ecx, dword [esp + 0x38]
cmp edi, ecx
jle 0x4a0fcf
add esi, dword [ebp + 0x760]
mov edi, ecx
cmp dword [ebx + 0x70], 0
je 0x4a101a
cmp dword [esp + 0x14], 0
je 0x4a101a
mov eax, dword [esp + 0x40]
sub eax, dword [ebp + 0x75c]
mov dword [esp + 0x28], edi
sub eax, ecx
mov ecx, dword [ebp + 0x764]
lea edx, [eax + edi]
sub ecx, 2
lea eax, [ecx + esi]
mov dword [esp + 0x34], eax
sub eax, dword [ebp + 0x760]
mov dword [esp + 0x30], edx
sub eax, esi
mov edi, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], esi
add esi, eax
jmp 0x4a1046
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 0x764]
lea ebx, [edx + esi - 2]
sub eax, ecx
add eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea esi, [esi + edx - 2]
mov edi, ecx
cmp dword [ebx + 0x70], 0
je 0x4a105b
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.user32.dll_InflateRect]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
push ecx
add ebx, 0x30
push ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
jne 0x4a10c0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [ebx], edx
mov edx, dword [esp + 0x54]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [ebx + 0xc], edx
mov edx, dword [eax + 0x2c]
call edx
cmp dword [esp + 0x24], 0
jne 0x4a0e30
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.0056c8bd