Function at 0x49e7e0
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 0x49e871
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x49e871
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x49e871
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 0x49e85f
cmp dword [ebp + 0x768], 0xffffffff
mov dword [esp + 0x14], ebx
je 0x49e867
mov dword [esp + 0x14], 1
mov eax, dword [ebp + 0x5cc]
cmp eax, ebx
jne 0x49e88a
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 0x49eb23
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 0x49e910
cmp dword [esp + 0x18], ebx
je 0x49e8d3
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
mov dword [esp + 0x18], 1
jmp 0x49eab3
cmp edi, ecx
jle 0x49e8e3
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 0x49eab3
push eax
push 0x6a3544
call fcn.005669af
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x49eb10
cmp dword [ebx + 0x78], 0
je 0x49e956
cmp dword [ebp + 0x7a8], 0
jne 0x49e956
mov ecx, ebp
call fcn.0056c72a
test eax, eax
jne 0x49e956
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
jmp 0x49eab3
cmp dword [ebx + 0x6c], 0
jne 0x49ea0f
cmp dword [ebx + 0x70], 0
jne 0x49ea0f
cmp dword [ebx + 0x74], 0
jne 0x49ea0f
mov ebx, dword [ebp + 0x75c]
lea ecx, [ebx + edi]
cmp ecx, dword [esp + 0x40]
jle 0x49e98d
mov edi, dword [esp + 0x38]
add esi, dword [ebp + 0x760]
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x7c], 0
je 0x49e9ab
cmp dword [esp + 0x14], 0
jne 0x49e9ab
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
jmp 0x49e9e5
mov ecx, dword [ebp + 0x760]
push ecx
mov edx, ebx
push edx
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.004136c0
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 0x49eab3
cmp dword [eax + 0x7c], 0
jne 0x49eab3
mov dword [esp + 0x14], 0
jmp 0x49eab3
mov ecx, dword [esp + 0x38]
cmp edi, ecx
jle 0x49ea1f
add esi, dword [ebp + 0x760]
mov edi, ecx
cmp dword [ebx + 0x70], 0
je 0x49ea6a
cmp dword [esp + 0x14], 0
je 0x49ea6a
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 0x49ea96
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 0x49eaab
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 0x49eb10
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 0x49e880
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.00564f58